This is great. Can't wait to download the new version.
I like the fix your physics professor suggested for Q integration fix.
One more thing that has to be fixed is that integration is averaged to
"unit chi", so that if the detector catches only a limited amount of chi
(and depending on the shape the amount of chi will vary as a function of
Q), of if a part of the ring is masked the q integrated data is still
represents complete chi space.
Can't write longer - have to rush down to a beamline.
BTW, when are you coming to Stanford?
cheers
Apurva
--
***********************************************************************
Apurva Mehta
SSRL/SLAC
Stanford University
Bldg. 137, MS 69, 2575 Sand Hill Rd.
Menlo Park, CA 94025-7015
(650) 926 4791, (650) 926 4100 - FAX
***********************************************************************
Currently, when the program does a chi integration, it calculates the
average intensity in each chi range. So, I calculate the sum intensity
for all pixels with chi in some range and divided this by the number
of pixels. If this is not the right thing, can you explain a little
more physically what you think we should be plotting. If this is too
cumbersome to do by email, I can come by and talk this over when I get
to Stanford.
Josh
I am not sure I completely understand what you do currently. It seems
right - at least what we want ADM to do. But just to confirm - look at
the attached image - red and green are two diffraction rings and blue is
the detector. When ADM does a Q/2th integration the relative
intensities of integrated red and green peaks in case A and B should
come out be the same.
Will they be in the way you are integrating now?
(I hope my figure makes sense - otherwise lets talk when you come here.)
cheers
Apurva
--
--
I did check a few things on the newest beta version (217). I haven't
yet tested the macro mode. Either David or I will do it soon. But
other most things work very well. (calibration, calibration with
masking, caking, integration etc.) The only thing I had trouble with
was scrolling in a zoomed cake window - gave me a bunch of errors.
Also, is it possible to add a mask in a cake window (as well as in the
main window)?
thanks
(The program is looking better and better....)
Apurva
--
Dave
David, have you tried the 'Set as Initialization' option? Or the
preferences page?
Apurva, I will work on the integration algorithm soon. I will also fix
the cake scrolling bug.
Right now, you can't add or remove masks with the cake window. The
reason I didn't do this was because it would be particularly difficult
to convert a polygon mask in Q-chi space into a polygon mask in x-y
space to store it. I could have possibly gotten around this by storing
two types of masks, some in Q-chi space and some in x-y space. But I
couldn't think of a way to do this which wouldn't have been very
difficult write. Do you foresee people really wanting this feature.
Because if so, I will think about it some more and see if I can find
an easy way to add it. But otherwise, I would rather not worry about it.
By the way, I don't know if you guys realized this, but when I sent
out the version 2 update, I added area-diffrac...@googlegroups.com
as an email to the CC field and Google has been smart enough to
archive our discussion on the mailing list. You can find it at (http://groups.google.com/group/area-diffraction-machine/browse_thread/thread/82b0e047b51d22ed
). This is nice. In the future, we should keep doing this so that we
can archive our discussion of the program on the mailing list without
having to bother with the web interface or anything obnoxious like that.
Thanks again for the feed back.
Josh
I had noticed the google groups and hope that it is useful to someone
sometime.
Dave
If masking in cake window is cumbersome leave it. The other masking
does the job - it just takes a little longer if one is trying to mask
out a ring.
cheers
Apurva
--