sinfo_absolute.h

00001 #ifndef SINFO_ABSOLUTE_H
00002 #define SINFO_ABSOLUTE_H
00003 /*
00004  * This file is part of the ESO SINFONI Pipeline
00005  * Copyright (C) 2004,2005 European Southern Observatory
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00020  */
00021 /*****************************************************************************
00022 * E.S.O. - VLT project
00023 *
00024 * "@(#) $Id: sinfo_absolute.h,v 1.1 2006/10/22 14:12:27 amodigli Exp $"
00025 *
00026 * who       when      what
00027 * --------  --------  ----------------------------------------------
00028 * schreib  14/11/00  created
00029 */
00030 
00031 /************************************************************************
00032  * absolute.h
00033  * routines to determine the absolute positions of the slitlets out of 
00034  * an emission line frame
00035  *----------------------------------------------------------------------
00036  */
00037 
00038 /*
00039  * header files
00040  */
00041 
00042 #include <cpl.h>
00043 #include "sinfo_spectrum_ops.h"
00044 #include "sinfo_msg.h"
00045 #include "sinfo_recipes.h"
00046 /*----------------------------------------------------------------------------
00047  *                      Function ANSI C prototypes
00048  *--------------------------------------------------------------------------*/
00049 
00068 float 
00069 sinfo_new_edge(float * xdat, float * parlist/*, int * npar, int * ndat */) ;
00070 
00084 float 
00085 sinfo_new_boltz ( float * xdat, float * parlist ) ;
00086 
00105 void 
00106 sinfo_new_edge_deriv(float * xdat, 
00107                      float * parlist, float * dervs/*, int * npar */) ;
00108 
00126 void 
00127 sinfo_new_boltz_deriv( float * xdat, float * parlist, float * dervs ) ;
00128 
00176 int sinfo_new_lsqfit ( float * xdat,
00177              int   * xdim,
00178              float * ydat,
00179              float * wdat,
00180              int   * ndat,
00181              float * fpar,
00182              float * epar,
00183              int   * mpar,
00184              int   * npar,
00185              float * tol ,
00186              int   * its ,
00187              float * lab  ) ;
00188 
00234 int 
00235 sinfo_new_lsqfit_edge ( float * xdat,
00236                   int   * xdim,
00237                   float * ydat,
00238                   float * wdat,
00239                   int   * ndat,
00240                   float * fpar,
00241                   float * epar,
00242                   int   * mpar,
00243                   int   * npar,
00244                   float * tol ,
00245                   int   * its ,
00246                   float * lab  ) ;
00247 
00282 int 
00283 sinfo_new_fit_slits_edge( cpl_image   * lineImage,
00284                   FitParams ** par,
00285                   float     ** sinfo_slit_pos,
00286                   int          box_length,
00287                   float        y_box,
00288                   float        diff_tol ) ;
00289 
00323 int 
00324 sinfo_new_fit_slits_boltz( cpl_image   * lineImage,
00325                    FitParams ** par,
00326                    float     ** sinfo_slit_pos,
00327                    int          box_length,
00328                    float        y_box,
00329                    float        diff_tol ) ;
00330 
00352 int 
00353 sinfo_new_fit_slits_boltz_single_line ( cpl_image   * lineImage,
00354                   float     ** sinfo_slit_pos,
00355                   int          box_length,
00356                   float        y_box,
00357                   int          low_pos,
00358                   int          high_pos ) ;
00359 
00360 
00382 int 
00383 sinfo_new_fit_slits_boltz_with_estimate ( cpl_image   * lineImage,
00384                                 float     ** sinfo_slit_pos,
00385                                 int          box_length,
00386                                 float        y_box,
00387                                 float        diff_tol,
00388                                 int          low_pos,
00389                                 int          high_pos ) ;
00390 
00391 
00414 int 
00415 sinfo_new_fit_slits_edge_with_estimate ( cpl_image   * lineImage,
00416                                 float    ** sinfo_slit_pos,
00417                                 int         box_length,
00418                                 float       y_box,
00419                                 float       diff_tol,
00420                                 int         low_pos,
00421                                 int         high_pos ) ;
00422 
00423 
00424 
00425 #endif 

Generated on Wed Jan 17 08:33:42 2007 for SINFONI Pipeline Reference Manual by  doxygen 1.4.4