SourceXtractorPlusPlus  0.15
Please provide a description of the project.
Public Member Functions | Public Attributes | List of all members
sourcextractor.config.model_fitting.ConstantModel Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.ConstantModel:
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.ConstantModel:
[legend]

Public Member Functions

def __init__ (self, value)
 
def to_string (self, show_params=False)
 

Public Attributes

 value
 

Detailed Description

A model that is constant through all the image.

Parameters
----------
value: ParameterBase or float
    Value to add to the value of all pixels from the model.

Definition at line 599 of file model_fitting.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 609 of file model_fitting.py.

Member Function Documentation

◆ to_string()

def sourcextractor.config.model_fitting.ConstantModel.to_string (   self,
  show_params = False 
)
Return a human readable representation of the model.

Parameters
----------
show_params: bool
    If True, include information about the parameters.

Returns
-------
str

Definition at line 618 of file model_fitting.py.

References sourcextractor.config.model_fitting.Prior.value, sourcextractor.config.model_fitting.ConstantModel.value, Elements::Environment::Variable.value(), std::experimental::optional.value(), std::error_condition.value(), std::regex_traits.value(), and std::error_code.value().

Here is the call graph for this function:

Member Data Documentation

◆ value

sourcextractor.config.model_fitting.ConstantModel.value

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