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

Data structure for storing parameters of a Gaussian component. More...

#include <Util.h>

Collaboration diagram for carta::GaussianParams:
[legend]

Public Member Functions

 GaussianParams (double center_x, double center_y, double amp, double fwhm_x, double fwhm_y, double pa)
 Constructor for GaussianParams.
 
CARTA::GaussianComponent GetGaussianComponent ()
 Create a Gaussian component sub-message.
 

Public Attributes

double center_x
 X-coordinate of the center in pixels.
 
double center_y
 Y-coordinate of the center in pixels.
 
double amp
 Amplitude of the component.
 
double fwhm_x
 Full width at half maximum along x-coordinate in pixels.
 
double fwhm_y
 Full width at half maximum along y-coordinate in pixels.
 
double pa
 Position angle in degrees.
 

Detailed Description

Data structure for storing parameters of a Gaussian component.

Constructor & Destructor Documentation

◆ GaussianParams()

carta::GaussianParams::GaussianParams ( double  center_x,
double  center_y,
double  amp,
double  fwhm_x,
double  fwhm_y,
double  pa 
)
inline

Constructor for GaussianParams.

Parameters
center_xX-coordinate of the center in pixels
center_yY-coordinate of the center in pixels
ampAmplitude of the component
fwhm_xFull width at half maximum along x-coordinate in pixels
fwhm_yFull width at half maximum along y-coordinate in pixels
paPosition angle in degrees

Member Function Documentation

◆ GetGaussianComponent()

CARTA::GaussianComponent carta::GaussianParams::GetGaussianComponent ( )
inline

Create a Gaussian component sub-message.

Returns
A Gaussian component sub-message
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ amp

double carta::GaussianParams::amp

Amplitude of the component.

◆ center_x

double carta::GaussianParams::center_x

X-coordinate of the center in pixels.

◆ center_y

double carta::GaussianParams::center_y

Y-coordinate of the center in pixels.

◆ fwhm_x

double carta::GaussianParams::fwhm_x

Full width at half maximum along x-coordinate in pixels.

◆ fwhm_y

double carta::GaussianParams::fwhm_y

Full width at half maximum along y-coordinate in pixels.

◆ pa

double carta::GaussianParams::pa

Position angle in degrees.


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