irplib_wlxcorr.h

00001 /* $Id: irplib_wlxcorr.h,v 1.22 2013/01/29 08:43:33 jtaylor Exp $
00002  *
00003  * This file is part of the IRPLIB package
00004  * Copyright (C) 2002,2003 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: jtaylor $
00023  * $Date: 2013/01/29 08:43:33 $
00024  * $Revision: 1.22 $
00025  * $Name: HEAD $
00026  */
00027 
00028 #ifndef IRPLIB_WLXCORR_H
00029 #define IRPLIB_WLXCORR_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                 Include
00033  -----------------------------------------------------------------------------*/
00034 
00035 #include <cpl.h>
00036 
00037 /*-----------------------------------------------------------------------------
00038                                     Define
00039  -----------------------------------------------------------------------------*/
00040 
00041 /* The 4 columns of the table */
00042 #define IRPLIB_WLXCORR_COL_WAVELENGTH   "Wavelength"
00043 #define IRPLIB_WLXCORR_COL_CAT_INIT     "Catalog Initial"
00044 #define IRPLIB_WLXCORR_COL_CAT_FINAL    "Catalog Corrected"
00045 #define IRPLIB_WLXCORR_COL_OBS          "Observed"
00046 
00047 /*-----------------------------------------------------------------------------
00048                                 Functions prototypes
00049  -----------------------------------------------------------------------------*/
00050 
00051 int irplib_wlxcorr_plot_spc_table(const cpl_table *, const char *, int, int) ;
00052 int irplib_wlxcorr_catalog_plot(const cpl_bivector *, double, double) ;
00053 int irplib_wlxcorr_plot_solution(const cpl_polynomial *, const cpl_polynomial *,
00054         const cpl_polynomial *, int, int) ;
00055 
00056 cpl_polynomial * irplib_wlxcorr_best_poly(const cpl_vector *, 
00057         const cpl_bivector *, int, const cpl_polynomial *, const cpl_vector *, 
00058         int, double, double, double *, cpl_table **, cpl_vector **) ;
00059 cpl_table * irplib_wlxcorr_gen_spc_table(const cpl_vector *, 
00060         const cpl_bivector *, double, double, const cpl_polynomial *,
00061         const cpl_polynomial *) ;
00062 cpl_bivector * irplib_wlxcorr_cat_extract(const cpl_bivector *, double, double);
00063 cpl_vector * irplib_wlxcorr_convolve_create_kernel(double, double) ;
00064 int irplib_wlxcorr_convolve(cpl_vector *,const cpl_vector *) ;
00065 
00066 
00067 cpl_error_code irplib_wlxcorr_vector_fill_line_spectrum(cpl_vector *,
00068                                                 const cpl_polynomial *,
00069                                                 const cpl_bivector *,
00070                                                 double, double, double,
00071                                                 int);
00072 
00073 #endif

Generated on 3 Mar 2013 for DETMON Pipeline Reference Manual by  doxygen 1.6.1