00001 /* 00002 * This file is part of the FORS Data Reduction Pipeline 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 #ifndef FORS_CCD_CONFIG_H 00021 #define FORS_CCD_CONFIG_H 00022 00023 #include <memory> 00024 #include "fiera_config.h" 00025 00026 namespace fors 00027 { 00028 00029 /* 00030 * This class represents the CCD configuration of the FIERA controlled detectors 00031 * It inherits from mosca::fiera_config but it modifies the pre/overscan regions 00032 * in some cases due to bad performance of some detectors. 00033 * Ticket PIPE-6125 contains the background about this. 00034 */ 00035 class fiera_config : public mosca::fiera_config 00036 { 00037 public: 00038 00039 fiera_config(const cpl_propertylist * header); 00040 00041 fiera_config(); 00042 00043 virtual ~fiera_config(); 00044 }; 00045 00046 std::auto_ptr<fors::fiera_config> ccd_settings_equal(const cpl_frameset * fset); 00047 00048 void update_ccd_ron(mosca::ccd_config ccd_config, 00049 cpl_propertylist * master_bias_header); 00050 00051 std::auto_ptr<fors::fiera_config> ccd_config_read 00052 (const cpl_frame * target, const cpl_frame * bias_frame); 00053 00054 00055 } /* namespace fors */ 00056 00057 #endif /* FORS_CCD_CONFIG_H */ 00058
1.6.1