ifw-ccf  3.0.0-pre2
Namespaces | Functions
fits.cpp File Reference
#include <boost/exception/diagnostic_information.hpp>
#include <ccf/common/base.hpp>
#include <ccf/common/fits.hpp>

Namespaces

 ccf
 
 ccf::common
 
 ccf::common::fits
 

Functions

int ccf::common::fits::BitpixToCfitsioDataType (const int8_t bitpix)
 Extract category name from PAF key. More...
 
void ccf::common::fits::GetKeys (std::shared_ptr< CCfits::FITS > &fits_handle, const int16_t hdu_nb, const std::vector< std::string > &keys, std::map< std::string, std::pair< std::string, std::string >> &key_values, const bool ignore_missing_keys)
 
int8_t ccf::common::fits::BitpixToBytesPerPixel (const int8_t bitpix)
 Convert the value of BITPIX into the corresponding bytes per pixel. More...
 
void ccf::common::fits::LoadImageData (const std::string &filename, const int16_t hdu_nb, const int8_t output_bitpix, void **image_buffer, uint32_t &image_size, std::map< std::string, std::pair< std::string, std::string >> &key_values, const std::list< std::string > &req_keys)
 
int ccf::common::fits::DataTypeToBzero (const int fits_data_type)
 Convert the data type into the corresponding BZERO value. More...
 
void ccf::common::fits::AppendImageExtension (std::shared_ptr< CCfits::FITS > &fits_handle, const core::dit::did::Did &dictionary, std::string &ext_name, const int8_t bitpix, const std::vector< int32_t > &naxes, const uint32_t image_size, const void *image_buffer, const uint16_t nb_of_hdr_blocks=1)
 Append an image extension to the existing FITS file. More...
 
uint16_t ccf::common::fits::GetNbOfHdus (std::shared_ptr< CCfits::FITS > &fits_handle)
 Return number of HDUs in the FITS file referenced to by the handle. More...