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

#include <CartaMiriadImage.h>

Inheritance diagram for carta::CartaMiriadImage:
[legend]
Collaboration diagram for carta::CartaMiriadImage:
[legend]

Public Member Functions

 CartaMiriadImage (const std::string &filename, casacore::MaskSpecifier=casacore::MaskSpecifier())
 
 CartaMiriadImage (const CartaMiriadImage &other)
 
 ~CartaMiriadImage ()
 
casacore::SpectralCoordinate::SpecType NativeType ()
 
casacore::String imageType () const override
 
casacore::String name (bool stripPath=false) const override
 
casacore::ImageInterface< float > * cloneII () const override
 
casacore::Bool isMasked () const override
 
casacore::Bool hasPixelMask () const override
 
const casacore::Lattice< bool > & pixelMask () const override
 
casacore::Lattice< bool > & pixelMask () override
 
casacore::Bool doGetMaskSlice (casacore::Array< bool > &buffer, const casacore::Slicer &section) override
 

Private Member Functions

void SetUp ()
 
void OpenImage ()
 
void CloseImage ()
 
void SetMask ()
 
void SetNativeType ()
 
void GetPlaneFlags (casacore::Array< bool > &buffer, const casacore::Slicer &section, int z=-1, int w=-1)
 

Private Attributes

casacore::String _filename
 
casacore::MaskSpecifier _mask_spec
 
bool _is_open
 
int _file_handle
 
casacore::SpectralCoordinate::SpecType _native_type
 
bool _has_mask
 
casacore::String _mask_name
 
casacore::Lattice< casacore::Bool > * _pixel_mask
 

Constructor & Destructor Documentation

◆ CartaMiriadImage() [1/2]

CartaMiriadImage::CartaMiriadImage ( const std::string &  filename,
casacore::MaskSpecifier  mask_spec = casacore::MaskSpecifier() 
)
Here is the call graph for this function:

◆ CartaMiriadImage() [2/2]

CartaMiriadImage::CartaMiriadImage ( const CartaMiriadImage other)
Here is the call graph for this function:

◆ ~CartaMiriadImage()

CartaMiriadImage::~CartaMiriadImage ( )
Here is the call graph for this function:

Member Function Documentation

◆ cloneII()

casacore::ImageInterface< float > * CartaMiriadImage::cloneII ( ) const
override

◆ CloseImage()

void CartaMiriadImage::CloseImage ( )
private
Here is the caller graph for this function:

◆ doGetMaskSlice()

casacore::Bool CartaMiriadImage::doGetMaskSlice ( casacore::Array< bool > &  buffer,
const casacore::Slicer &  section 
)
override
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPlaneFlags()

void CartaMiriadImage::GetPlaneFlags ( casacore::Array< bool > &  buffer,
const casacore::Slicer &  section,
int  z = -1,
int  w = -1 
)
private
Here is the caller graph for this function:

◆ hasPixelMask()

casacore::Bool CartaMiriadImage::hasPixelMask ( ) const
override

◆ imageType()

casacore::String CartaMiriadImage::imageType ( ) const
override

◆ isMasked()

casacore::Bool CartaMiriadImage::isMasked ( ) const
override

◆ name()

casacore::String CartaMiriadImage::name ( bool  stripPath = false) const
override

◆ NativeType()

casacore::SpectralCoordinate::SpecType carta::CartaMiriadImage::NativeType ( )
inline
Here is the caller graph for this function:

◆ OpenImage()

void CartaMiriadImage::OpenImage ( )
private
Here is the caller graph for this function:

◆ pixelMask() [1/2]

const casacore::Lattice< bool > & CartaMiriadImage::pixelMask ( ) const
override
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pixelMask() [2/2]

casacore::Lattice< bool > & CartaMiriadImage::pixelMask ( )
override
Here is the call graph for this function:

◆ SetMask()

void CartaMiriadImage::SetMask ( )
private
Here is the caller graph for this function:

◆ SetNativeType()

void CartaMiriadImage::SetNativeType ( )
private
Here is the caller graph for this function:

◆ SetUp()

void CartaMiriadImage::SetUp ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _file_handle

int carta::CartaMiriadImage::_file_handle
private

◆ _filename

casacore::String carta::CartaMiriadImage::_filename
private

◆ _has_mask

bool carta::CartaMiriadImage::_has_mask
private

◆ _is_open

bool carta::CartaMiriadImage::_is_open
private

◆ _mask_name

casacore::String carta::CartaMiriadImage::_mask_name
private

◆ _mask_spec

casacore::MaskSpecifier carta::CartaMiriadImage::_mask_spec
private

◆ _native_type

casacore::SpectralCoordinate::SpecType carta::CartaMiriadImage::_native_type
private

◆ _pixel_mask

casacore::Lattice<casacore::Bool>* carta::CartaMiriadImage::_pixel_mask
private

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