fors_extract.h

00001 /* $Id: fors_extract.h,v 1.7 2007/11/26 14:00:46 jmlarsen Exp $
00002  *
00003  * This file is part of the FORS Library
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: jmlarsen $
00023  * $Date: 2007/11/26 14:00:46 $
00024  * $Revision: 1.7 $
00025  * $Name:  $
00026  */
00027 
00028 #ifndef FORS_EXTRACT_H
00029 #define FORS_EXTRACT_H
00030 
00031 #include <fors_star.h>
00032 #include <fors_image.h>
00033 
00034 #include <cpl.h>
00035 
00036 CPL_BEGIN_DECLS
00037 
00038 typedef struct _extract_method extract_method;
00039 
00040 typedef struct fors_extract_sky_stats {
00041     double mean, median, rms;
00042 } fors_extract_sky_stats;
00043 
00044 void 
00045 fors_extract_define_parameters(cpl_parameterlist *parameters, 
00046                  const char *context);
00047 extract_method *
00048 fors_extract_method_new(const cpl_parameterlist *parameters, const char *context);
00049 
00050 void
00051 fors_extract_method_delete(extract_method **em);
00052 
00053 fors_star_list *
00054 fors_extract(const fors_image *image, 
00055          const fors_setting *setting,
00056          const extract_method *em,
00057              fors_extract_sky_stats *sky_stats,
00058              cpl_image **background,
00059          cpl_table **extracted_sources);
00060 
00061 
00062 CPL_END_DECLS
00063 
00064 #endif

Generated on Wed Sep 10 07:31:51 2008 for FORS Pipeline Reference Manual by  doxygen 1.4.6