ExtendedPsfSubtractConfig#

class lsst.pipe.tasks.extended_psf.ExtendedPsfSubtractConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration parameters for ExtendedPsfSubtractTask.

Attributes Summary

bad_mask_planes

Mask planes excluded during amplitude fitting.

bg_order

Order of polynomial to fit for local background around each star.

connections

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

do_rerun_background_subtraction

Re-estimate and subtract background after extended-PSF subtraction.

do_restore_background

Restore the supplied preliminary_visit_image_background onto the working image before star fitting/subtraction.

exclude_arcsec_radius

No subtraction fit will be done for stars that have a neighboring star in the exclude_mag_range within exclude_arcsec_radius arcseconds.

exclude_mag_range

Magnitude range used when searching for neighboring contaminants.

load_reference_objects_config

Reference object loader for astrometric lookup.

mag_range

Magnitude range in Gaia G for subtraction stars.

max_focal_plane_radius

Maximum focal-plane radius in mm for subtraction stars.

max_stars_per_detector

Maximum number of stars to subtract per detector; 0 means no cap.

min_fit_pixels

Minimum number of usable pixels required to fit a star.

min_focal_plane_radius

Minimum focal-plane radius in mm for subtraction stars.

min_model_value

Minimum warped-model pixel value allowed in the per-star amplitude fit.

ref_cat_filter_name

Name of the filter in the reference catalog to use for star selection.

saveLogOutput

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

subtract_background

Subtask used to re-estimate background after extended-PSF subtraction.

warping_kernel_name

Warping kernel for model image warping.

Attributes Documentation

bad_mask_planes#

Mask planes excluded during amplitude fitting. (List, default ['BAD', 'COSMIC_RAY', 'CROSSTALK', 'DETECTION_EDGE', 'NO_DATA', 'SATURATED', 'SUSPECT', 'UNMASKED_NAN'])

bg_order#

Order of polynomial to fit for local background around each star. Set to 0 for a constant pedestal, 1 for a planar background, and higher values for additional flexibility. (int, default 1)

connections: pexConfig.ConfigField#

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

do_rerun_background_subtraction#

Re-estimate and subtract background after extended-PSF subtraction. (bool, default True)

do_restore_background#

Restore the supplied preliminary_visit_image_background onto the working image before star fitting/subtraction. (bool, default True)

exclude_arcsec_radius#

No subtraction fit will be done for stars that have a neighboring star in the exclude_mag_range within exclude_arcsec_radius arcseconds. (float, default 5)

exclude_mag_range#

Magnitude range used when searching for neighboring contaminants. (List, default [0, 20])

load_reference_objects_config#

Reference object loader for astrometric lookup. (LoadReferenceObjectsConfig, default <class 'lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsConfig'>)

mag_range#

Magnitude range in Gaia G for subtraction stars. (List, default [10, 18])

max_focal_plane_radius#

Maximum focal-plane radius in mm for subtraction stars. (float, default inf)

max_stars_per_detector#

Maximum number of stars to subtract per detector; 0 means no cap. If this limit is reached, the selected stars are truncated to the brightest objects first (lowest magnitude values). (int, default 0)

min_fit_pixels#

Minimum number of usable pixels required to fit a star. (int, default 20)

min_focal_plane_radius#

Minimum focal-plane radius in mm for subtraction stars. (float, default 0.0)

min_model_value#

Minimum warped-model pixel value allowed in the per-star amplitude fit. Only pixels with model > min_model_value are used when solving for PSF scale, after mask and variance filtering. Increasing this emphasizes the bright core and suppresses noisy wings; decreasing it includes more wing pixels in the fit. (float, default 0.0)

ref_cat_filter_name#

Name of the filter in the reference catalog to use for star selection. (str, default 'phot_g_mean')

saveLogOutput#

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

subtract_background#

Subtask used to re-estimate background after extended-PSF subtraction. (ConfigurableInstance, default <class 'lsst.meas.algorithms.subtractBackground.SubtractBackgroundConfig'>)

warping_kernel_name#

Warping kernel for model image warping. (str, default 'lanczos5')

Allowed values:

'bilinear'

bilinear interpolation

'lanczos3'

Lanczos kernel of order 3

'lanczos4'

Lanczos kernel of order 4

'lanczos5'

Lanczos kernel of order 5

'None'

Field is optional