|
def | applyOverrides (cls, config) |
|
def | batchWallTime (cls, time, parsedCmd, numCores) |
|
def | run (self, expRefList, butler, calibId) |
| Construct a calib from a list of exposure references. More...
|
|
def | getOutputId (self, expRefList, calibId) |
| Generate the data identifier for the output calib. More...
|
|
def | getMjd (self, butler, dataId, timescale=dafBase.DateTime.UTC) |
|
def | getFilter (self, butler, dataId) |
|
def | addMissingKeys (self, dataId, butler, missingKeys=None, calibName=None) |
|
def | updateMetadata (self, calibImage, exposureTime, darkTime=None, kwargs) |
| Update the metadata from the VisitInfo. More...
|
|
def | scatterProcess (self, pool, ccdIdLists) |
| Scatter the processing among the nodes. More...
|
|
def | process (self, cache, ccdId, outputName="postISRCCD") |
| Process a CCD, specified by a data identifier. More...
|
|
def | processSingle (self, dataRef) |
|
def | processWrite (self, dataRef, exposure, outputName="postISRCCD") |
| Write the processed CCD. More...
|
|
def | processResult (self, exposure) |
|
def | scale (self, ccdIdLists, data) |
| Determine scaling across CCDs and exposures. More...
|
|
def | scatterCombine (self, pool, outputId, ccdIdLists, scales) |
| Scatter the combination of exposures across multiple nodes. More...
|
|
def | combine (self, cache, struct, outputId) |
| Combine multiple exposures of a particular CCD and write the output. More...
|
|
def | recordCalibInputs (self, butler, calib, dataIdList, outputId) |
| Record metadata including the inputs and creation details. More...
|
|
def | interpolateNans (self, image) |
|
def | write (self, butler, exposure, dataId) |
| Write the final combined calib. More...
|
|
Bias construction
Definition at line 754 of file constructCalibs.py.
def lsst.pipe.drivers.constructCalibs.CalibTask.process |
( |
|
self, |
|
|
|
cache, |
|
|
|
ccdId, |
|
|
|
outputName = "postISRCCD" |
|
) |
| |
|
inherited |
Process a CCD, specified by a data identifier.
After processing, optionally returns a result (produced by the 'processResult' method) calculated from the processed exposure. These results will be gathered by the master node, and is a means for coordinated scaling of all CCDs for flats, etc.
Only slave nodes execute this method.
- Parameters
-
cache | Process pool cache |
ccdId | Data identifier for CCD |
outputName | Output dataset name for butler |
- Returns
- result from 'processResult'
Definition at line 539 of file constructCalibs.py.
def lsst.pipe.drivers.constructCalibs.CalibTask.scale |
( |
|
self, |
|
|
|
ccdIdLists, |
|
|
|
data |
|
) |
| |
|
inherited |
Determine scaling across CCDs and exposures.
This is necessary mainly for flats, so as to determine a consistent scaling across the entire focal plane. This implementation is simply a placeholder.
Only the master node executes this method.
- Parameters
-
ccdIdLists | Dict of data identifier lists for each CCD tuple |
data | Dict of lists of returned data for each CCD tuple |
- Returns
- dict of Struct(ccdScale: scaling for CCD, expScales: scaling for each exposure ) for each CCD tuple
Definition at line 608 of file constructCalibs.py.
def lsst.pipe.drivers.constructCalibs.CalibTask.scatterCombine |
( |
|
self, |
|
|
|
pool, |
|
|
|
outputId, |
|
|
|
ccdIdLists, |
|
|
|
scales |
|
) |
| |
|
inherited |
Scatter the combination of exposures across multiple nodes.
In this case, we can only scatter across as many nodes as there are CCDs.
Only the master node executes this method.
- Parameters
-
pool | Process pool |
outputId | Output identifier (exposure part only) |
ccdIdLists | Dict of data identifier lists for each CCD name |
scales | Dict of structs with scales, for each CCD name |
Definition at line 627 of file constructCalibs.py.
def lsst.pipe.drivers.constructCalibs.CalibTask.scatterProcess |
( |
|
self, |
|
|
|
pool, |
|
|
|
ccdIdLists |
|
) |
| |
|
inherited |
Scatter the processing among the nodes.
We scatter each CCD independently (exposures aren't grouped together), to make full use of all available processors. This necessitates piecing everything back together in the same format as ccdIdLists afterwards.
Only the master node executes this method.
- Parameters
-
pool | Process pool |
ccdIdLists | Dict of data identifier lists for each CCD name |
- Returns
- Dict of lists of returned data for each CCD name
Definition at line 507 of file constructCalibs.py.