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.ComputeGraphModel Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.ComputeGraphModel:
Inheritance graph
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.ComputeGraphModel:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, models, x_coord, y_coord, flux, params={})
 
 to_string (self, show_params=False)
 
 get_params (self)
 

Public Attributes

 aspect_ratio
 
 angle
 
 scale
 
 params
 
 models
 
 x_coord
 
 y_coord
 
 flux
 
 effective_radius
 
- Public Attributes inherited from sourcextractor.config.model_fitting.CoordinateModelBase
 x_coord
 
 y_coord
 
 flux
 

Detailed Description

ComputeGraphModel model

Parameters
----------
models: string or list of strings, corresponding to path to Onnx format models,
 (specifying more than one allows using the most efficient model based on render size.)
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
params : Dictionary of String and ParameterBase or float
    Dictionary of custom parameters for the ONNX model

Definition at line 730 of file model_fitting.py.

Constructor & Destructor Documentation

◆ __init__()

sourcextractor.config.model_fitting.ComputeGraphModel.__init__ ( self,
models,
x_coord,
y_coord,
flux,
params = {} )
Constructor.

Reimplemented from sourcextractor.config.model_fitting.CoordinateModelBase.

Definition at line 748 of file model_fitting.py.

Member Function Documentation

◆ get_params()

sourcextractor.config.model_fitting.ComputeGraphModel.get_params ( self)

◆ to_string()

sourcextractor.config.model_fitting.ComputeGraphModel.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 779 of file model_fitting.py.

Member Data Documentation

◆ angle

sourcextractor.config.model_fitting.ComputeGraphModel.angle

◆ aspect_ratio

sourcextractor.config.model_fitting.ComputeGraphModel.aspect_ratio

◆ effective_radius

sourcextractor.config.model_fitting.ComputeGraphModel.effective_radius

◆ flux

sourcextractor.config.model_fitting.ComputeGraphModel.flux

◆ models

sourcextractor.config.model_fitting.ComputeGraphModel.models

Definition at line 777 of file model_fitting.py.

◆ params

sourcextractor.config.model_fitting.ComputeGraphModel.params

◆ scale

sourcextractor.config.model_fitting.ComputeGraphModel.scale

◆ x_coord

sourcextractor.config.model_fitting.ComputeGraphModel.x_coord

◆ y_coord

sourcextractor.config.model_fitting.ComputeGraphModel.y_coord

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