Implement a detector_linearity_range (or similar) to each instrument. The Instrument.compute_aperture_photometry method should check and add this max_counts as another DB field to the aperture measurement. Then, aperture results with values outside the range can be ignored in the photo-polarimetry methods.
Implement a
detector_linearity_range(or similar) to each instrument. TheInstrument.compute_aperture_photometrymethod should check and add thismax_countsas another DB field to the aperture measurement. Then, aperture results with values outside the range can be ignored in the photo-polarimetry methods.