MIDI Pipeline Reference Manual  2.8.3
midi_cplutils.h
1 /*
2  * This file is part of the MIDI Pipeline
3  * Copyright (C) 2002, 2003, 2004, 2005 European Southern Observatory
4  *
5  * This program 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 #ifndef MIDI_CPLUTILS_H
21 #define MIDI_CPLUTILS_H
22 
23 #include <cpl.h>
24 
25 int timetable_to_cpltable(const char * columname,
26  cpl_table * intable,
27  cpl_table * outtable);
28 
29 int table_to_imglst(const char * columname,
30  cpl_imagelist * imglst,
31  cpl_table * table);
32 
33 int midi_check_sof(cpl_frameset * frameset, const char * tag);
34 
35 cpl_polynomial * midi_polynomial_fit_1d_create(
36  const cpl_vector * x_pos,
37  const cpl_vector * values,
38  int degree,
39  double * mse);
40 #endif