![]() |
CARTA Backend
The backend component of CARTA
|
#include "Casacore.h"
#include <casacore/casa/OS/File.h>
#include <casacore/casa/Quanta/UnitMap.h>
#include "ImageData/CartaMiriadImage.h"
#include "Logger/Logger.h"
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) |
bool CheckFolderPaths | ( | string & | top_level_string, |
string & | starting_string | ||
) |
std::string FormatBeam | ( | const casacore::GaussianBeam & | gaussian_beam | ) |
std::string FormatQuantity | ( | const casacore::Quantity & | quantity | ) |
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 | ||
) |
bool IsSubdirectory | ( | string | folder, |
string | top_folder | ||
) |
void NormalizeUnit | ( | casacore::String & | unit | ) |
bool ParseHistoryBeamHeader | ( | std::string & | header, |
std::string & | bmaj, | ||
std::string & | bmin, | ||
std::string & | bpa | ||
) |