Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
FitsReaderHelper.cpp File Reference
#include "FitsReaderHelper.h"
#include "ElementsKernel/Exception.h"
#include <CCfits/CCfits>
#include <boost/lexical_cast.hpp>
#include <boost/tokenizer.hpp>
Include dependency graph for FitsReaderHelper.cpp:

Go to the source code of this file.

Namespaces

namespace  Euclid
 
namespace  Euclid::Table
 

Functions

std::vector< std::stringEuclid::Table::autoDetectColumnNames (const CCfits::Table &table_hdu)
 Reads the column names of the given table HDU.
 
std::pair< std::type_index, std::size_tEuclid::Table::asciiFormatToType (const std::string &format)
 
std::pair< std::type_index, std::size_tEuclid::Table::binaryFormatToType (const std::string &format, const std::vector< size_t > &shape)
 
std::vector< size_t > Euclid::Table::parseTDIM (const std::string &tdim)
 
std::vector< std::pair< std::type_index, std::size_t > > Euclid::Table::autoDetectColumnTypes (const CCfits::Table &table_hdu)
 Reads the column types of the given table HDU.
 
std::vector< std::stringEuclid::Table::autoDetectColumnUnits (const CCfits::Table &table_hdu)
 Reads the column units based on the TUNITn keyword.
 
std::vector< std::stringEuclid::Table::autoDetectColumnDescriptions (const CCfits::Table &table_hdu)
 Reads the column descriptions based on the TDESCn keyword.
 
template<typename T >
std::vector< Row::cell_typeEuclid::Table::convertScalarColumn (CCfits::Column &column, long first, long last)
 
template<typename T >
std::vector< Row::cell_typeEuclid::Table::convertVectorColumn (CCfits::Column &column, long first, long last)
 
template<typename T >
std::vector< Row::cell_typeEuclid::Table::convertNdArrayColumn (CCfits::Column &column, long first, long last)
 
std::vector< Row::cell_typeEuclid::Table::translateColumn (CCfits::Column &column, std::type_index type)
 Returns a vector representing the given FITS table column data, converted to the requested type.
 
std::vector< Row::cell_typeEuclid::Table::translateColumn (CCfits::Column &column, std::type_index type, long first, long last)
 

Variables

const std::vector< std::pair< char, std::type_index > > Euclid::Table::NdTypeMap
 
const std::vector< std::pair< char, std::type_index > > Euclid::Table::ScalarTypeMap
 
const std::vector< std::pair< char, std::type_index > > Euclid::Table::VectorTypeMap
 

Detailed Description

Date
April 17, 2014
Author
Nikolaos Apostolakos

Definition in file FitsReaderHelper.cpp.