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


Public Member Functions | |
| __init__ (self, value) | |
| get_value (self, o) | |
| __str__ (self) | |
| Public Member Functions inherited from sourcextractor.config.model_fitting.ParameterBase | |
| __str__ (self) | |
Private Attributes | |
| __value = value | |
| __callable = value if hasattr(value, '__call__') else lambda o: value | |
Additional Inherited Members | |
| Public Attributes inherited from sourcextractor.config.model_fitting.ParameterBase | |
| id | |
A parameter with a single value that remains constant. It will not be fitted.
Parameters
----------
value : float, or callable that receives a source and returns a float
Value for this parameter
Definition at line 201 of file model_fitting.py.
| sourcextractor.config.model_fitting.ConstantParameter.__init__ | ( | self, | |
| value ) |
Constructor.
Definition at line 211 of file model_fitting.py.
| sourcextractor.config.model_fitting.ConstantParameter.__str__ | ( | self | ) |
Returns
-------
str
Human readable representation for the object
Definition at line 232 of file model_fitting.py.
References __value.
| sourcextractor.config.model_fitting.ConstantParameter.get_value | ( | self, | |
| o ) |
Parameters
----------
o : object being fitted
Returns
-------
float
Value of the constant parameter
Definition at line 219 of file model_fitting.py.
References __callable, sourcextractor.config.model_fitting.Range.__callable, and sourcextractor.config.model_fitting.Unbounded.__callable.
|
private |
Definition at line 217 of file model_fitting.py.
Referenced by get_value().
|
private |
Definition at line 216 of file model_fitting.py.
Referenced by __str__().