Healpix C++  3.82
moc_fitsio.h
Go to the documentation of this file.
1 /*
2  * This file is part of Healpix_cxx.
3  *
4  * Healpix_cxx is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * Healpix_cxx is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Healpix_cxx; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  * For more information about HEALPix, see http://healpix.sourceforge.net
19  */
20 
21 /*
22  * Healpix_cxx is being developed at the Max-Planck-Institut fuer Astrophysik
23  * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
24  * (DLR).
25  */
26 
27 /*! \file moc_fitsio.h
28  * FITS I/O for multi-order coverage information
29  *
30  * Copyright (C) 2014-2017 Max-Planck-Society
31  * \author Martin Reinecke
32  */
33 
34 #ifndef PLANCK_MOC_FITSIO_H
35 #define PLANCK_MOC_FITSIO_H
36 
37 #include <string>
38 #include "moc.h"
39 
40 /*! \defgroup moc_fitsio_group FITS-based I/O of MOC objects */
41 /*! \{ */
42 
43 template<typename T> Moc<T> read_Moc_from_fits
44  (const std::string &filename, bool peano=false);
45 
46 template<typename T> void write_Moc_to_fits
47  (const std::string &outfile, const Moc<T> &moc, bool peano=false);
48 
49 /*! \} */
50 
51 #endif

Generated on Thu Jul 28 2022 17:32:07 for Healpix C++