DaveStrickland / AstroPhotography

Python workflow for processing astrophotography images from either digital cameras and/or amateur telescopes.
GNU General Public License v3.0
20 stars 4 forks source link

ApCalibrate always assumes master dark is not bias subtracted #5

Closed DaveStrickland closed 3 years ago

DaveStrickland commented 3 years ago

ApCalibrate was written assuming the master dark was not bias subtracted, based on the 2020-03 series of iTelescope T05 calibration files. The latest T05 calibration, 2021-02-14, differs from this in having the (huge) bias already subtracted from the master dark files.

This will break the current ApCalibrate. Options:

Should probably also add a sanity check in the code to see that sigma_clipped_median(master_dark) >= sigma_clipped_median(master_bias).