Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include "FitsReaderHelper.h"
#include "ElementsKernel/Exception.h"
#include <CCfits/CCfits>
#include <boost/lexical_cast.hpp>
#include <boost/tokenizer.hpp>
Go to the source code of this file.
Namespaces | |
namespace | Euclid |
namespace | Euclid::Table |
Functions | |
std::vector< std::string > | Euclid::Table::autoDetectColumnNames (const CCfits::Table &table_hdu) |
Reads the column names of the given table HDU. | |
std::pair< std::type_index, std::size_t > | Euclid::Table::asciiFormatToType (const std::string &format) |
std::pair< std::type_index, std::size_t > | Euclid::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::string > | Euclid::Table::autoDetectColumnUnits (const CCfits::Table &table_hdu) |
Reads the column units based on the TUNITn keyword. | |
std::vector< std::string > | Euclid::Table::autoDetectColumnDescriptions (const CCfits::Table &table_hdu) |
Reads the column descriptions based on the TDESCn keyword. | |
template<typename T > | |
std::vector< Row::cell_type > | Euclid::Table::convertScalarColumn (CCfits::Column &column, long first, long last) |
template<typename T > | |
std::vector< Row::cell_type > | Euclid::Table::convertVectorColumn (CCfits::Column &column, long first, long last) |
template<typename T > | |
std::vector< Row::cell_type > | Euclid::Table::convertNdArrayColumn (CCfits::Column &column, long first, long last) |
std::vector< Row::cell_type > | Euclid::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_type > | Euclid::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 |
Definition in file FitsReaderHelper.cpp.