CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::PolarizationCalculator Class Reference

#include <PolarizationCalculator.h>

Collaboration diagram for carta::PolarizationCalculator:
[legend]

Public Member Functions

 PolarizationCalculator (std::shared_ptr< casacore::ImageInterface< float > > image, AxesInfo axes, DimsInfo dims, AxisRange z_range, AxisRange x_range, AxisRange y_range)
 
 ~PolarizationCalculator ()=default
 
std::shared_ptr< casacore::ImageInterface< float > > ComputeTotalPolarizedIntensity ()
 
std::shared_ptr< casacore::ImageInterface< float > > ComputeTotalFractionalPolarizedIntensity ()
 
std::shared_ptr< casacore::ImageInterface< float > > ComputePolarizedIntensity ()
 
std::shared_ptr< casacore::ImageInterface< float > > ComputeFractionalPolarizedIntensity ()
 
std::shared_ptr< casacore::ImageInterface< float > > ComputePolarizedAngle ()
 

Private Types

enum  StokesTypes { I , Q , U , V }
 

Private Member Functions

std::shared_ptr< casacore::ImageInterface< float > > MakeSubImage (casacore::IPosition &blc, casacore::IPosition &trc, int axis, int pix)
 
casacore::LatticeExprNode MakeTotalPolarizedIntensityNode ()
 
casacore::LatticeExprNode MakePolarizedIntensityNode ()
 
void SetImageStokesInfo (casacore::ImageInterface< float > &image, const StokesTypes &stokes)
 
void FiddleStokesCoordinate (casacore::ImageInterface< float > &image, casacore::Stokes::StokesTypes type)
 

Private Attributes

std::vector< std::shared_ptr< casacore::ImageInterface< float > > > _stokes_images
 
const std::shared_ptr< const casacore::ImageInterface< float > > _image
 
bool _image_valid
 

Member Enumeration Documentation

◆ StokesTypes

Enumerator

Constructor & Destructor Documentation

◆ PolarizationCalculator()

PolarizationCalculator::PolarizationCalculator ( std::shared_ptr< casacore::ImageInterface< float > >  image,
AxesInfo  axes,
DimsInfo  dims,
AxisRange  z_range,
AxisRange  x_range,
AxisRange  y_range 
)
Here is the call graph for this function:

◆ ~PolarizationCalculator()

carta::PolarizationCalculator::~PolarizationCalculator ( )
default

Member Function Documentation

◆ ComputeFractionalPolarizedIntensity()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::ComputeFractionalPolarizedIntensity ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputePolarizedAngle()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::ComputePolarizedAngle ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputePolarizedIntensity()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::ComputePolarizedIntensity ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputeTotalFractionalPolarizedIntensity()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::ComputeTotalFractionalPolarizedIntensity ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputeTotalPolarizedIntensity()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::ComputeTotalPolarizedIntensity ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FiddleStokesCoordinate()

void PolarizationCalculator::FiddleStokesCoordinate ( casacore::ImageInterface< float > &  image,
casacore::Stokes::StokesTypes  type 
)
private
Here is the caller graph for this function:

◆ MakePolarizedIntensityNode()

casacore::LatticeExprNode PolarizationCalculator::MakePolarizedIntensityNode ( )
private
Here is the caller graph for this function:

◆ MakeSubImage()

std::shared_ptr< casacore::ImageInterface< float > > PolarizationCalculator::MakeSubImage ( casacore::IPosition &  blc,
casacore::IPosition &  trc,
int  axis,
int  pix 
)
private
Here is the caller graph for this function:

◆ MakeTotalPolarizedIntensityNode()

casacore::LatticeExprNode PolarizationCalculator::MakeTotalPolarizedIntensityNode ( )
private
Here is the caller graph for this function:

◆ SetImageStokesInfo()

void PolarizationCalculator::SetImageStokesInfo ( casacore::ImageInterface< float > &  image,
const StokesTypes stokes 
)
private
Here is the caller graph for this function:

Member Data Documentation

◆ _image

const std::shared_ptr<const casacore::ImageInterface<float> > carta::PolarizationCalculator::_image
private

◆ _image_valid

bool carta::PolarizationCalculator::_image_valid
private

◆ _stokes_images

std::vector<std::shared_ptr<casacore::ImageInterface<float> > > carta::PolarizationCalculator::_stokes_images
private
Initial value:
=
std::vector<std::shared_ptr<casacore::ImageInterface<float>>>(4)

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