|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|


Public Member Functions | |
| __init__ (self, func, *params) | |
Public Member Functions inherited from sourcextractor.config.model_fitting.ParameterBase | |
| __str__ (self) | |
Public Attributes | |
| func | |
| params | |
Public Attributes inherited from sourcextractor.config.model_fitting.ParameterBase | |
| id | |
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 315 of file model_fitting.py.
| sourcextractor.config.model_fitting.DependentParameter.__init__ | ( | self, | |
| func, | |||
| * | params ) |
Constructor.
Definition at line 335 of file model_fitting.py.
| sourcextractor.config.model_fitting.DependentParameter.func |
Definition at line 340 of file model_fitting.py.
| sourcextractor.config.model_fitting.DependentParameter.params |
Definition at line 341 of file model_fitting.py.
Referenced by sourcextractor.config.model_fitting.ComputeGraphModel.get_params().