-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add maxMeanOffsetArcsec config to impose WCS fail
It is desirable to have a threshold above which even a converged WCS fit will be deemed a failure, resulting in the WCS attached to the exposure being set to None and all coord_ra and coord_dec entries set to np.nan in the catalogs. Downstream processing can then appropriately decide whether this exposure is suitable for further consideration (e.g. it will be skipped in the coaddition process). The specific value for this threshold will depend on the data and processing workflow. For example, if the single frame measurement is the final WCS to be associated with an exposure before moving on to the coaddition stage, one might want to be fairly strict with this threshold so as not to allow exposures with "converged" but "bad" WCS fits making there way into a coadd. A rough upper bound for inputs to coadds of about half a pixel has been suggested in this case. On the other hand, if the workflow includes an external (and global) astrometric fitting step (e.g. jointcal) , then it may be possible to loosen this constraint in the hopes of allowing the external calibration to recover a good WCS fit for a "bad" initial fit from single frame processing. Since the main Rubin/LSST processing workflow will indeed include an external/global calibration step, we set the default here to match the maximum possible "badness" of the SFM WCS that it could conceivably recover from, which is currently on the order of 1 arcsec.
- Loading branch information
Showing
1 changed file
with
61 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters