PhotonTransferCurveAdjustGainRatiosConfig#

class lsst.cp.pipe.PhotonTransferCurveAdjustGainRatiosConfig(*args, **kw)#

Bases: PipelineTaskConfig

Attributes Summary

amp_boundary

Amplifier boundary to ignore when computing gradients/gain ratios (pixels).

bin_factor

Binning factor to compute gradients/gain ratios (pixels).

chebyshev_gradient_order

Order of chebyshev x/y polynomials to remove additional gradients.

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

do_remove_radial_gradient

Remove radial gradient before fitting amp gain ratios? (bool, default True)

max_adu

Maximum number of adu for an exposure to use in gain ratio calculation.

max_fractional_gain_ratio

Maximum fractional gain ratio to consider per-exposure.

max_noise_reference

Maximum read noise (e-) in the PTC for an amp to be considered as a reference (float, default 12.0)

min_adu

Minimum number of adu for an exposure to use in gain ratio calculation.

n_flat

Number of flats (from min_adu to max_adu) to use in gain ratio calculation.

radial_gradient_n_spline_nodes

Number of radial spline nodes for radial gradient.

random_seed

Random seed to use for down-sampling input flats.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

turnoff_percentile_reference

Percentile threshold for sorting PTC turnoff for an amp to be considered as a reference (float, default 25.0)

Attributes Documentation

amp_boundary#

Amplifier boundary to ignore when computing gradients/gain ratios (pixels). (int, default 20)

bin_factor#

Binning factor to compute gradients/gain ratios (pixels). (int, default 8)

chebyshev_gradient_order#

Order of chebyshev x/y polynomials to remove additional gradients. (int, default 1)

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

do_remove_radial_gradient#

Remove radial gradient before fitting amp gain ratios? (bool, default True)

max_adu#

Maximum number of adu for an exposure to use in gain ratio calculation. (float, default 20000.0)

max_fractional_gain_ratio#

Maximum fractional gain ratio to consider per-exposure. Any amps with larger offset will be excluded from the gradient fit and will have no corrections applied. (float, default 0.05)

max_noise_reference#

Maximum read noise (e-) in the PTC for an amp to be considered as a reference (float, default 12.0)

min_adu#

Minimum number of adu for an exposure to use in gain ratio calculation. (float, default 1000.0)

n_flat#

Number of flats (from min_adu to max_adu) to use in gain ratio calculation. (int, default 50)

radial_gradient_n_spline_nodes#

Number of radial spline nodes for radial gradient. (int, default 20)

random_seed#

Random seed to use for down-sampling input flats. (int, default 12345)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

turnoff_percentile_reference#

Percentile threshold for sorting PTC turnoff for an amp to be considered as a reference (float, default 25.0)