fors_detected_slits.h

00001 /* 
00002  * This file is part of the MOSCA library
00003  * Copyright (C) 2013 European Southern Observatory
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00018  */
00019 
00020 #ifndef FORS_DETECTED_SLITS_H
00021 #define FORS_DETECTED_SLITS_H
00022 
00023 #include <vector>
00024 #include <string>
00025 #include "detected_slit.h"
00026 #include "wavelength_calibration.h"
00027 #include "grism_config.h"
00028 #include "mosca_image.h"
00029 
00030 namespace fors
00031 {
00032 
00033 typedef std::vector<mosca::detected_slit> detected_slits;
00034 
00035 detected_slits detected_slits_load_fits(const std::string& fitsfile_slit_loc,
00036                                         const std::string& fitsfile_curv_coeff,
00037                                         int image_size_disp);
00038 
00039 detected_slits detected_slits_from_tables(cpl_table * slit_loc,
00040                                           cpl_table * curv_coeff,
00041                                           int image_size_disp);
00042 
00043 }
00044 
00045 #endif

Generated on 12 Feb 2016 for FORS Pipeline Reference Manual by  doxygen 1.6.1