FORS Pipeline Reference Manual  4.12.5
fors_calibrated_slits.h
1 /*
2  * This file is part of the MOSCA library
3  * Copyright (C) 2013 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef FORS_CALIBRATED_SLITS_H
21 #define FORS_CALIBRATED_SLITS_H
22 
23 #include <vector>
24 #include <string>
25 #include "calibrated_slit.h"
26 #include "wavelength_calibration.h"
27 #include "grism_config.h"
28 #include "mosca_image.h"
29 #include "fors_detected_slits.h"
30 
31 namespace fors
32 {
33 
34 class calibrated_slits : public std::vector<mosca::calibrated_slit>
35 {
36 public:
37  calibrated_slits(const fors::detected_slits& det_slits,
38  const mosca::wavelength_calibration& wave_calib,
39  const mosca::grism_config& grism_cfg,
40  size_t ima_nx, size_t ima_ny);
41 
42 private:
43 
44 };
45 
46 cpl_mask ** get_all_slits_valid_masks(const fors::calibrated_slits& slits,
47  mosca::axis disp_axis);
48 
49 }
50 
51 #endif