Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:4
-
Epic Link:
-
Sprint:DRP S21b, DRP S22A
-
Team:Data Release Production
-
Urgent?:No
Description
There is currently no getter method to obtain PSF shape from a SourceRecord using the slots field for PSF shapes. While `base_SdssShape` has a way of obtaining from the key, this doesn't generalize to Hsm Psf moments and cannot be configured. This ticket implements a `getPsfShape` method similar to `getShape` that will return the PSF moments as an `lsst.afw.geom.Quadrupole` object.
While I can still construct the PSF shape object from `slot_PsfShape_xx`, `slot_PsfShape_yy` and `slot_PsfShape_xy`, it is cleaner to implement a method in afw that can handle the construction of the `Quadrupole` object.