- routines to determine the absolute positions of the slitlets out of an emission line frame


Functions

float edge (float *xdat, float *parlist)
 calculates the value of a slope function with parameters parlist at the position xdat. More...

float hat2 (float *xdat, float *parlist)
 calculates the value of a hat function with parameters parlist at the position xdat. More...


Function Documentation

float edge float *    xdat,
float *    parlist
 

calculates the value of a slope function with parameters parlist at the position xdat.

Parameters:
xdat  position array
parlist  parameter list
Returns:
function value of a linear slope function.
The parameter elements are:
  1. parlist(0): pos1
  2. parlist(1): pos2
  3. parlist(2): intensity left
  4. parlist(3): intensity right.
This routine returns a function with a constant intensity value for xdat values smaller than pos1, linear increasing between pos1 and pos2, constant intensity value for xdat values greater than pos2

Definition at line 216 of file absolute.c.

float hat2 float *    xdat,
float *    parlist
 

calculates the value of a hat function with parameters parlist at the position xdat.

Parameters:
xdat  position array
parlist  parameter list
Returns:
function value of a linear hat function.
-The parameter list values are:
  1. parlist(0): pos1
  2. parlist(1): pos2
  3. parlist(2): pos3
  4. parlist(3): pos4
  5. parlist(4): background left
  6. parlist(5): background right
  7. parlist(6): intensity left
  8. parlist(7): intensity right
This function returns a function with a constant background value for xdat values smaller than pos1, linear increasing between pos1 and pos2, linear between pos2 and pos3, linear decreasing between pos3 and pos4, and constant background value for xdat values greater than pos4.

Definition at line 275 of file absolute.c.


Generated on Wed Oct 26 13:08:56 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001