ModelExtendednessColumnAction#

class lsst.pipe.tasks.postprocess.ModelExtendednessColumnAction(*args, **kw)#

Bases: ExtendednessColumnActionBase

Attributes Summary

bands

The bands to make single-band outputs for.

bands_combined

Multiband classification column specialization.

fluxerr_coefficent

The coefficient to multiply the flux error by when adding to the model flux.

fluxerr_stretch

The factor to multiply flux error-scaled ratios by to derive extendedness.

good_sn_min

Minimum PSF S/N to include objects if min_n_good_to_shift_flux_ratio is > 0; ignored otherwise.

max_reff_compact

The maximum effective radius in pixels below which an object is classified as not extended, regardless of other parameter values.

min_n_good_to_shift_flux_ratio

Minimum number of objects with PSF S/N > good_sn_min and with size larger than max_reff_compact to use to compute the median PSF-to-model flux ratio, which is assumed to be 1 otherwise.

model_column_flux

The model flux column to use for computing the difference to to the S/N flux.

model_column_flux_err

The model flux error column to use for computing the difference to the S/N flux.

model_flux_name

The extended object model to use to compared to PSF model fluxes (str, default 'sersic')

output_column

Name of the output column.

psf_column_flux

The name of the PSF flux column.

psf_column_flux_err

The name of the PSF flux error column.

size_column

The column to use for applying size cuts.

Methods Summary

__call__(table)

This method must return a dict of computed columns.

Attributes Documentation

bands#

The bands to make single-band outputs for. (List, default ['u', 'g', 'r', 'i', 'z', 'y'])

bands_combined#

Multiband classification column specialization. Keys specify the name of the column and values are a comma-separated list of bands, all of which must be contained in the bands listed. (Dict, default {'griz': 'g,r,i,z'})

fluxerr_coefficent#

The coefficient to multiply the flux error by when adding to the model flux. (float, default 0.5)

fluxerr_stretch#

The factor to multiply flux error-scaled ratios by to derive extendedness. (float, default 5.0)

good_sn_min#

Minimum PSF S/N to include objects if min_n_good_to_shift_flux_ratio is > 0; ignored otherwise. (float, default 10.0)

max_reff_compact#

The maximum effective radius in pixels below which an object is classified as not extended, regardless of other parameter values. (float, default 0.25)

min_n_good_to_shift_flux_ratio#

Minimum number of objects with PSF S/N > good_sn_min and with size larger than max_reff_compact to use to compute the median PSF-to-model flux ratio, which is assumed to be 1 otherwise. If this value is not >0, the median flux ratio will be kept 1. (int, default 0)

model_column_flux#

The model flux column to use for computing the difference to to the S/N flux. Must contain the {band} and {model} templates. (str, default '{band}_{model}Flux')

model_column_flux_err#

The model flux error column to use for computing the difference to the S/N flux. Must contain the {band} and {model} templates. (str, default '{band}_{model}FluxErr')

model_flux_name#

The extended object model to use to compared to PSF model fluxes (str, default 'sersic')

output_column#

Name of the output column. Must contain the {band} template (str, default '{band}_model_extendedness')

psf_column_flux#

The name of the PSF flux column. Must contain the {band} template. (str, default '{band}_psfFlux')

psf_column_flux_err#

The name of the PSF flux error column. Must contain the {band} template. (str, default '{band}_psfFluxErr')

size_column#

The column to use for applying size cuts. Must contain the {axis} template. (str, default 'exponential_reff_{axis}')

Methods Documentation

__call__(table: Table) dict[str, ndarray[tuple[Any, ...], dtype[_ScalarT]]]#

This method must return a dict of computed columns.