LSST Applications g0da5cf3356+25b44625d0,g17e5ecfddb+50a5ac4092,g1c76d35bf8+585f0f68a2,g295839609d+8ef6456700,g2e2c1a68ba+cc1f6f037e,g38293774b4+62d12e78cb,g3b44f30a73+2891c76795,g48ccf36440+885b902d19,g4b2f1765b6+0c565e8f25,g5320a0a9f6+bd4bf1dc76,g56364267ca+403c24672b,g56b687f8c9+585f0f68a2,g5c4744a4d9+78cd207961,g5ffd174ac0+bd4bf1dc76,g6075d09f38+3075de592a,g667d525e37+cacede5508,g6f3e93b5a3+da81c812ee,g71f27ac40c+cacede5508,g7212e027e3+eb621d73aa,g774830318a+18d2b9fa6c,g7985c39107+62d12e78cb,g79ca90bc5c+fa2cc03294,g881bdbfe6c+cacede5508,g91fc1fa0cf+82a115f028,g961520b1fb+2534687f64,g96f01af41f+f2060f23b6,g9ca82378b8+cacede5508,g9d27549199+78cd207961,gb065e2a02a+ad48cbcda4,gb1df4690d6+585f0f68a2,gb35d6563ee+62d12e78cb,gbc3249ced9+bd4bf1dc76,gbec6a3398f+bd4bf1dc76,gd01420fc67+bd4bf1dc76,gd59336e7c4+c7bb92e648,gf46e8334de+81c9a61069,gfed783d017+bd4bf1dc76,v25.0.1.rc3
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask Class Reference
Inheritance diagram for lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask:
lsst.meas.algorithms.loadReferenceObjects.ReferenceObjectLoader lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsTask

Public Member Functions

def loadSkyCircle (self, ctrCoord, radius, filterName, epoch=None, centroids=False)
 

Detailed Description

Abstract gen2 base class to load objects from reference catalogs.

Definition at line 1097 of file loadReferenceObjects.py.

Member Function Documentation

◆ loadSkyCircle()

def lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsTask.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 `~lsst.pipe.base.Struct` containing the following fields:

    ``refCat``
        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.
        (`lsst.afw.catalog.SimpleCatalog`)
    ``fluxField``
        Name of flux field for specified `filterName`. (`str`)

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.ReferenceObjectLoader.

Definition at line 1103 of file loadReferenceObjects.py.

1103 def loadSkyCircle(self, ctrCoord, radius, filterName, epoch=None, centroids=False):
1104 """Load reference objects that overlap a circular sky region.
1105
1106 Parameters
1107 ----------
1108 ctrCoord : `lsst.geom.SpherePoint`
1109 ICRS center of search region.
1110 radius : `lsst.geom.Angle`
1111 Radius of search region.
1112 filterName : `str`
1113 Name of filter. This can be used for flux limit comparisons.
1114 epoch : `astropy.time.Time` or `None`, optional
1115 Epoch to which to correct proper motion and parallax, or `None` to
1116 not apply such corrections.
1117 centroids : `bool`, optional
1118 Add centroid fields to the loaded Schema. ``loadPixelBox`` expects
1119 these fields to exist.
1120
1121 Returns
1122 -------
1123 results : `lsst.pipe.base.Struct`
1124 A `~lsst.pipe.base.Struct` containing the following fields:
1125
1126 ``refCat``
1127 A catalog of reference objects with the standard
1128 schema, as documented in the main doc string for
1129 `LoadReferenceObjects`.
1130 The catalog is guaranteed to be contiguous.
1131 (`lsst.afw.catalog.SimpleCatalog`)
1132 ``fluxField``
1133 Name of flux field for specified `filterName`. (`str`)
1134
1135 Notes
1136 -----
1137 Note that subclasses are responsible for performing the proper motion
1138 correction, since this is the lowest-level interface for retrieving
1139 the catalog.
1140 """
1141 return
1142
1143
1144@deprecated(reason="Base class only used for gen2 interface, and will be removed after v25.0. "
1145 "Please use ReferenceObjectLoader directly.",
1146 version="v25.0", category=FutureWarning)
A class representing an angle.
Definition: Angle.h:128
Point in an unspecified spherical coordinate system.
Definition: SpherePoint.h:57

The documentation for this class was generated from the following file: