GIRAFFE Pipeline Reference Manual

gimatrix.h

00001 /* $Id: gimatrix.h,v 1.11 2006/07/12 15:25:57 rpalsa Exp $
00002  *
00003  * This file is part of the GIRAFFE Pipeline
00004  * Copyright (C) 2002-2006 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  02110-1301  USA
00019  */
00020 
00021 /*
00022  * $Author: rpalsa $
00023  * $Date: 2006/07/12 15:25:57 $
00024  * $Revision: 1.11 $
00025  * $Name: giraffe-2_8_1 $
00026  */
00027 
00028 #ifndef GIMATRIX_H
00029 #define GIMATRIX_H
00030 
00031 #include <cxtypes.h>
00032 
00033 #include <cpl_macros.h>
00034 #include <cpl_matrix.h>
00035 #include <cpl_image.h>
00036 
00037 
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 
00042 
00043     /*
00044      * Matrix utilities
00045      */
00046 
00047     cxdouble giraffe_matrix_sigma_mean(const cpl_matrix *, cxdouble);
00048     cxdouble giraffe_matrix_sigma_fit(const cpl_matrix *,
00049                                       const cpl_matrix *);
00050     cxint giraffe_matrix_sort(cpl_matrix*);
00051 
00052     cpl_matrix *giraffe_matrix_leastsq(const cpl_matrix *,
00053                                        const cpl_matrix *);
00054 
00055     cxint giraffe_matrix_clear(cpl_matrix *matrix);
00056 
00057     void giraffe_matrix_dump(const cpl_matrix *matrix, cxint max_rows);
00058 
00059 
00060     /*
00061      * Matrix conversions
00062      */
00063 
00064     cpl_image *giraffe_matrix_create_image(const cpl_matrix *matrix);
00065 
00066 
00067 #ifdef __cplusplus
00068 }
00069 #endif
00070 
00071 #endif /* GIMATRIX_H */

This file is part of the GIRAFFE Pipeline Reference Manual 2.8.1.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Mon Aug 3 13:13:34 2009 by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2004