RTC Toolkit 4.0.1
Loading...
Searching...
No Matches
Namespaces | Functions
fitsIoFunctions.cpp File Reference

Implementation of FITS I/O helper functions. More...

#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/trim.hpp>
#include "rtctk/componentFramework/fitsIoFunctions.hpp"

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

std::string rtctk::componentFramework::GetCfitsioErrorMsg (int status)
 Helper function to convert a Cfitsio status code to a human readable message.
 
std::string rtctk::componentFramework::CfitsioImageTypeToString (int bitpix)
 Returns a string representation of a Cfitsio image type code.
 
std::string rtctk::componentFramework::CfitsioDataTypeToString (int datatype)
 Returns a string representation of a Cfitsio data type code.
 
const std::type_info & rtctk::componentFramework::GetFitsImageType (const std::string &filename)
 Get the C++ type corresponding to a FITS image.
 
std::size_t rtctk::componentFramework::GetFitsImageSize (const std::string &filename)
 Get the number of pixels in a FITS image.
 

Detailed Description

Implementation of FITS I/O helper functions.