|
lsst.meas.algorithms g4ca71c8708+5e2e56f82e
|
Public Member Functions | |
| def | __init__ (self, butler, *args, **kwargs) |
| def | loadSkyCircle (self, ctrCoord, radius, filterName, epoch=None, centroids=False) |
| def | getShards (self, shardIdList) |
Public Attributes | |
| dataset_config | |
| indexer | |
| ref_dataset_name | |
| butler | |
Static Public Attributes | |
| ConfigClass = LoadIndexedReferenceObjectsConfig | |
Load reference objects from an indexed catalog ingested by
IngestIndexReferenceTask.
Parameters
----------
butler : `lsst.daf.persistence.Butler`
Data butler for reading catalogs
Definition at line 42 of file loadIndexedReferenceObjects.py.
| def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.__init__ | ( | self, | |
| butler, | |||
| * | args, | ||
| ** | kwargs | ||
| ) |
Construct a LoadReferenceObjectsTask
Parameters
----------
butler : `lsst.daf.persistence.Butler`
Data butler, for access reference catalogs.
Reimplemented from lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask.
Definition at line 54 of file loadIndexedReferenceObjects.py.
| def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.getShards | ( | self, | |
| shardIdList | |||
| ) |
Get shards by ID.
Parameters
----------
shardIdList : `list` of `int`
A list of integer shard ids.
Returns
-------
catalogs : `list` of `lsst.afw.table.SimpleCatalog`
A list of reference catalogs, one for each entry in shardIdList.
Definition at line 113 of file loadIndexedReferenceObjects.py.
| def lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.loadSkyCircle | ( | self, | |
| ctrCoord, | |||
| radius, | |||
| filterName, | |||
epoch = None, |
|||
centroids = False |
|||
| ) |
Load reference objects that overlap a circular sky region.
Parameters
----------
ctrCoord : `lsst.geom.SpherePoint`
ICRS center of search region.
radius : `lsst.geom.Angle`
Radius of search region.
filterName : `str`
Name of filter. This can be used for flux limit comparisons.
epoch : `astropy.time.Time` or `None`, optional
Epoch to which to correct proper motion and parallax, or `None` to
not apply such corrections.
centroids : `bool`, optional
Add centroid fields to the loaded Schema. ``loadPixelBox`` expects
these fields to exist.
Returns
-------
results : `lsst.pipe.base.Struct`
A Struct containing the following fields:
refCat : `lsst.afw.catalog.SimpleCatalog`
A catalog of reference objects with the standard
schema, as documented in the main doc string for
`LoadReferenceObjects`.
The catalog is guaranteed to be contiguous.
fluxField : `str`
Name of flux field for specified `filterName`.
Notes
-----
Note that subclasses are responsible for performing the proper motion
correction, since this is the lowest-level interface for retrieving
the catalog.
Reimplemented from lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask.
Definition at line 64 of file loadIndexedReferenceObjects.py.
| lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.butler |
Definition at line 61 of file loadIndexedReferenceObjects.py.
|
static |
Definition at line 51 of file loadIndexedReferenceObjects.py.
| lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.dataset_config |
Definition at line 56 of file loadIndexedReferenceObjects.py.
| lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.indexer |
Definition at line 57 of file loadIndexedReferenceObjects.py.
| lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask.ref_dataset_name |
Definition at line 60 of file loadIndexedReferenceObjects.py.