Tools to read and write filter libraries.
More...
Tools to read and write filter libraries.
- Version
- 0.1
◆ download_pyphot_hdf5library()
std::string cphot::download_pyphot_hdf5library |
( |
const std::string & |
where = "./pyphot_library.hdf5" | ) |
|
Download the filter library from pyphot repository.
The url to pyphot's file is hard-coded in the function for: "https://raw.githubusercontent.com/mfouesneau/pyphot/master/pyphot/libs/new_filters.hd5"
- Parameters
-
where | where to store the hdf5 file |
- Returns
- std::string path to the hdf5 file
Definition at line 97 of file io.hpp.
◆ download_svo_filter()
Filter cphot::download_svo_filter |
( |
const std::string & |
id | ) |
|
◆ get_filter() [1/2]
Filter cphot::get_filter |
( |
const std::string & |
vot_filename | ) |
|
Get the filter object from a VOTable file.
- Parameters
-
vot_filename | path to the xml file |
- Returns
- Filter object
Definition at line 62 of file io.hpp.
◆ get_filter() [2/2]
Get the filter object from VOTable object.
- Parameters
-
- Returns
- Filter object
Definition at line 23 of file io.hpp.