fors_calibrated_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_CALIBRATED_SLITS_H
00021 #define FORS_CALIBRATED_SLITS_H
00022 
00023 #include <vector>
00024 #include <string>
00025 #include "calibrated_slit.h"
00026 #include "wavelength_calibration.h"
00027 #include "grism_config.h"
00028 #include "mosca_image.h"
00029 #include "fors_detected_slits.h"
00030 
00031 namespace fors
00032 {
00033 
00034 class calibrated_slits : public std::vector<mosca::calibrated_slit>
00035 {
00036 public:
00037     calibrated_slits(const fors::detected_slits& det_slits,
00038                      const mosca::wavelength_calibration& wave_calib,
00039                      const mosca::grism_config& grism_cfg,
00040                      size_t ima_nx, size_t ima_ny);
00041     
00042 private:
00043     
00044 };
00045 
00046 cpl_mask ** get_all_slits_valid_masks(const fors::calibrated_slits& slits,
00047                                       mosca::axis disp_axis);
00048 
00049 }
00050 
00051 #endif

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