SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 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:
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.ConstantParameter:
[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
 

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 199 of file model_fitting.py.

Constructor & Destructor Documentation

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

Definition at line 209 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 226 of file model_fitting.py.

References sourcextractor.config.model_fitting.ConstantParameter.__value.

def sourcextractor.config.model_fitting.ConstantParameter.get_value (   self)
Returns
-------
callable
    Receives a source and returns a value for the parameter

Definition at line 217 of file model_fitting.py.

References sourcextractor.config.model_fitting.ConstantParameter.__value.

Member Data Documentation

sourcextractor.config.model_fitting.ConstantParameter.__value
private

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