cphot 0.1
A C++ tool for computing photometry from spectra.
library.hpp File Reference
#include <H5Cpp.h>
#include <cphot/filter.hpp>
#include <cphot/rquantities.hpp>
#include <highfive/H5Easy.hpp>
#include <highfive/H5File.hpp>
#include <prettyprint.hpp>
#include <xtensor/xadapt.hpp>
#include <xtensor/xarray.hpp>
#include <helpers.hpp>

Go to the source code of this file.

Classes

struct  cphot::filter_t
 Structure of the HDF5 filter record. More...
 
class  cphot::HDF5Library
 Storage of filters in HDF5 format. More...
 

Namespaces

 cphot
 

Functions

std::string cphot::get_str_attribute (const H5::DataSet &ds, const std::string &attribute_name)
 Get a string attribute from a dataset. More...
 
std::string cphot::get_str_attribute (const std::string &filename, const std::string &path, const std::string &attribute_name)
 Get a string attribute from a dataset. More...
 
HighFive::CompoundType cphot::create_compound_filter_t ()
 Create a compound filter t object. More...
 
Filter cphot::get_filter_from_hdf5_library (const std::string &library_filename, const std::string &filter_name)
 Get the filter from hdf5 library object. More...
 
std::ostream & cphot::operator<< (std::ostream &os, HDF5Library &l)
 Nice representation of Filter objects. More...
 
 HIGHFIVE_REGISTER_TYPE (cphot::filter_t, cphot::create_compound_filter_t)
 

Function Documentation

◆ HIGHFIVE_REGISTER_TYPE()

HIGHFIVE_REGISTER_TYPE ( cphot::filter_t  ,
cphot::create_compound_filter_t   
)