Closed jradavenport closed 8 years ago
started to scheme this out. need to test it.
also important to consider: how to deal with trimsec and overscan?
Thinking bigger-picture rewrite should have the data become a class, not just a numpy array. It could carry around with it all the parameters we care about seamlessly... for example:
img = pydis.OpenImg("file.fits")
data = img.data
airmass = img.airmass
exptime = img.exptime
wavelength_approx = img.wavelength
# and something like this would be possible and seamless
trim = img.trim
trimsec = img.trimsec
biassec = img.overscan
Charli Sakari's comment via email:
If I want to use an overscan region for the bias instead of having a bias frame, is there a way to deal with that?