lsst.pipe.tasks g540474b770+e2881a99e2
Loading...
Searching...
No Matches
lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask Class Reference
Inheritance diagram for lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask:

Public Member Functions

 runQuantum (self, butlerQC, inputRefs, outputRefs)
 
 run (self, detector, finalVisitSummary)
 
 read_mp_sky_response (self, response)
 

Static Public Attributes

 ConfigClass = MPSkyEphemerisQueryDRPConfig
 

Protected Member Functions

 _mpSkyConeSearch (self, fieldRA, fieldDec, epochMJD, queryRadius, mpSkyURL)
 

Static Protected Attributes

str _DefaultName = "mpSkyEphemerisQueryDRP"
 

Detailed Description

Task to query the MPSky service and retrieve the solar system objects
that are observable within the input visit.

Definition at line 92 of file mpSkyEphemerisQueryDRP.py.

Member Function Documentation

◆ _mpSkyConeSearch()

lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask._mpSkyConeSearch ( self,
fieldRA,
fieldDec,
epochMJD,
queryRadius,
mpSkyURL )
protected
Query MPSky ephemeris service for objects near the expected detector position

Parameters
----------
expCenter : `lsst.geom.SpherePoint`
    Center of search cone
epochMJD : `float`
    Epoch of cone search, (MJD in UTC).
queryRadius : `float`
    Radius of the cone search in degrees.
mpSkyURL : `str`
    URL to query for MPSky.

Returns
-------
mpSkySsObjects : `pandas.DataFrame`
    DataFrame with Solar System Object information and RA/DEC position
    within the visit.

Definition at line 223 of file mpSkyEphemerisQueryDRP.py.

◆ read_mp_sky_response()

lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask.read_mp_sky_response ( self,
response )
Extract ephemerides from an MPSky web request

Parameters
----------
response : `requests.Response`
    MPSky message

Returns
-------
objID : `np.ndarray`
    Designations of nearby objects
ra : `np.ndarray`
    Array of object right ascensions
dec : `np.ndarray`
    Array of object declinations
object_polynomial : `np.ndarray`, (N,M)
    Array of object cartesian position polynomials
observer_polynomial : `np.ndarray`, (N,M)
    Array of observer cartesian position polynomials
t_min : `np.ndarray`
    Lower time bound for polynomials
t_max : `np.ndarray`
    Upper time bound for polynomials

Definition at line 184 of file mpSkyEphemerisQueryDRP.py.

◆ run()

lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask.run ( self,
detector,
finalVisitSummary )
Parse the information on the current visit and retrieve the
observable solar system objects from MPSky.

Parameters
----------
finalVisitSummary : `lsst.afw.table.ExposureCatalog`
    visitInfo including center and time of exposure

Returns
-------
result : `lsst.pipe.base.Struct`
    Results struct with components:

    - ``ssObjects`` : `pandas.DataFrame`
        DataFrame containing Solar System Objects near the detector
        footprint as retrieved by MPSky. The columns are as follows:

        ``Name``
            object name (`str`)
        ``ra``
            RA in decimal degrees (`float`)
        ``dec``
            DEC in decimal degrees (`float`)
        ``obj_X_poly``, ``obj_Y_poly``, ``obj_Z_poly``
            Chebyshev coefficients for object path
        ``obs_X_poly``, ``obs_Y_poly``, ``obs_Z_poly``
            Chebyshev coefficients for observer path
        ``t_min``
            Lower time bound for polynomials
        ``t_max``
            Upper time bound for polynomials

Definition at line 132 of file mpSkyEphemerisQueryDRP.py.

◆ runQuantum()

lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask.runQuantum ( self,
butlerQC,
inputRefs,
outputRefs )
Do butler IO and transform to provide in memory
objects for tasks `~Task.run` method.

Parameters
----------
butlerQC : `QuantumContext`
    A butler which is specialized to operate in the context of a
    `lsst.daf.butler.Quantum`.
inputRefs : `InputQuantizedConnection`
    Datastructure whose attribute names are the names that identify
    connections defined in corresponding `PipelineTaskConnections`
    class. The values of these attributes are the
    `lsst.daf.butler.DatasetRef` objects associated with the defined
    input/prerequisite connections.
outputRefs : `OutputQuantizedConnection`
    Datastructure whose attribute names are the names that identify
    connections defined in corresponding `PipelineTaskConnections`
    class. The values of these attributes are the
    `lsst.daf.butler.DatasetRef` objects associated with the defined
    output connections.

Definition at line 99 of file mpSkyEphemerisQueryDRP.py.

Member Data Documentation

◆ _DefaultName

str lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask._DefaultName = "mpSkyEphemerisQueryDRP"
staticprotected

Definition at line 97 of file mpSkyEphemerisQueryDRP.py.

◆ ConfigClass

lsst.pipe.tasks.mpSkyEphemerisQueryDRP.MPSkyEphemerisQueryDRPTask.ConfigClass = MPSkyEphemerisQueryDRPConfig
static

Definition at line 96 of file mpSkyEphemerisQueryDRP.py.


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