CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
Casacore.cc File Reference
#include "Casacore.h"
#include <casacore/casa/OS/File.h>
#include <casacore/casa/Quanta/UnitMap.h>
#include "ImageData/CartaMiriadImage.h"
#include "Logger/Logger.h"
Include dependency graph for Casacore.cc:

Functions

bool CheckFolderPaths (string &top_level_string, string &starting_string)
 
bool IsSubdirectory (string folder, string top_folder)
 
casacore::String GetResolvedFilename (const string &root_dir, const string &directory, const string &file, string &message)
 
void GetSpectralCoordPreferences (casacore::ImageInterface< float > *image, bool &prefer_velocity, bool &optical_velocity, bool &prefer_wavelength, bool &air_wavelength)
 
std::string FormatBeam (const casacore::GaussianBeam &gaussian_beam)
 
std::string FormatQuantity (const casacore::Quantity &quantity)
 
void NormalizeUnit (casacore::String &unit)
 
bool ParseHistoryBeamHeader (std::string &header, std::string &bmaj, std::string &bmin, std::string &bpa)
 

Function Documentation

◆ CheckFolderPaths()

bool CheckFolderPaths ( string &  top_level_string,
string &  starting_string 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FormatBeam()

std::string FormatBeam ( const casacore::GaussianBeam &  gaussian_beam)

◆ FormatQuantity()

std::string FormatQuantity ( const casacore::Quantity &  quantity)

◆ GetResolvedFilename()

casacore::String GetResolvedFilename ( const string &  root_dir,
const string &  directory,
const string &  file,
string &  message 
)
Here is the caller graph for this function:

◆ GetSpectralCoordPreferences()

void GetSpectralCoordPreferences ( casacore::ImageInterface< float > *  image,
bool &  prefer_velocity,
bool &  optical_velocity,
bool &  prefer_wavelength,
bool &  air_wavelength 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSubdirectory()

bool IsSubdirectory ( string  folder,
string  top_folder 
)
Here is the caller graph for this function:

◆ NormalizeUnit()

void NormalizeUnit ( casacore::String &  unit)
Here is the caller graph for this function:

◆ ParseHistoryBeamHeader()

bool ParseHistoryBeamHeader ( std::string &  header,
std::string &  bmaj,
std::string &  bmin,
std::string &  bpa 
)
Here is the caller graph for this function: