00001 /* 00002 * This file is part of the FORS Library 00003 * Copyright (C) 2002-2010 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 St, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 00020 00021 #ifndef FORS_SATURATION_MOS_H 00022 #define FORS_SATURATION_MOS_H 00023 00024 #include <cpl.h> 00025 #include <vector> 00026 #include "mosca_image.h" 00027 #include "fors_calibrated_slits.h" 00028 00029 /* Saturation computation */ 00030 void fors_saturation_reject_sat_slits(std::vector<mosca::image>& raw_flats, 00031 const fors::calibrated_slits& slits, 00032 cpl_mask ** non_linear_flat_masks, 00033 cpl_mask ** saturated_flat_masks, 00034 double max_nonlinear_ratio, 00035 std::vector<std::vector<double> >& slit_nonlinear_ratio, 00036 std::vector<std::vector<int> >& slit_nonlinear_count); 00037 00038 #endif
1.6.1