SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
sourcextractor.config.model_fitting.PointSourceModel Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.PointSourceModel:
Collaboration diagram for sourcextractor.config.model_fitting.PointSourceModel:

Public Member Functions

 __init__ (self, x_coord, y_coord, flux)
 to_string (self, show_params=False)
Public Member Functions inherited from sourcextractor.config.model_fitting.CoordinateModelBase
 __init__ (self, x_coord, y_coord, flux)
 get_params (self)

Additional Inherited Members

Public Attributes inherited from sourcextractor.config.model_fitting.CoordinateModelBase
 x_coord = x_coord if isinstance(x_coord, ParameterBase) else ConstantParameter(x_coord)
 y_coord = y_coord if isinstance(y_coord, ParameterBase) else ConstantParameter(y_coord)
 flux = flux if isinstance(flux, ParameterBase) else ConstantParameter(flux)

Detailed Description

Models a source as a point, spread by the PSF.

Parameters
----------
x_coord : ParameterBase or float
    X coordinate (in the detection image)
y_coord : ParameterBase or float
    Y coordinate (in the detection image)
flux : ParameterBase or float
    Total flux

Definition at line 458 of file model_fitting.py.

Constructor & Destructor Documentation

◆ __init__()

sourcextractor.config.model_fitting.PointSourceModel.__init__ ( self,
x_coord,
y_coord,
flux )
Constructor.

Definition at line 472 of file model_fitting.py.

Member Function Documentation

◆ to_string()

sourcextractor.config.model_fitting.PointSourceModel.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 478 of file model_fitting.py.


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