Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

extract/lib/io.c File Reference

I/O utilities, to be included in C_iolibs. More...

Go to the source code of this file.

Functions

int get_lenses_col (E3D_file *frame, char *lab_col, void *zlens, int *il)
 Get spaxel-related quantities from table.

double RD_frame_interp (IMAGE2D *frame, double x, double y)
 Interpolated RD_frame.


Variables

IO_Format InputIO
IO_Format OutputIO


Detailed Description

I/O utilities, to be included in C_iolibs.

Copyright:
(c) 2003 CRAL-Observatoire de Lyon
Date:
Tue Mar 23 16:45:34 2004
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.5
Id
io.c,v 1.5 2004/07/22 15:23:18 ycopin Exp

Definition in file io.c.


Function Documentation

int get_lenses_col E3D_file *  frame,
char *  lab_col,
void *  zlens,
int *  il
 

Get spaxel-related quantities from table.

Parameters:
frame E3D file structure
lab_col Column label
zlens List of quantities
il List of table rows
Returns:
Status
Note:
Based on get_lenses_coord

Todo:
In the E3D case, one has to specify the science table extension name in which to look to for the specified column. For the moment, look in the table associated to the cube (the data table?)

Definition at line 41 of file io.c.

References InputIO.

Referenced by main().

double RD_frame_interp IMAGE2D *  frame,
double  x,
double  y
 

Interpolated RD_frame.

Read a frame at a given world-coordinate (x,y). E.g. if

\[ (x,y) = (startx + i\times stepx, starty + j\times stepy) \]

then returns RD_frame(frame,i,j).

Parameters:
frame Input frame
x 
y Input world coordinates
Returns:
Interpolated value (or MAXDOUBLE if outside frame)

Definition at line 121 of file io.c.

Referenced by nllsqfit_mask().


Variable Documentation

IO_Format InputIO
 

Definition at line 20 of file io.c.

Referenced by get_lenses_col().

IO_Format OutputIO
 

Definition at line 20 of file io.c.


Generated on Tue Nov 23 18:04:21 2004 for Snifs by doxygen 1.3.3