Source Finding & Fitting API¶
These classes provide source finding and fitting functionalities.
Defined in src/imgproc/SFinder.h
, src/imgproc/SourceFitter.h
-
class SFinder : public TObject¶
-
class SourceFitter : public TObject¶
Public Functions
-
SourceFitter()¶
Class constructor: initialize structures.
-
virtual ~SourceFitter()¶
Class destructor: free allocated memory.
-
int FitSource(Source *source, SourceFitOptions &fitOptions)¶
Fit source with automated pars initialization.
-
int FitSource(Source *source, SourceFitOptions &fitOptions, std::vector<std::vector<double>> &fitPars_start)¶
Fit source starting from provided init pars.
-
inline SourceFitPars GetFitPars()¶
Get fit pars.
-
inline int GetFitStatus()¶
Get fit status.
-
double Gaus2DMixtureFcn(double *x, const double *p)¶
2D Gaussian mixture model used for the fit
-
double Gaus2DFcn(double *x, const double *p)¶
2D Gaussian model used for the fit
-
SourceFitter()¶
-
class TaskData : public TObject¶
Public Functions
-
TaskData()¶
Standard constructor.
-
virtual ~TaskData()¶
Destructor.
-
void Copy(TObject &obj) const¶
Copy method.
-
void ClearSources()¶
Clear sources.
-
inline int SetTile(long int xmin, long int xmax, long int ymin, long int ymax)¶
Set tile.
-
inline void AddNeighborInfo(long int tid, long int wid)¶
Add neighbor info.
-
inline bool IsInsideTaskTile(double x, double y)¶
Check if point is inside task tile.
-
inline bool IsTaskTileAdjacent(TaskData *aTask)¶
Check if this task tile is adjacent to another given task.
-
TaskData()¶