Open tankonst opened 3 years ago
@tankonst thanks for making it clear that this is an issue. see https://github.com/NSLS-II-CSX/csxtools/issues/68 for more discussion. I think we agreed first with DAMA that we would wait until the data handler was fixed for data broker catalogs worked. It does now. The next step is to implement catalogs instead of get_images.
It is probably worth planning on how were are going to do this and also roll in metadata from image concatenation (not associated with the roi functionality in this issue, but with the fccd settings to remove overscan and adjust for framestore versus non-framestore).
I think it is worth doing these first so that we only have to deal with this issue here one more time, instead of two times. Does that make sense, or do you need this functionality for the issue cited here now?
@danielballan @leofang I tag you because I know you also have interests at play.
@ambarb yes, it makes sense. I was just thinking that it probably should be faster for for users to load only part of the image (aka 'area1' in the current notebook) for analysis of different scans in the same experiment. But this is not a top priority. I am closing it then since the issue was discussed in #68 (sorry, I haven't noticed before posting).
@tankonst I don't mind leaving it open. It makes it clear to anyone else new to the repo. The discussion is reference, but hard to trek through.
When roi coordinates are passed to
get_fastccd_images(h, (bgnd8, bgnd2, bgnd1), flat=ff, tag='fccd_image', roi = (0, 0, 50, 50))
the function returns an AttributeError.
AttributeError Traceback (most recent call last)