X-shooter Pipeline Reference Manual 3.8.15
xsh_utils_vector.h
Go to the documentation of this file.
1/* a
2 * This file is part of the ESO X-shooter Pipeline *
3 * Copyright (C) 2006 European Southern Observatory *
4 * *
5 * This library is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA *
18 * */
19
20/*
21 * $Author: amodigli $
22 * $Date: 2013-02-20 18:04:57 $
23 * $Revision: 1.1 $
24 * $Name: not supported by cvs2svn $
25 */
26#ifndef XSH_UTILS_VECTOR_H
27#define XSH_UTILS_VECTOR_H
28
29/*----------------------------------------------------------------------------
30 Includes
31 ----------------------------------------------------------------------------*/
32
33#include <cpl.h>
34
35cpl_vector*
36xsh_vector_fit_slope(cpl_vector* vec_wave,cpl_vector* vec_flux,const double wmin_max,const double wmax_min,const int degree);
37cpl_vector*
38xsh_vector_upsample(cpl_vector* vin,const int factor);
39
40cpl_vector*
41xsh_vector_extract_range(cpl_vector* vin,const cpl_size pos, const int hsize);
42
43#endif
static int degree
cpl_vector * xsh_vector_fit_slope(cpl_vector *vec_wave, cpl_vector *vec_flux, const double wmin_max, const double wmax_min, const int degree)
cpl_vector * xsh_vector_upsample(cpl_vector *vin, const int factor)
cpl_vector * xsh_vector_extract_range(cpl_vector *vin, const cpl_size pos, const int hsize)