lsst.obs.base  20.0.0-10-g3c4dce0+1
Public Member Functions | Static Public Attributes | List of all members
lsst.obs.base.defineVisits._GroupExposuresOneToOneTask Class Reference
Inheritance diagram for lsst.obs.base.defineVisits._GroupExposuresOneToOneTask:
lsst.obs.base.defineVisits.GroupExposuresTask

Public Member Functions

Iterable[VisitDefinitionDatagroup (self, List[DimensionRecord] exposures)
 
Tuple[int, str] getVisitSystem (self)
 

Static Public Attributes

 ConfigClass = _GroupExposuresOneToOneConfig
 
 registry
 

Detailed Description

An exposure grouping algorithm that simply defines one visit for each
exposure, reusing the exposures identifiers for the visit.

Definition at line 481 of file defineVisits.py.

Member Function Documentation

◆ getVisitSystem()

Tuple[int, str] lsst.obs.base.defineVisits._GroupExposuresOneToOneTask.getVisitSystem (   self)
Return identifiers for the 'visit_system' dimension this
algorithm implements.

Returns
-------
id : `int`
    Integer ID for the visit system (given an instrument).
name : `str`
    Unique string identifier for the visit system (given an
    instrument).

Reimplemented from lsst.obs.base.defineVisits.GroupExposuresTask.

Definition at line 498 of file defineVisits.py.

◆ group()

Iterable[VisitDefinitionData] lsst.obs.base.defineVisits._GroupExposuresOneToOneTask.group (   self,
List[DimensionRecord]  exposures 
)
Group the given exposures into visits.

Parameters
----------
exposures : `list` [ `DimensionRecord` ]
    DimensionRecords (for the 'exposure' dimension) describing the
    exposures to group.

Returns
-------
visits : `Iterable` [ `VisitDefinitionData` ]
    Structs identifying the visits and the exposures associated with
    them.  This may be an iterator or a container.

Reimplemented from lsst.obs.base.defineVisits.GroupExposuresTask.

Definition at line 488 of file defineVisits.py.

Member Data Documentation

◆ ConfigClass

lsst.obs.base.defineVisits._GroupExposuresOneToOneTask.ConfigClass = _GroupExposuresOneToOneConfig
static

Definition at line 486 of file defineVisits.py.

◆ registry

lsst.obs.base.defineVisits.GroupExposuresTask.registry
staticinherited
Initial value:
= makeRegistry(
doc="Registry of algorithms for grouping exposures into visits.",
configBaseType=GroupExposuresConfig,
)

Definition at line 127 of file defineVisits.py.


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