Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:DRP S17-1
-
Team:Data Release Production
Description
There is an error in the psf computation of base_SdssShape_psf in meas_base's src/SdssShape.cc in that it does not provide the position of the source, so is just getting the measurement at the position returned by afw's getAveragePosition() in src/detection/Psf.cc for all sources. Please fix.
John Swinbank, could you have a look? I've attached some before and after fix plots and have confirmed that the catalog is now computing the psf shapes at the source position rather than just the image average position for each source:
before:
In [10]: srcBefore["base_SdssShape_psf_xx"]
Out[10]:
array([ 4.35643166, 4.35643166, 4.35643166, ..., 4.35643166, 4.35643166, 4.35643166])
after (for same visit/ccd combo);
In [12]: srcAfter["base_SdssShape_psf_xx"]
Out[12]:
array([ 4.35188276, 4.35838516, 4.37397443, ..., 4.31416827, 4.31451534, 4.31364129])
Jenkins is happy: https://ci.lsst.codes/job/stack-os-matrix/label=centos-7,python=py2/19409/console