Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-8828: Support proper motions in reference catalogs #6

Merged
merged 1 commit into from
Sep 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,21 @@ def __init__(self, config=None, andConfig=None, **kwargs):
# because astrometry may not be used, in which case it may not be properly configured

@pipeBase.timeMethod
def loadSkyCircle(self, ctrCoord, radius, filterName=None):
def loadSkyCircle(self, ctrCoord, radius, filterName=None, epoch=None):
"""!Load reference objects that overlap a circular sky region

@param[in] ctrCoord center of search region (an afwGeom.Coord)
@param[in] radius radius of search region (an afwGeom.Angle)
@param[in] filterName name of filter, or None for the default filter;
used for flux values in case we have flux limits (which are not yet implemented)
@param[in] epoch Epoch for proper motion and parallax correction
(an astropy.time.Time), or None

No proper motion correction is made, since our astrometry.net catalogs
typically don't support that, and even if they do they format is uncertain.
Users interested in proper motion corrections should use the
lsst.meas.algorithms.LoadIndexedReferenceObjectsTask or they will need to
subclass and define how the proper motion correction is to be done.

@return an lsst.pipe.base.Struct containing:
- refCat a catalog of reference objects with the
Expand Down