GaussianComponentConfig#
- class lsst.multiprofit.GaussianComponentConfig(*args, **kw)#
Bases:
EllipticalComponentConfigConfiguration for an lsst.gauss2d.fit Gaussian component.
Attributes Summary
Flux parameter(s) config (
FluxParameterConfig, default<class 'lsst.multiprofit.componentconfig.FluxParameterConfig'>)Fractional flux parameter(s) config (
FluxFractionParameterConfig, default<class 'lsst.multiprofit.componentconfig.FluxFractionParameterConfig'>)Prior mean for axis ratio (prior ignored if not >0) (
float, default0.7)Prior std.
Prior mean for size_major (
float, default1)Prior std.
Rho parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)x-axis size parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)y-axis size parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)The name of the reference transform for flux parameters (
str, default'log10')The name of the reference transform for flux fraction parameters (
str, default'logit_fluxfrac')The name of the reference transform for flux fraction parameters (
str, default'log10')The name of the reference transform for rho parameters (
str, default'logit_rho')The name of the reference transform for size parameters (
str, default'log10')Methods Summary
Return the label for the component's size parameters.
Return a descriptive component name.
make_component(centroid, integral_model)Make a Component reflecting the current configuration.
Attributes Documentation
- flux#
Flux parameter(s) config (
FluxParameterConfig, default<class 'lsst.multiprofit.componentconfig.FluxParameterConfig'>)
- fluxfrac#
Fractional flux parameter(s) config (
FluxFractionParameterConfig, default<class 'lsst.multiprofit.componentconfig.FluxFractionParameterConfig'>)
- prior_axrat_mean#
Prior mean for axis ratio (prior ignored if not >0) (
float, default0.7)
- prior_axrat_stddev#
Prior std. dev. on axis ratio (
float, default0)
- prior_size_mean#
Prior mean for size_major (
float, default1)
- prior_size_stddev#
Prior std. dev. on size_major (prior ignored if not >0) (
float, default0)
- rho#
Rho parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)
- size_x#
x-axis size parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)
- size_y#
y-axis size parameter config (
ParameterConfig, default<class 'lsst.multiprofit.componentconfig.ParameterConfig'>)
- transform_flux_name#
The name of the reference transform for flux parameters (
str, default'log10')
- transform_fluxfrac_name#
The name of the reference transform for flux fraction parameters (
str, default'logit_fluxfrac')
- transform_frac_name#
The name of the reference transform for flux fraction parameters (
str, default'log10')
- transform_rho_name#
The name of the reference transform for rho parameters (
str, default'logit_rho')
- transform_size_name#
The name of the reference transform for size parameters (
str, default'log10')
Methods Documentation
- get_size_label() str#
Return the label for the component’s size parameters.
- get_type_name() str#
Return a descriptive component name.
- make_component(centroid: CentroidParameters, integral_model: IntegralModel) ComponentData#
Make a Component reflecting the current configuration.
Parameters#
- centroid
Centroid parameters for the component.
- integral_model
The integral_model for this component.
Returns#
- component_data
An appropriate ComponentData including the initialized component.
Notes#
The default
gauss2d.fit.LinearIntegralModelcan be populated with unit fluxes (gauss2d.fit.IntegralParameterDinstances) to prepare for linear least squares fitting.