midi_cplutils.h

00001 /*
00002  * This file is part of the MIDI Pipeline
00003  * Copyright (C) 2002, 2003, 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 #ifndef MIDI_CPLUTILS_H
00021 #define MIDI_CPLUTILS_H
00022 
00023 #include <cpl.h>
00024 
00025 int timetable_to_cpltable(const char * columname,
00026                           cpl_table * intable,
00027                           cpl_table * outtable);
00028 
00029 int table_to_imglst(const char * columname,
00030                     cpl_imagelist * imglst,
00031                     cpl_table * table);
00032 
00033 int midi_check_sof(cpl_frameset * frameset, const char * tag);
00034 
00035 cpl_polynomial * midi_polynomial_fit_1d_create(
00036         const cpl_vector    *   x_pos,
00037         const cpl_vector    *   values,
00038         int                     degree,
00039         double              *   mse);
00040 #endif

Generated on 11 Feb 2011 for MIDI Pipeline Reference Manual by  doxygen 1.6.1