Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Story Points:2
-
Epic Link:
-
Sprint:Alert Production F16 - 9, Alert Production F16 - 10, Alert Production S17 - 5, Alert Production S17 - 6
-
Team:Alert Production
Description
On a SourceCatalog, I can call cat.getX() or cat.getY() to return an array of pixel coordinates, but neither of these functions appear in dir(cat). This breaks introspection and makes it difficult to know what other such magic functions exist (e.g., I can't tell if there is an equivalent for ra/dec).
I believe this is desired behaviour: https://github.com/lsst/afw/blob/master/python/lsst/afw/table/Catalog.i#L248-L250