LSST Applications
21.0.0-131-g8cabc107+528f53ee53,22.0.0+00495a2688,22.0.0+0ef2527977,22.0.0+11a2aa21cd,22.0.0+269b7e55e3,22.0.0+2c6b6677a3,22.0.0+64c1bc5aa5,22.0.0+7b3a3f865e,22.0.0+e1b6d2281c,22.0.0+ff3c34362c,22.0.1-1-g1b65d06+c95cbdf3df,22.0.1-1-g7058be7+1cf78af69b,22.0.1-1-g7dab645+2a65e40b06,22.0.1-1-g8760c09+64c1bc5aa5,22.0.1-1-g949febb+64c1bc5aa5,22.0.1-1-ga324b9c+269b7e55e3,22.0.1-1-gf9d8b05+ff3c34362c,22.0.1-10-g781e53d+9b51d1cd24,22.0.1-10-gba590ab+b9624b875d,22.0.1-13-g76f9b8d+2c6b6677a3,22.0.1-14-g22236948+57af756299,22.0.1-18-g3db9cf4b+9b7092c56c,22.0.1-18-gb17765a+2264247a6b,22.0.1-2-g8ef0a89+2c6b6677a3,22.0.1-2-gcb770ba+c99495d3c6,22.0.1-24-g2e899d296+4206820b0d,22.0.1-3-g7aa11f2+2c6b6677a3,22.0.1-3-g8c1d971+f253ffa91f,22.0.1-3-g997b569+ff3b2f8649,22.0.1-4-g1930a60+6871d0c7f6,22.0.1-4-g5b7b756+6b209d634c,22.0.1-6-ga02864e+6871d0c7f6,22.0.1-7-g3402376+a1a2182ac4,22.0.1-7-g65f59fa+54b92689ce,master-gcc5351303a+e1b6d2281c,w.2021.32
LSST Data Management Base Package
|
Public Member Functions | |
def | runQuantum (self, butlerQC, inputRefs, outputRefs) |
def | run (self, inputRatios, inputFluxes=None, camera=None, inputDims=None, outputDims=None) |
def | measureCrosstalkCoefficients (self, ratios, rejIter, rejSigma) |
def | debugRatios (self, stepname, ratios, i, j, coeff=0.0, valid=False) |
Static Public Member Functions | |
def | filterCrosstalkCalib (inCalib) |
Static Public Attributes | |
ConfigClass = CrosstalkSolveConfig | |
Task to solve crosstalk from pixel ratios.
Definition at line 387 of file measureCrosstalk.py.
def lsst.cp.pipe.measureCrosstalk.CrosstalkSolveTask.debugRatios | ( | self, | |
stepname, | |||
ratios, | |||
i, | |||
j, | |||
coeff = 0.0 , |
|||
valid = False |
|||
) |
Utility function to examine the final CT ratio set. Parameters ---------- stepname : `str` State of processing to view. ratios : `dict` of `dict` of `np.ndarray` Array of measured CT ratios, indexed by source/victim amplifier. i : `str` Index of the source amplifier. j : `str` Index of the target amplifier. coeff : `float`, optional Coefficient calculated to plot along with the simple mean. valid : `bool`, optional Validity to be added to the plot title.
Definition at line 657 of file measureCrosstalk.py.
|
static |
Apply valid constraints to the measured values. Any measured coefficient that is determined to be invalid is set to zero, and has the error set to nan. The validation is determined by checking that the measured coefficient is larger than the calculated standard error of the mean. Parameters ---------- inCalib : `lsst.ip.isr.CrosstalkCalib` Input calibration to filter. Returns ------- outCalib : `lsst.ip.isr.CrosstalkCalib` Filtered calibration.
Definition at line 625 of file measureCrosstalk.py.
def lsst.cp.pipe.measureCrosstalk.CrosstalkSolveTask.measureCrosstalkCoefficients | ( | self, | |
ratios, | |||
rejIter, | |||
rejSigma | |||
) |
Measure crosstalk coefficients from the ratios. Given a list of ratios for each target/source amp combination, we measure a sigma clipped mean and error. The coefficient errors returned are the standard deviation of the final set of clipped input ratios. Parameters ---------- ratios : `dict` of `dict` of `numpy.ndarray` Catalog of arrays of ratios. rejIter : `int` Number of rejection iterations. rejSigma : `float` Rejection threshold (sigma). Returns ------- calib : `lsst.ip.isr.CrosstalkCalib` The output crosstalk calibration. Notes ----- The lsstDebug.Info() method can be rewritten for __name__ = `lsst.ip.isr.measureCrosstalk`, and supports the parameters: debug.display['measure'] : `bool` Display the CDF of the combined ratio measurements for a pair of source/target amplifiers from the final set of clipped input ratios.
Definition at line 548 of file measureCrosstalk.py.
def lsst.cp.pipe.measureCrosstalk.CrosstalkSolveTask.run | ( | self, | |
inputRatios, | |||
inputFluxes = None , |
|||
camera = None , |
|||
inputDims = None , |
|||
outputDims = None |
|||
) |
Combine ratios to produce crosstalk coefficients. Parameters ---------- inputRatios : `list` [`dict` [`dict` [`dict` [`dict` [`list`]]]]] A list of nested dictionaries of ratios indexed by target and source chip, then by target and source amplifier. inputFluxes : `list` [`dict` [`dict` [`list`]]] A list of nested dictionaries of source pixel fluxes, indexed by source chip and amplifier. camera : `lsst.afw.cameraGeom.Camera` Input camera. inputDims : `list` [`lsst.daf.butler.DataCoordinate`] DataIds to use to construct provenance. outputDims : `list` [`lsst.daf.butler.DataCoordinate`] DataIds to use to populate the output calibration. Returns ------- results : `lsst.pipe.base.Struct` The results struct containing: ``outputCrosstalk`` : `lsst.ip.isr.CrosstalkCalib` Final crosstalk calibration. ``outputProvenance`` : `lsst.ip.isr.IsrProvenance` Provenance data for the new calibration. Raises ------ RuntimeError Raised if the input data contains multiple target detectors. Notes ----- The lsstDebug.Info() method can be rewritten for __name__ = `lsst.ip.isr.measureCrosstalk`, and supports the parameters: debug.display['reduce'] : `bool` Display a histogram of the combined ratio measurements for a pair of source/target amplifiers from all input exposures/detectors.
Definition at line 415 of file measureCrosstalk.py.
def lsst.cp.pipe.measureCrosstalk.CrosstalkSolveTask.runQuantum | ( | self, | |
butlerQC, | |||
inputRefs, | |||
outputRefs | |||
) |
Ensure that the input and output dimensions are passed along. Parameters ---------- butlerQC : `lsst.daf.butler.butlerQuantumContext.ButlerQuantumContext` Butler to operate on. inputRefs : `lsst.pipe.base.connections.InputQuantizedConnection` Input data refs to load. ouptutRefs : `lsst.pipe.base.connections.OutputQuantizedConnection` Output data refs to persist.
Definition at line 394 of file measureCrosstalk.py.
|
static |
Definition at line 391 of file measureCrosstalk.py.