Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_isr
-
Labels:None
-
Team:Data Release Production
Description
There are a pair of methods Amplifier.get/setHasRawInfo but the latter is apparently no longer called. This means that routines that pull out the data section of an image cannot know whether to call getRawDataBBox or getBBox. Please fix this, so that trimmed Detectors know that they are trimmed.
Note that this means that we cannot assume that detectors are immutable, and makes the back-pointer to the camera a little trickier. I think it'd be OK for the back pointer to point at a camera containing only the Detector in question.
I only see one place that calls setHasRawInfo and that is in obs_decam/decam/makeDecamCameraRepository.py. I don't see any call to getHasRawInfo. afw Amplifier only seems to have an hasRawInfo flag and no-one is looking at it.