DonutBlitzFamTask#

class lsst.ts.wep.blitz.DonutBlitzFamTask(**kwargs)#

Bases: PipelineTask

Full-array-mode WEP task: one intra/extra exposure pair, 189 detectors.

One quantum per group. runQuantum resolves deferred handles, works out which exposure is which side of focus, restricts to the science array, and forks a pool of workers – one detector each, both exposures – that do their own butler I/O and their own Danish fits. Results are assembled into the same catalog schema corner mode emits and written against the extra-focal visit.

Parameters:

kwargs (Any)

Methods Summary

runQuantum(butlerQC, inputRefs, outputRefs)

Resolve this group's handles, fork the detector pool, and write.

Methods Documentation

runQuantum(butlerQC, inputRefs, outputRefs)#

Resolve this group’s handles, fork the detector pool, and write.

Checks the group is a clean intra/extra pair, assigns each exposure a side of focus, restricts to the science array, resolves deferred input handles without reading pixels, populates the copy-on-write store the workers inherit, forks one worker per detector, then assembles the results into the output catalog and persists it against the extra-focal visit.

Parameters:
  • butlerQC (lsst.pipe.base.QuantumContext) – The quantum context used to resolve input handles and put outputs.

  • inputRefs (lsst.pipe.base.InputQuantizedConnection) – References to this quantum’s input datasets.

  • outputRefs (lsst.pipe.base.OutputQuantizedConnection) – References to this quantum’s output datasets.

Raises:
  • RuntimeError – If the quantum has no data ID, if any detector is missing a required ISR calibration, or if no predicted output ref exists for the extra-focal visit.

  • NoWorkFound – If the group is not a two-exposure pair, or if no science detector is present in both exposures.

Return type:

None