ExtendedPsfSubtractConfig#
- class lsst.pipe.tasks.extended_psf.ExtendedPsfSubtractConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration parameters for ExtendedPsfSubtractTask.
Attributes Summary
Mask planes excluded during amplitude fitting.
Order of polynomial to fit for local background around each star.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Re-estimate and subtract background after extended-PSF subtraction.
Restore the supplied preliminary_visit_image_background onto the working image before star fitting/subtraction.
No subtraction fit will be done for stars that have a neighboring star in the exclude_mag_range within exclude_arcsec_radius arcseconds.
Magnitude range used when searching for neighboring contaminants.
Reference object loader for astrometric lookup.
Magnitude range in Gaia G for subtraction stars.
Maximum focal-plane radius in mm for subtraction stars.
Maximum number of stars to subtract per detector; 0 means no cap.
Minimum number of usable pixels required to fit a star.
Minimum focal-plane radius in mm for subtraction stars.
Minimum warped-model pixel value allowed in the per-star amplitude fit.
Name of the filter in the reference catalog to use for star selection.
Flag to enable/disable saving of log output for a task, enabled by default.
Subtask used to re-estimate background after extended-PSF subtraction.
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, default1)
- 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, defaultTrue)
- do_restore_background#
Restore the supplied preliminary_visit_image_background onto the working image before star fitting/subtraction. (
bool, defaultTrue)
- 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, default5)
- 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, defaultinf)
- 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, default0)
- min_fit_pixels#
Minimum number of usable pixels required to fit a star. (
int, default20)
- min_focal_plane_radius#
Minimum focal-plane radius in mm for subtraction stars. (
float, default0.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, default0.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, defaultTrue)
- 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