00001 /* 00002 * This file is part of Healpix_cxx. 00003 * 00004 * Healpix_cxx is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * Healpix_cxx is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with Healpix_cxx; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 * 00018 * For more information about HEALPix, see http://healpix.sourceforge.net 00019 */ 00020 00021 /* 00022 * Healpix_cxx is being developed at the Max-Planck-Institut fuer Astrophysik 00023 * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt 00024 * (DLR). 00025 */ 00026 00027 /*! \file moc_fitsio.h 00028 * FITS I/O for multi-order coverage information 00029 * 00030 * Copyright (C) 2014 Max-Planck-Society 00031 * \author Martin Reinecke 00032 */ 00033 00034 #ifndef PLANCK_MOC_FITSIO_H 00035 #define PLANCK_MOC_FITSIO_H 00036 00037 #include <string> 00038 #include "moc.h" 00039 00040 /*! \defgroup moc_fitsio_group FITS-based I/O of MOC objects */ 00041 /*! \{ */ 00042 00043 template<typename T> void read_Moc_from_fits 00044 (const std::string &filename, Moc<T> &moc, bool peano=false); 00045 00046 template<typename T> void write_Moc_to_fits 00047 (const std::string &outfile, const Moc<T> &moc, bool peano=false); 00048 00049 /*! \} */ 00050 00051 #endif