lsst.pipe.tasks gd5638573c2+392ae78cd2
Loading...
Searching...
No Matches
lsst.pipe.tasks.script.registerDcrSubfilters.InsertResults Class Reference

Classes

class  InsertedSubfilters

Public Member Functions

 __init__ (self)
 add (self, filterName, subfilter, inserted)
 __str__ (self)

Public Attributes

 filters = defaultdict(self.InsertedSubfilters)

Detailed Description

Represents the results of adding subfilters to a filter band.

Member Function Documentation

◆ __str__()

lsst.pipe.tasks.script.registerDcrSubfilters.InsertResults.__str__ ( self)
Get the results formated for CLI output.

Returns
-------
results : `str`
    The results formatted for CLI output.

◆ add()

lsst.pipe.tasks.script.registerDcrSubfilters.InsertResults.add ( self,
filterName,
subfilter,
inserted )
Add result information about attemping to add a subfilter to a
filter band.

Parameters
----------
filterName : `str`
    The name of the filter band.
subfilter : `int`
    The subfilter id.
inserted : `bool`
    `True` if the subfilter was inserted, or `False` if this is the id
    of a subfilter that already existed.

The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/script/registerDcrSubfilters.py