giextraction.h
00001 /* $Id: giextraction.h,v 1.3 2008/01/08 14:23:18 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: 2008/01/08 14:23:18 $ 00024 * $Revision: 1.3 $ 00025 * $Name: giraffe-2_8_8 $ 00026 */ 00027 00028 #ifndef GIEXTRACTION_H 00029 #define GIEXTRACTION_H 00030 00031 #include <giimage.h> 00032 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00038 struct GiExtraction { 00039 GiImage* spectra; 00040 GiImage* error; 00041 GiImage* npixels; 00042 GiImage* centroid; 00043 GiImage* model; 00044 }; 00045 00046 typedef struct GiExtraction GiExtraction; 00047 00048 GiExtraction* giraffe_extraction_new(void); 00049 GiExtraction* giraffe_extraction_create(GiImage* spectra, 00050 GiImage* error, 00051 GiImage* npixels, 00052 GiImage* centroid, 00053 GiImage* model); 00054 void giraffe_extraction_delete(GiExtraction* extraction); 00055 void giraffe_extraction_destroy(GiExtraction* extraction); 00056 00057 #ifdef __cplusplus 00058 } 00059 #endif 00060 00061 #endif /* GIEXTRACTION_H */