NSLS-II-CSX / profile_collection

BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

[fccd] start document changes to fccd interesection #26

Open ambarb opened 5 years ago

ambarb commented 5 years ago

@cmazzoli and @wen-hu - I see that added fccd_intersection to the start document. That is good info to capture. Can we rename the dictionary to be {'fccd' : {'intersection': [400,400]} }? This would be really helpful for the already implementation of marking the dark images as darks and gain so that we can change get_fastccd_images() to find the most recent dark image: {'fccd': {'image': 'dark' , 'gain':'auto'} } . We can just update() this to the new {fccd: {intersection: [400,400]} }

The only thing I do not know is if this should be in the configuration (descriptors) because if the exposure time matters, then it will be faster to get all of that information out of the database if it is in the same place.....atleast that it what I naively believe. What do you say? Do you want me to confirm if there is a performance gain?

ambarb commented 4 years ago

@danielballan do you guys have a philosophy on what goes where? When do we choose descriptors over start and vice-versa

ambarb commented 3 years ago

For those reading along, the intersection is where the beam hits the ccd when the detector motors are at zero. this is important to keep track of when find Bragg peaks in reciprocal space.