sinfo_absolute.h

00001 /*
00002  * This file is part of the ESO SINFONI Pipeline
00003  * Copyright (C) 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 * E.S.O. - VLT project
00021 *
00022 * "@(#) $Id: sinfo_absolute.h,v 1.3 2007/08/20 10:01:05 amodigli Exp $"
00023 *
00024 * who       when      what
00025 * --------  --------  ----------------------------------------------
00026 * schreib  14/11/00  created
00027 */
00028 #ifndef SINFO_ABSOLUTE_H
00029 #define SINFO_ABSOLUTE_H
00030 
00034 /*----------------------------------------------------------------------------*/
00035 
00036 
00037 /************************************************************************
00038  * absolute.h
00039  * routines to determine the absolute positions of the slitlets out of 
00040  * an emission line frame
00041  *----------------------------------------------------------------------
00042  */
00043 
00044 /*
00045  * header files
00046  */
00047 
00048 #include <cpl.h>
00049 #include "sinfo_spectrum_ops.h"
00050 #include "sinfo_msg.h"
00051 #include "sinfo_recipes.h"
00052 /*----------------------------------------------------------------------------
00053  *                        Function ANSI C prototypes
00054  *--------------------------------------------------------------------------*/
00055 
00074 float 
00075 sinfo_new_edge(float * xdat, float * parlist/*, int * npar, int * ndat */) ;
00076 
00090 float 
00091 sinfo_new_boltz ( float * xdat, float * parlist ) ;
00092 
00111 void 
00112 sinfo_new_edge_deriv(float * xdat, 
00113                      float * parlist, float * dervs/*, int * npar */) ;
00114 
00132 void 
00133 sinfo_new_boltz_deriv( float * xdat, float * parlist, float * dervs ) ;
00134 
00182 int sinfo_new_lsqfit ( float * xdat,
00183              int   * xdim,
00184              float * ydat,
00185              float * wdat,
00186              int   * ndat,
00187              float * fpar,
00188              float * epar,
00189              int   * mpar,
00190              int   * npar,
00191              float * tol ,
00192              int   * its ,
00193              float * lab  ) ;
00194 
00240 int 
00241 sinfo_new_lsqfit_edge ( float * xdat,
00242                   int   * xdim,
00243                   float * ydat,
00244                   float * wdat,
00245                   int   * ndat,
00246                   float * fpar,
00247                   float * epar,
00248                   int   * mpar,
00249                   int   * npar,
00250                   float * tol ,
00251                   int   * its ,
00252                   float * lab  ) ;
00253 
00288 int 
00289 sinfo_new_fit_slits_edge( cpl_image   * lineImage,
00290                   FitParams ** par,
00291                   float     ** sinfo_slit_pos,
00292                   int          box_length,
00293                   float        y_box,
00294                   float        diff_tol ) ;
00295 
00329 int 
00330 sinfo_new_fit_slits_boltz( cpl_image   * lineImage,
00331                    FitParams ** par,
00332                    float     ** sinfo_slit_pos,
00333                    int          box_length,
00334                    float        y_box,
00335                    float        diff_tol ) ;
00336 
00358 int 
00359 sinfo_new_fit_slits_boltz_single_line ( cpl_image   * lineImage,
00360                   float     ** sinfo_slit_pos,
00361                   int          box_length,
00362                   float        y_box,
00363                   int          low_pos,
00364                   int          high_pos ) ;
00365 
00366 
00388 int 
00389 sinfo_new_fit_slits_boltz_with_estimate ( cpl_image   * lineImage,
00390                                 float     ** sinfo_slit_pos,
00391                                 int          box_length,
00392                                 float        y_box,
00393                                 float        diff_tol,
00394                                 int          low_pos,
00395                                 int          high_pos ) ;
00396 
00397 
00420 int 
00421 sinfo_new_fit_slits_edge_with_estimate ( cpl_image   * lineImage,
00422                                 float    ** sinfo_slit_pos,
00423                                 int         box_length,
00424                                 float       y_box,
00425                                 float       diff_tol,
00426                                 int         low_pos,
00427                                 int         high_pos ) ;
00428 
00429 
00430 
00431 #endif 

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1