SourceTablePsfComponentsAction#

class lsst.meas.extensions.multiprofit.fit_coadd_multiband.SourceTablePsfComponentsAction(*args, **kw)#

Bases: PsfComponentsActionBase

Action to return PSF components from a SourceTable.

This is anticipated to be a deepCoadd_meas with PSF fit parameters from a measurement plugin returning covariance matrix terms.

Attributes Summary

action_source

Action to return whether the PSF fit was successful for a single source row (PsfFitSuccessActionBase, default <class 'lsst.meas.extensions.multiprofit.fit_coadd_multiband.SourceTablePsfFitSuccessAction'>)

format

Format for the field names, where {idx_comp} is the index of the component and {moment}is the name of the moment (xx, xy or yy, integral) (str, default 'modelfit_DoubleShapeletPsfApprox_{idx_comp}_{moment}')

n_components

Number of Gaussian components (int, default 2)

name_moment_integral

Name of the integral (zeroth) moment (str, default '0')

name_moment_xx

Name of the xx (2nd x-axis) moment (str, default 'xx')

name_moment_xy

Name of the xy (covariance term) moment (str, default 'xy')

name_moment_yy

Name of the yy (2nd y-axis) moment (str, default 'yy')

Methods Summary

__call__(source, *args, **kwargs)

Call self as a function.

get_integral(moment_zero)

Get the total integrated flux from a zeroth moment value.

get_schema()

Return the list of columns required to call this action.

Attributes Documentation

action_source#

Action to return whether the PSF fit was successful for a single source row (PsfFitSuccessActionBase, default <class 'lsst.meas.extensions.multiprofit.fit_coadd_multiband.SourceTablePsfFitSuccessAction'>)

format#

Format for the field names, where {idx_comp} is the index of the component and {moment}is the name of the moment (xx, xy or yy, integral) (str, default 'modelfit_DoubleShapeletPsfApprox_{idx_comp}_{moment}')

n_components#

Number of Gaussian components (int, default 2)

name_moment_integral#

Name of the integral (zeroth) moment (str, default '0')

name_moment_xx#

Name of the xx (2nd x-axis) moment (str, default 'xx')

name_moment_xy#

Name of the xy (covariance term) moment (str, default 'xy')

name_moment_yy#

Name of the yy (2nd y-axis) moment (str, default 'yy')

Methods Documentation

__call__(source: Mapping[str, Any], *args: Any, **kwargs: Any) list[Gaussian]#

Call self as a function.

static get_integral(moment_zero) float#

Get the total integrated flux from a zeroth moment value.

The zeroth moment is simply the integrated flux divided by a constant value of 2*sqrt(pi).

Parameters#

moment_zero

The zeroth moment value.

Returns#

integral

The total integrated weight (flux).

get_schema() list[str]#

Return the list of columns required to call this action.