SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
sourcextractor.config.model_fitting.ConstantModel Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.ConstantModel:
Inheritance graph
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.ConstantModel:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, value)
 
 to_string (self, show_params=False)
 
- Public Member Functions inherited from sourcextractor.config.model_fitting.ModelBase
 get_params (self)
 

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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 509 of file model_fitting.py.

Member Function Documentation

◆ to_string()

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

References sourcextractor.config.model_fitting.Prior.value, sourcextractor.config.model_fitting.ConstantModel.value, Elements::Environment::Variable.value(), std::error_code.value(), std::regex_traits.value(), std::error_condition.value(), and std::experimental::optional.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: