SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
sourcextractor.config.model_fitting.ConstantParameter Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.ConstantParameter:
Inheritance graph
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.ConstantParameter:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def get_value
 
def __str__
 
- Public Member Functions inherited from sourcextractor.config.model_fitting.ParameterBase
def __str__
 

Private Attributes

 __value
 
 __callable
 

Detailed Description

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.

Constructor & Destructor Documentation

def sourcextractor.config.model_fitting.ConstantParameter.__init__ (   self,
  value 
)
Constructor.

Definition at line 211 of file model_fitting.py.

Member Function Documentation

def 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 sourcextractor.config.model_fitting.ConstantParameter.__value.

def 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 sourcextractor.config.model_fitting.Range.__callable, sourcextractor.config.model_fitting.Unbounded.__callable, and sourcextractor.config.model_fitting.ConstantParameter.__callable.

Member Data Documentation

sourcextractor.config.model_fitting.ConstantParameter.__callable
private
sourcextractor.config.model_fitting.ConstantParameter.__value
private

The documentation for this class was generated from the following file: