To help simplify our versioning / provenance model we should combine all the steps after producing a preprocessed image and before subtraction into a single step.
This includes:
Source extraction
PSF extraction
Background calculation
Star vs. galaxy (or other junk) identification using a catalog
Astrometric calibration
Photometric calibration
I suggest we just continue to call this "extraction" but I'm open to other ideas for the name.
The upside is that we simplify things dramatically (see Will's PR on upstreams/downstreams).
The downside is that when we want to only change the astrometric/photometric calibration then we'd have to (a) recalculate stuff like sextractor and (b) have to re-save another source list, psf and background objects, instead of just re-running the crossmatch and saving just the WCS or ZP.
I think this is well worth the simplification.
To help simplify our versioning / provenance model we should combine all the steps after producing a preprocessed image and before subtraction into a single step. This includes:
I suggest we just continue to call this "extraction" but I'm open to other ideas for the name.
The upside is that we simplify things dramatically (see Will's PR on upstreams/downstreams). The downside is that when we want to only change the astrometric/photometric calibration then we'd have to (a) recalculate stuff like sextractor and (b) have to re-save another source list, psf and background objects, instead of just re-running the crossmatch and saving just the WCS or ZP. I think this is well worth the simplification.