Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: jointcal
-
Labels:
-
Story Points:4
-
Epic Link:
-
Sprint:AP S18-6, AP F18-1, AP F18-2, AP F18-3, AP S19-2, AP S19-3
-
Team:Alert Production
Description
Dominique Boutigny's work on selecting reference sources by S/N and magnitude might help improve the refcat that jointcal uses. But Paul Price made a ReferenceSourceSelectorTask that we can configure for this purpose, instead of having code internal to jointcal.
This ticket is to convert Dominique Boutigny's work in the u/fix_outliers branch (specifically this commit: https://github.com/lsst/jointcal/commit/e8393ac2e21117c15458156423445b19f75b503a ) to use ReferenceSourceSelectorTask, add a unittest to demonstrate that it does affect the fit, and update the other tests to reflect any changes in the fit metrics.
Yes, just one sourceSelector for now. I have a ticket for changing that (
DM-12990), but it's rather difficult, because source selection happens while the data is being loaded and before the ccdImages are created. I'm putting it off until it turns out that we actually need it, and/or we've sorted out some of the memory pressure questions of working with tracts that have a lot of visits. Jointcal gets a pretty marked speedup because it only has to read the catalogs and metadata once for both astrometry and photometry. The refcat loading is a tiny fraction of that time, so splitting that was easy.