lsst.meas.extensions.astrometryNet
17.0.1-3-gd08d533+10
|
Load reference objects from astrometry.net index files. More...
Public Member Functions | |
def | __init__ (self, config=None, andConfig=None, kwargs) |
Create a LoadAstrometryNetObjectsTask. More... | |
def | loadSkyCircle (self, ctrCoord, radius, filterName=None, epoch=None) |
Load reference objects that overlap a circular sky region. More... | |
Public Attributes | |
andConfig | |
haveIndexFiles | |
multiInds | |
Static Public Attributes | |
ConfigClass = LoadAstrometryNetObjectsConfig | |
Load reference objects from astrometry.net index files.
Load reference objects from astrometry.net index files.
Create a LoadAstrometryNetObjectsTask.
[in] | config | configuration (an instance of self.ConfigClass); if None use self.ConfigClass() |
[in] | andConfig | astrometry.net data config (an instance of AstromNetDataConfig, or None); if None then use andConfig.py in the astrometry_net_data product (which must be setup) |
[in] | kwargs | additional keyword arguments for pipe_base Task.__init__ |
RuntimeError | if andConfig is None and the configuration cannot be found, either because astrometry_net_data is not setup in eups or because the setup version does not include the file "andConfig.py" |
See LoadAstrometryNetObjectsConfig
LoadAstrometryNetObjectsTask is a subtask of AstrometryTask, which is called by PhotoCalTask. See pipe_tasks_photocal_Example.
LoadAstrometryNetObjectsTask does not support any debug variables.
Definition at line 24 of file loadAstrometryNetObjects.py.
def lsst.meas.extensions.astrometryNet.loadAstrometryNetObjects.LoadAstrometryNetObjectsTask.__init__ | ( | self, | |
config = None , |
|||
andConfig = None , |
|||
kwargs | |||
) |
Create a LoadAstrometryNetObjectsTask.
[in] | config | configuration (an instance of self.ConfigClass); if None use self.ConfigClass() |
[in] | andConfig | astrometry.net data config (an instance of AstromNetDataConfig, or None); if None then use andConfig.py in the astrometry_net_data product (which must be setup) |
[in] | kwargs | additional keyword arguments for pipe_base Task.__init__ |
RuntimeError | if andConfig is None and the configuration cannot be found, either because astrometry_net_data is not setup in eups or because the setup version does not include the file "andConfig.py" |
Definition at line 67 of file loadAstrometryNetObjects.py.
def lsst.meas.extensions.astrometryNet.loadAstrometryNetObjects.LoadAstrometryNetObjectsTask.loadSkyCircle | ( | self, | |
ctrCoord, | |||
radius, | |||
filterName = None , |
|||
epoch = None |
|||
) |
Load reference objects that overlap a circular sky region.
[in] | ctrCoord | center of search region (an afwGeom.Coord) |
[in] | radius | radius of search region (an afwGeom.Angle) |
[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) |
[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.
Definition at line 85 of file loadAstrometryNetObjects.py.
lsst.meas.extensions.astrometryNet.loadAstrometryNetObjects.LoadAstrometryNetObjectsTask.andConfig |
Definition at line 80 of file loadAstrometryNetObjects.py.
|
static |
Definition at line 65 of file loadAstrometryNetObjects.py.
lsst.meas.extensions.astrometryNet.loadAstrometryNetObjects.LoadAstrometryNetObjectsTask.haveIndexFiles |
Definition at line 81 of file loadAstrometryNetObjects.py.
lsst.meas.extensions.astrometryNet.loadAstrometryNetObjects.LoadAstrometryNetObjectsTask.multiInds |
Definition at line 183 of file loadAstrometryNetObjects.py.