SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
Public Member Functions | |
def | __init__ (self, func, params) |
![]() | |
def | __str__ (self) |
Public Attributes | |
func | |
params | |
A DependentParameter is not fitted by itself, but its value is derived from another Parameters, whatever their type: FreeParameter, ConstantParameter, or other DependentParameter Parameters ---------- func : callable A callable that will be called with all the parameters specified in this constructor each time a new evaluation is needed. params : list of ParameterBase List of parameters on which this DependentParameter depends. Examples -------- >>> flux = get_flux_parameter() >>> mag = DependentParameter(lambda f: -2.5 * np.log10(f) + args.mag_zeropoint, flux) >>> add_output_column('mf_mag_' + band, mag)
Definition at line 305 of file model_fitting.py.
def sourcextractor.config.model_fitting.DependentParameter.__init__ | ( | self, | |
func, | |||
params | |||
) |
Constructor.
Definition at line 325 of file model_fitting.py.
sourcextractor.config.model_fitting.DependentParameter.func |
Definition at line 330 of file model_fitting.py.
sourcextractor.config.model_fitting.DependentParameter.params |
Definition at line 331 of file model_fitting.py.