PhotonTransferCurveExtractPairConfig#
- class lsst.cp.pipe.PhotonTransferCurveExtractPairConfig(*args, **kw)#
Bases:
PhotonTransferCurveExtractConfigBaseAttributes Summary
Auxiliary header keys to store with the PTC dataset.
Bin the image by this factor in both dimensions.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Region of each exposure where to perform the calculations (amplifier or full image).
Extract photodiode data? (
bool, defaultFalse)Calculate a gain per input flat pair.
Do the Ks test of gaussianity? If False, kspValue will be filled with all 1.0s.
Output binned images in tabular form? (
bool, defaultFalse)Use vignette function to select PTC region? (
bool, defaultFalse)Mask edge pixels in which coordinate frame: DETECTOR or AMP? (
str, default'DETECTOR')EFD series to use to get photodiode values.
EFD SAL Index to select electrometer.
Correction type for the gain.
Number of sigma (as predicted from the mean value) to compute KS test histogram.
Minimum number of good data values to compute KS test histogram.
Number of bins for the KS test histogram.
Mask list to exclude from statistics calculations.
Header keyword for flux if matchExposuresType is FLUX.
Match input exposures by time, flux, or expId (
str, default'TIME')Maximum range of covariances as in Astier+19 (
int, default10)Minimum number of acceptable good pixels per amp to calculate the covariances (via FFT or direclty).
Number of sigma-clipping iterations for afwMath.StatisticsControl() (
int, default3)Sigma cut for afwMath.StatisticsControl() (
float, default5.5)Number of edge pixels to be flagged as untrustworthy.
Output binned images bin factor.
Scale factor to apply to photodiode current values for the
CHARGE_SUM,TRIMMED_SUM, andMEANintegration methods.Integration method for photodiode monitoring data.
Flag to enable/disable saving of log output for a task, enabled by default.
If the absolute fractional differece between afwMath.VARIANCECLIP and Cov00 for a region of a difference image is greater than this threshold (percentage), a warning will be issued.
Extract photodiode values from EFD? (
bool, defaultFalse)Polynomial terms for radial vignetting function.
Minumum number of pixels to select for vignette function region selection.
Vignetting function variation over the focal plane that is determined to be satisfactory.
Attributes Documentation
- auxiliaryHeaderKeys#
Auxiliary header keys to store with the PTC dataset. (
List, default[])
- binSize#
Bin the image by this factor in both dimensions. (
int, default1)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- detectorMeasurementRegion#
Region of each exposure where to perform the calculations (amplifier or full image). (
str, default'AMP')Allowed values:
'AMP'Amplifier of the detector.
'FULL'Full image.
'None'Field is optional
- doExtractPhotodiodeData#
Extract photodiode data? (
bool, defaultFalse)
- doGain#
Calculate a gain per input flat pair. (
bool, defaultTrue)
- doKsHistMeasurement#
Do the Ks test of gaussianity? If False, kspValue will be filled with all 1.0s. (
bool, defaultFalse)
- doOutputBinnedImages#
Output binned images in tabular form? (
bool, defaultFalse)
- doVignetteFunctionRegionSelection#
Use vignette function to select PTC region? (
bool, defaultFalse)
- edgeMaskLevel#
Mask edge pixels in which coordinate frame: DETECTOR or AMP? (
str, default'DETECTOR')Allowed values:
'DETECTOR'Mask only the edges of the full detector.
'AMP'Mask edges of each amplifier.
'None'Field is optional
- efdPhotodiodeSeries#
EFD series to use to get photodiode values. (
str, default'lsst.sal.Electrometer.logevent_logMessage')
- efdSalIndex#
EFD SAL Index to select electrometer. This is 101 for mainTel, 201 for auxTel. (
int, default201)
- gainCorrectionType#
Correction type for the gain. (
str, default'FULL')Allowed values:
'NONE'No correction.
'SIMPLE'First order correction.
'FULL'Second order correction.
'None'Field is optional
- ksHistLimitMultiplier#
Number of sigma (as predicted from the mean value) to compute KS test histogram. (
float, default8.0)
- ksHistMinDataValues#
Minimum number of good data values to compute KS test histogram. (
int, default100)
- ksHistNBins#
Number of bins for the KS test histogram. (
int, default100)
- maskNameList#
Mask list to exclude from statistics calculations. (
List, default['SUSPECT', 'BAD', 'NO_DATA', 'SAT'])
- matchExposuresByFluxKeyword#
Header keyword for flux if matchExposuresType is FLUX. (
str, default'CCOBFLUX')
- matchExposuresType#
Match input exposures by time, flux, or expId (
str, default'TIME')Allowed values:
'TIME'Match exposures by reported exposure time. Entries that are within 5e-3 seconds.
'FLUX'Match exposures by target flux. Use header keyword in matchExposuresByFluxKeyword to find the flux.
'EXPID'Match exposures by exposure ID.
'None'Field is optional
- maximumRangeCovariancesAstier#
Maximum range of covariances as in Astier+19 (
int, default10)
- minNumberGoodPixelsForCovariance#
Minimum number of acceptable good pixels per amp to calculate the covariances (via FFT or direclty). (
int, default10000)
- nIterSigmaClipPtc#
Number of sigma-clipping iterations for afwMath.StatisticsControl() (
int, default3)
- nSigmaClipPtc#
Sigma cut for afwMath.StatisticsControl() (
float, default5.5)
- numEdgeSuspect#
Number of edge pixels to be flagged as untrustworthy. (
int, default0)
- outputBinnedImagesBinFactor#
Output binned images bin factor. (
int, default8)
- photodiodeCurrentScale#
Scale factor to apply to photodiode current values for the
CHARGE_SUM,TRIMMED_SUM, andMEANintegration methods. (float, default-1.0)
- photodiodeIntegrationMethod#
Integration method for photodiode monitoring data. (
str, default'TRIMMED_SUM')Allowed values:
'DIRECT_SUM'Use numpy’s trapezoid integrator on all photodiode readout entries
'TRIMMED_SUM'Use numpy’s trapezoid integrator, clipping the leading and trailing entries, which are nominally at zero baseline level.
'CHARGE_SUM'Treat the current values as integrated charge over the sampling interval and simply sum the values, after subtracting a baseline level.
'MEAN'{‘Take the average of the photodiode measurements and multiply by the exposure time.’}
'None'Field is optional
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- thresholdDiffAfwVarVsCov00#
If the absolute fractional differece between afwMath.VARIANCECLIP and Cov00 for a region of a difference image is greater than this threshold (percentage), a warning will be issued. (
float, default1.0)
- useEfdPhotodiodeData#
Extract photodiode values from EFD? (
bool, defaultFalse)
- vignetteFunctionPolynomialCoeffs#
Polynomial terms for radial vignetting function. This is used with vig = np.polyval(coeffs, radius), where radius is in meters. This must be set if doVignetteFunctionRegionSelection is True. (
List, defaultNone)
- vignetteFunctionRegionSelectionMinimumPixels#
Minumum number of pixels to select for vignette function region selection. (
int, default250000)
- vignetteFunctionRegionSelectionPercent#
Vignetting function variation over the focal plane that is determined to be satisfactory. If this does not yield vignetteFunctionRegionSelectionMinimumPixels then this will be increased until vignetteFunctionRegionSelectionMinimumPixels is reached. (
float, default2.0)