CpFlatFitGradientsConfig#

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

Bases: PipelineTaskConfig

Attributes Summary

bin_factor

Binning factor for flats going into the focal plane.

connections

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

detector_boundary

Do not use pixels within detector_boundary of the edge for fitting.

do_constrain_zero

Constrain the outermost radial spline value to zero? (bool, default False)

do_fit_centroid

Fit a centroid offset from the focal plane centroid? (bool, default False)

do_fit_gradient

Fit a linear gradient over the focal plane? (bool, default False)

do_normalize_center

Normalize center of focal plane to 1.0? (bool, default True)

do_reference_gradient

Use task to produce a reference gradient (from sky)? This is used to control the dataset type of the output.

do_use_non_science_detectors

Use non-science detectors in addition to science detectors? (bool, default False)

fit_eps

Minimizer epsilon parameter.

fit_gtol

Minimizer gtol parameter.

fixed_model_residual_plot_scale

Fixed scale for making residual plots.

fp_centroid_x

Focal plane centroid x (mm).

fp_centroid_y

Focal plane centroid y (mm).

max_flat_value

Maximum (relative) flat value to use in fit.

min_flat_value

Minimum (relative) flat value to use in fit.

normalize_center_radius

Center normalization will be done using the average within this radius (mm).

radial_spline_nodes

Spline nodes to use for full radial fit (mm).

radial_spline_nodes_initial

Spline nodes for use in initial fit (mm).

saveLogOutput

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

Attributes Documentation

bin_factor#

Binning factor for flats going into the focal plane. (int, default 128)

connections: pexConfig.ConfigField#

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

detector_boundary#

Do not use pixels within detector_boundary of the edge for fitting. (int, default 10)

do_constrain_zero#

Constrain the outermost radial spline value to zero? (bool, default False)

do_fit_centroid#

Fit a centroid offset from the focal plane centroid? (bool, default False)

do_fit_gradient#

Fit a linear gradient over the focal plane? (bool, default False)

do_normalize_center#

Normalize center of focal plane to 1.0? (bool, default True)

do_reference_gradient#

Use task to produce a reference gradient (from sky)? This is used to control the dataset type of the output. (bool, default False)

do_use_non_science_detectors#

Use non-science detectors in addition to science detectors? (bool, default False)

fit_eps#

Minimizer epsilon parameter. (float, default 1e-08)

fit_gtol#

Minimizer gtol parameter. (float, default 1e-10)

fixed_model_residual_plot_scale#

Fixed scale for making residual plots. (float, default None)

fp_centroid_x#

Focal plane centroid x (mm). (float, default 0.0)

fp_centroid_y#

Focal plane centroid y (mm). (float, default 0.0)

max_flat_value#

Maximum (relative) flat value to use in fit. (float, default 1.5)

min_flat_value#

Minimum (relative) flat value to use in fit. (float, default 0.05)

normalize_center_radius#

Center normalization will be done using the average within this radius (mm). (float, default 25.0)

radial_spline_nodes#

Spline nodes to use for full radial fit (mm). (List, default [0.0, 100.0, 200.0, 250.0, 275.0, 290.0, 300.0, 310.0, 315.0, 317.0, 320.0, 325.0, 333.0, 340.0, 350.0])

radial_spline_nodes_initial#

Spline nodes for use in initial fit (mm). Initial fit will only be performed within the maximum radius for this list. The maximum radius should be chosen to make ITL/E2V ratio fitting more stable. (List, default [0.0, 100.0, 200.0, 250.0, 275.0, 317.0])

saveLogOutput#

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