![]() |
CARTA Backend
The backend component of CARTA
|
Represents a source of Stokes data with axis range specifications. More...
#include <Stokes.h>
Public Member Functions | |
StokesSource () | |
Default constructor initializes with undefined Stokes and full axis ranges. | |
StokesSource (int stokes_, AxisRange z_range_) | |
Constructor initializing with a Stokes parameter and Z-axis range. | |
StokesSource (int stokes_, AxisRange z_range_, AxisRange x_range_, AxisRange y_range_) | |
Constructor initializing with a Stokes parameter and specified axis ranges. | |
bool | IsOriginalImage () const |
Checks if this Stokes source represents an original image. | |
bool | operator== (const StokesSource &rhs) const |
Equality operator to compare two StokesSource objects. | |
bool | operator!= (const StokesSource &rhs) const |
Inequality operator to compare two StokesSource objects. | |
Public Attributes | |
int | stokes |
The Stokes parameter identifier. | |
AxisRange | z_range |
The range along the Z-axis. | |
AxisRange | x_range |
The range along the X-axis. | |
AxisRange | y_range |
The range along the Y-axis. | |
Represents a source of Stokes data with axis range specifications.
This struct encapsulates information about a Stokes parameter and its associated axis ranges in an image dataset. It is used to tell the file loader to get the original image interface, or get the computed stokes image interface. It provides constructors for different levels of specification and utility functions for comparison and checking if the data represents an original image.
|
inline |
Default constructor initializes with undefined Stokes and full axis ranges.
|
inline |
|
inline |
|
inline |
Inequality operator to compare two StokesSource objects.
[in] | rhs | The StokesSource object to compare against. |
true
if any attribute differs, otherwise false
.
|
inline |
Equality operator to compare two StokesSource objects.
[in] | rhs | The StokesSource object to compare against. |
true
if all attributes match, otherwise false
. int carta::StokesSource::stokes |
The Stokes parameter identifier.
AxisRange carta::StokesSource::x_range |
The range along the X-axis.
AxisRange carta::StokesSource::y_range |
The range along the Y-axis.
AxisRange carta::StokesSource::z_range |
The range along the Z-axis.