Detector Calibration
azcam.testers.detcal
DetCal
Bases: Tester
Detector calibration routines to
- find and set video offsets
- find exposure levels in DN and electrons at specified wavelengths
- find system gains
- read diode flux calibration data
Fluxes are reported as per unbinned pixel even if taken binned.
calibrate()
Take images at each wavelength to get count levels. Use gain data to find offsets and gain. If no wavelengths are specified, only calibrate current wavelength
read_datafile(filename='default')
Read data file and set object as valid.