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

Public Member Functions

def __init__ (self, models, x_coord, y_coord, flux, params={})
 
def to_string (self, show_params=False)
 
- Public Member Functions inherited from sourcextractor.config.model_fitting.CoordinateModelBase
def __init__ (self, x_coord, y_coord, flux)
 

Public Attributes

 aspect_ratio
 
 angle
 
 scale
 
 params
 
 models
 
- 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 894 of file model_fitting.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 912 of file model_fitting.py.

Member Function Documentation

◆ to_string()

def sourcextractor.config.model_fitting.ComputeGraphModel.to_string (   self,
  show_params = False 
)

Member Data Documentation

◆ angle

sourcextractor.config.model_fitting.ComputeGraphModel.angle

◆ aspect_ratio

sourcextractor.config.model_fitting.ComputeGraphModel.aspect_ratio

◆ models

sourcextractor.config.model_fitting.ComputeGraphModel.models

Definition at line 939 of file model_fitting.py.

◆ params

sourcextractor.config.model_fitting.ComputeGraphModel.params

Definition at line 938 of file model_fitting.py.

◆ scale

sourcextractor.config.model_fitting.ComputeGraphModel.scale

Definition at line 932 of file model_fitting.py.


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