Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: validate_drp
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:DRP S19-4
-
Team:Data Release Production
Description
Running `matchedVisitMetrics`for DM-17830 was yielding AM1 of 0 for HSC WIDE tracts 9615 and 9697 which have visits numbers in the single digits. AM1 is the median of the RMS of the distances between 2 stars in N visits. Closer inspection revealed that more than half of the RMSs were exactly zero, which is why the median was exactly zero. Michael Wood-Vasey quickly found the problem which was that if a pair appeared in exactly one visit, the stdev([one distance]) was exactly 0 and not NaN.
Require at least 2 distances before computing their stdev.
Michael Wood-Vasey will investigate the potential bias is in the median RMS as a function of N.
This change will increase our reported AMx reported in squash.
BEFORE
https://lsst-web.ncsa.illinois.edu/~yusra/RC_QA/w_2019_06-jointcal-stars-only-internal/validateDrp_bad/matchedVisitMetrics/9697/HSC-G/validate-jointcal_HSC-G_validate_drp.AM1_D_5_arcmin_17.0_21.5_mag.png
AFTER
https://lsst-web.ncsa.illinois.edu/~yusra/RC_QA/w_2019_06-jointcal-stars-only-internal/validateDrp/matchedVisitMetrics/9697/HSC-G/validate-jointcal_HSC-G_validate_drp.AM1_D_5_arcmin_17.0_21.5_mag.png