|
lsst.pipe.drivers
18.1.0-5-g6dbcb01+8
|
Public Member Functions | |
| def | __init__ (self, butler=None, schema=None, refObjLoader=None, reuse=tuple(), kwargs) |
| def | __reduce__ (self) |
| def | batchWallTime (cls, time, parsedCmd, numCpus) |
| Return walltime request for batch job. More... | |
| def | runDataRef (self, patchRefList) |
| Run multiband processing on coadds. More... | |
| def | runDetection (self, cache, patchRef) |
| Run detection on a patch. More... | |
| def | runMergeDetections (self, cache, dataIdList) |
| Run detection merging on a patch. More... | |
| def | runDeblendMerged (self, cache, dataIdList) |
| def | runMeasurements (self, cache, dataId) |
| def | runMergeMeasurements (self, cache, dataIdList) |
| Run measurement merging on a patch. More... | |
| def | runForcedPhot (self, cache, dataId) |
| Run forced photometry on a patch for a single filter. More... | |
| def | writeMetadata (self, dataRef) |
| def | parseAndRun (cls, args, kwargs) |
| def | parseAndSubmit (cls, args=None, kwargs) |
| def | batchWallTime (cls, time, parsedCmd, numCores) |
| def | batchCommand (cls, args) |
| def | logOperation (self, operation, catch=False, trace=True) |
Public Attributes | |
| butler | |
| reuse | |
| measurementInput | |
| deblenderOutput | |
| coaddType | |
Static Public Attributes | |
| ConfigClass = MultiBandDriverConfig | |
| RunnerClass = MultiBandDriverTaskRunner | |
Multi-node driver for multiband processing
Definition at line 98 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.__init__ | ( | self, | |
butler = None, |
|||
schema = None, |
|||
refObjLoader = None, |
|||
reuse = tuple(), |
|||
| kwargs | |||
| ) |
| [in] | butler | the butler can be used to retrieve schema or passed to the refObjLoader constructor in case it is needed. |
| [in] | schema | the schema of the source detection catalog used as input. |
| [in] | refObjLoader | an instance of LoadReferenceObjectsTasks that supplies an external reference catalog. May be None if the butler argument is provided or all steps requiring a reference catalog are disabled. |
Definition at line 104 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.__reduce__ | ( | self | ) |
Pickler
Definition at line 154 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.batchWallTime | ( | cls, | |
| time, | |||
| parsedCmd, | |||
| numCpus | |||
| ) |
Return walltime request for batch job.
| time | Requested time per iteration |
| parsedCmd | Results of argument parsing |
| numCores | Number of cores |
Definition at line 171 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runDataRef | ( | self, | |
| patchRefList | |||
| ) |
Run multiband processing on coadds.
Only the master node runs this method.
No real MPI communication (scatter/gather) takes place: all I/O goes through the disk. We want the intermediate stages on disk, and the component Tasks are implemented around this, so we just follow suit.
| patchRefList | Data references to run measurement |
Definition at line 184 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runDeblendMerged | ( | self, | |
| cache, | |||
| dataIdList | |||
| ) |
Run the deblender on a list of dataId's
Only slave nodes execute this method.
Parameters
----------
cache: Pool cache
Pool cache with butler.
dataIdList: list
Data identifier for patch in each band.
Returns
-------
result: bool
whether the patch requires reprocessing.
Definition at line 355 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runDetection | ( | self, | |
| cache, | |||
| patchRef | |||
| ) |
Run detection on a patch.
Only slave nodes execute this method.
| cache | Pool cache, containing butler |
| patchRef | Patch on which to do detection |
Definition at line 320 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runForcedPhot | ( | self, | |
| cache, | |||
| dataId | |||
| ) |
Run forced photometry on a patch for a single filter.
Only slave nodes execute this method.
| cache | Pool cache, with butler |
| dataId | Data identifier for patch |
Definition at line 454 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runMeasurements | ( | self, | |
| cache, | |||
| dataId | |||
| ) |
Run measurement on a patch for a single filter
Only slave nodes execute this method.
Parameters
----------
cache: Pool cache
Pool cache, with butler
dataId: dataRef
Data identifier for patch
Definition at line 414 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runMergeDetections | ( | self, | |
| cache, | |||
| dataIdList | |||
| ) |
Run detection merging on a patch.
Only slave nodes execute this method.
| cache | Pool cache, containing butler |
| dataIdList | List of data identifiers for the patch in different filters |
Definition at line 337 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.runMergeMeasurements | ( | self, | |
| cache, | |||
| dataIdList | |||
| ) |
Run measurement merging on a patch.
Only slave nodes execute this method.
| cache | Pool cache, containing butler |
| dataIdList | List of data identifiers for the patch in different filters |
Definition at line 435 of file multiBandDriver.py.
| def lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.writeMetadata | ( | self, | |
| dataRef | |||
| ) |
We don't collect any metadata, so skip
Definition at line 472 of file multiBandDriver.py.
| lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.butler |
Definition at line 118 of file multiBandDriver.py.
| lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.coaddType |
Definition at line 150 of file multiBandDriver.py.
|
static |
Definition at line 100 of file multiBandDriver.py.
| lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.deblenderOutput |
Definition at line 125 of file multiBandDriver.py.
| lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.measurementInput |
Definition at line 124 of file multiBandDriver.py.
| lsst.pipe.drivers.multiBandDriver.MultiBandDriverTask.reuse |
Definition at line 119 of file multiBandDriver.py.
|
static |
Definition at line 102 of file multiBandDriver.py.
1.8.13