00001 /* 00002 * This file is part of the ESO UVES Pipeline 00003 * Copyright (C) 2004,2005 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, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00018 */ 00019 00020 /* 00021 * $Author: jmlarsen $ 00022 * $Date: 2007/06/26 14:51:01 $ 00023 * $Revision: 1.5 $ 00024 * $Name: uves-5_0_0 $ 00025 * $Log: uves_test_simulate.h,v $ 00026 * Revision 1.5 2007/06/26 14:51:01 jmlarsen 00027 * Fixed bug in load_linetable 00028 * 00029 * Revision 1.4 2007/06/20 15:55:37 jmlarsen 00030 * Parametrized assumption about MIDAS format 00031 * 00032 * Revision 1.3 2007/06/20 15:49:31 jmlarsen 00033 * Support creating first/last abs. order number 00034 * 00035 * Revision 1.2 2007/05/22 11:28:14 jmlarsen 00036 * Removed unused variables 00037 * 00038 * Revision 1.1 2007/03/15 12:47:34 jmlarsen 00039 * Imported sources 00040 * 00041 */ 00042 #ifndef UVES_TEST_SIMULATE_H 00043 #define UVES_TEST_SIMULATE_H 00044 00045 #include <uves_utils_polynomial.h> 00046 #include <cpl.h> 00047 #include <stdbool.h> 00048 00049 void 00050 create_order_table(cpl_table **ordertable, polynomial **order_locations, cpl_table **tracetable, 00051 int minorder, int maxorder, int nx); 00052 00053 00054 void 00055 create_line_table(cpl_table **linetable, polynomial **dispersion, polynomial **abs_orders, 00056 int *firstabs, int *lastabs, 00057 int minorder, int maxorder, int nx); 00058 00059 #endif