lsst.fgcmcal  21.0.0+01a9cd7289
Public Member Functions | Static Public Member Functions | List of all members
lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsRunner Class Reference
Inheritance diagram for lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsRunner:

Public Member Functions

def __call__ (self, args)
 
def run (self, parsedCmd)
 

Static Public Member Functions

def getTargetList (parsedCmd)
 

Detailed Description

Subclass of TaskRunner for FgcmBuildStars tasks

fgcmBuildStarsTask.run() and fgcmBuildStarsTableTask.run() take a number of
arguments, one of which is the butler (for persistence and mapper data),
and a list of dataRefs extracted from the command line.  Note that FGCM
runs on a large set of dataRefs, and not on single dataRef/tract/patch.
This class transforms the process arguments generated by the ArgumentParser
into the arguments expected by FgcmBuildStarsTask.run().  This runner does
not use any parallelization.

Definition at line 190 of file fgcmBuildStarsBase.py.

Member Function Documentation

◆ __call__()

def lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsRunner.__call__ (   self,
  args 
)
Parameters
----------
args: `tuple` with (butler, dataRefList)

Returns
-------
exitStatus: `list` with `lsst.pipe.base.Struct`
   exitStatus (0: success; 1: failure)

Definition at line 210 of file fgcmBuildStarsBase.py.

◆ getTargetList()

def lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsRunner.getTargetList (   parsedCmd)
static
Return a list with one element: a tuple with the butler and
list of dataRefs

Definition at line 202 of file fgcmBuildStarsBase.py.

◆ run()

def lsst.fgcmcal.fgcmBuildStarsBase.FgcmBuildStarsRunner.run (   self,
  parsedCmd 
)
Run the task, with no multiprocessing

Parameters
----------
parsedCmd: `lsst.pipe.base.ArgumentParser` parsed command line

Definition at line 242 of file fgcmBuildStarsBase.py.


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