1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
/* $Id: irplib_wlxcorr.h,v 1.22 2013-01-29 08:43:33 jtaylor Exp $
*
* This file is part of the IRPLIB package
* Copyright (C) 2002,2003 European Southern Observatory
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
*/
/*
* $Author: jtaylor $
* $Date: 2013-01-29 08:43:33 $
* $Revision: 1.22 $
* $Name: not supported by cvs2svn $
*/
#ifndef IRPLIB_WLXCORR_H
#define IRPLIB_WLXCORR_H
/*-----------------------------------------------------------------------------
Include
-----------------------------------------------------------------------------*/
#include <cpl.h>
/*-----------------------------------------------------------------------------
Define
-----------------------------------------------------------------------------*/
/* The 4 columns of the table */
#define IRPLIB_WLXCORR_COL_WAVELENGTH "Wavelength"
#define IRPLIB_WLXCORR_COL_CAT_INIT "Catalog Initial"
#define IRPLIB_WLXCORR_COL_CAT_FINAL "Catalog Corrected"
#define IRPLIB_WLXCORR_COL_OBS "Observed"
/*-----------------------------------------------------------------------------
Functions prototypes
-----------------------------------------------------------------------------*/
int irplib_wlxcorr_plot_spc_table(const cpl_table *, const char *, int, int) ;
int irplib_wlxcorr_catalog_plot(const cpl_bivector *, double, double) ;
int irplib_wlxcorr_plot_solution(const cpl_polynomial *, const cpl_polynomial *,
const cpl_polynomial *, int, int) ;
cpl_polynomial * irplib_wlxcorr_best_poly(const cpl_vector *,
const cpl_bivector *, int, const cpl_polynomial *, const cpl_vector *,
int, double, double, double *, cpl_table **, cpl_vector **) ;
cpl_table * irplib_wlxcorr_gen_spc_table(const cpl_vector *,
const cpl_bivector *, double, double, const cpl_polynomial *,
const cpl_polynomial *) ;
cpl_bivector * irplib_wlxcorr_cat_extract(const cpl_bivector *, double, double);
cpl_vector * irplib_wlxcorr_convolve_create_kernel(double, double) ;
int irplib_wlxcorr_convolve(cpl_vector *,const cpl_vector *) ;
cpl_error_code irplib_wlxcorr_vector_fill_line_spectrum(cpl_vector *,
const cpl_polynomial *,
const cpl_bivector *,
double, double, double,
int);
#endif
|