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


Public Member Functions | |
| def | __init__ |
Public Member Functions inherited from sourcextractor.config.model_fitting.ParameterBase | |
| def | __str__ |
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 315 of file model_fitting.py.
| def 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.
1.8.5