JointcalRunner

class lsst.jointcal.JointcalRunner(TaskClass, parsedCmd, doReturnResults=False)

Bases: lsst.pipe.base.ButlerInitializedTaskRunner

Subclass of TaskRunner for jointcalTask

jointcalTask.runDataRef() takes a number of arguments, one of which is a list of dataRefs extracted from the command line (whereas most CmdLineTasks’ runDataRef methods take single dataRef, are are called repeatedly). This class transforms the processed arguments generated by the ArgumentParser into the arguments expected by Jointcal.runDataRef().

See pipeBase.TaskRunner for more information.

Methods Summary

__call__(args)
Parameters:
getTargetList(parsedCmd, **kwargs) Return a list of tuples per tract, each containing (dataRefs, kwargs).

Methods Documentation

__call__(args)
Parameters:
args

Arguments for Task.runDataRef()

Returns:
pipe.base.Struct

if self.doReturnResults is False:

  • exitStatus: 0 if the task completed successfully, 1 otherwise.

if self.doReturnResults is True:

  • result: the result of calling jointcal.runDataRef()
  • exitStatus: 0 if the task completed successfully, 1 otherwise.
static getTargetList(parsedCmd, **kwargs)

Return a list of tuples per tract, each containing (dataRefs, kwargs).

Jointcal operates on lists of dataRefs simultaneously.