CpMonochromatorScanTask#

class lsst.cp.pipe.CpMonochromatorScanTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Compare EFD monochromator results to fiber spectrograph spectra.

This task provides a complementary measurement to associate with the CpFilterScan. While taking the filter scan exposures used for CpFilterScanTask, the attached fiber spectrograph can be used to measure the spectrum of the light that passes through the monochromator. This task takes those spectra, fits a Gaussian to the peak in each one, and records those fit parameters along with the monochromator setting recorded in the EFD. This information can then be used to correct the CpFilterScan measurements from the nominal wavelength values to those actually observed.

Methods Summary

run(inputExpHandles)

Match EFD results to spectrograph.

Methods Documentation

run(inputExpHandles)#

Match EFD results to spectrograph.

Parameters#

inputExpHandleslist [lsst.daf.butler.DeferredDatasetHandle]

Input list of exposure handles to combine.

Returns#

resultslsst.pipe.base.Struct

The results struct containing:

outputData

Final combined filter scan, with a single table containing the commanded monochromator wavelength, as well as the Gaussian fit to the peak of the fiber spectrograph spectrum (astropy.table.Table).