FluxFractionParameterConfig#

class lsst.multiprofit.FluxFractionParameterConfig(*args, **kw)#

Bases: ParameterConfig

Configuration for flux fraction parameters (ProperFractionParameterD).

The safest initial value for a flux fraction is 0.5, because if it’s set to one, downstream fractions will be zero, while if it’s set to zero, linear fitting will not work correctly initially.

Attributes Summary

fixed

Whether parameter is fixed or not (free) (bool, default False)

value_initial

Initial value (float, default 0)

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

fixed#

Whether parameter is fixed or not (free) (bool, default False)

value_initial#

Initial value (float, default 0)

Methods Documentation

setDefaults() None#

Subclass hook for computing defaults.

Notes#

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.