Open teddyrendahl opened 6 years ago
Ophyd has some confusion with array size dimensions, sadly. I erroneously thought it could be simplified and generalized as width/height/depth, but that was the wrong choice; the upstream code should have been just left as size{0,1,2}
.
Edit: this is still an issue, but I'm not sure it's one we'll be solving here.
areaDetector
IOC simply specifiesArraySize0
,ArraySize1
,ArraySize2
. Ophyd assigns these meaning in terms ofwidth
,height
anddepth
. For grayscale images theImagePlugin
does the correct thing, but for color images these seem to get reversed. We need to discover if this is an issue with the class or a PCDSareaDetector
conventionhttps://github.com/NSLS-II/ophyd/blob/112c88968e1965803868195818d4ae122b742ee0/ophyd/areadetector/plugins.py#L700