zkbt / mosasaurus

Tools for extracting chromatic lightcurves from MultiObject Spectrograph data.
MIT License
3 stars 1 forks source link

More flexible extraction aperture. #9

Open zkbt opened 7 years ago

zkbt commented 7 years ago

Right now, the extraction aperture has a fixed width and does not move with time. This could be modified in the following ways:

For both of these options, the extraction apertures would like need to move with time. This isn't too bad in that we already effectively fit for a trace polynomial at each exposure; the aperture would just need to recenter on this time-dependent polynomial, instead of one that is fixed in time.

The extraction happens in Aperture.py, and the original definition of the extraction masks happens in Trace.py. (The links point to line numbers that are most relevant.)