CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::FitData Struct Reference

Data structure for storing fitting-related data. More...

#include <ImageFitter.h>

Collaboration diagram for carta::FitData:
[legend]

Public Attributes

float * data
 Pointer to the image data.
 
size_t width
 The width of the image.
 
size_t n
 Number of pixels.
 
size_t n_notnan
 Number of pixels excluding nan pixels.
 
size_t offset_x
 X-axis offset from the fitting region to the entire image.
 
size_t offset_y
 Y-axis offset from the fitting region to the entire image.
 
std::vector< int > fit_values_indexes
 Indexes of the Gaussian parameters in the fittig parameters.
 
std::vector< double > initial_values
 Initial fitting parameters.
 
bool stop_fitting
 Whether to stop the fitting process.
 

Detailed Description

Data structure for storing fitting-related data.

Member Data Documentation

◆ data

float* carta::FitData::data

Pointer to the image data.

◆ fit_values_indexes

std::vector<int> carta::FitData::fit_values_indexes

Indexes of the Gaussian parameters in the fittig parameters.

◆ initial_values

std::vector<double> carta::FitData::initial_values

Initial fitting parameters.

◆ n

size_t carta::FitData::n

Number of pixels.

◆ n_notnan

size_t carta::FitData::n_notnan

Number of pixels excluding nan pixels.

◆ offset_x

size_t carta::FitData::offset_x

X-axis offset from the fitting region to the entire image.

◆ offset_y

size_t carta::FitData::offset_y

Y-axis offset from the fitting region to the entire image.

◆ stop_fitting

bool carta::FitData::stop_fitting

Whether to stop the fitting process.

◆ width

size_t carta::FitData::width

The width of the image.


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