Main Page   Data Structures   File List   Data Fields   Globals  

read_fits.c File Reference

#include <stdlib.h>
#include "exchange.h"
#include "fitsio.h"

Functions

int read_oi_array (fitsfile *fptr, char *arrname, oi_array *array, int *status)
 Read OI_ARRAY fits binary table. More...

int read_oi_target (fitsfile *fptr, oi_target *targets, int *status)
 Read OI_TARGET fits binary table. More...

int read_oi_wavelength (fitsfile *fptr, char *insname, oi_wavelength *wave, int *status)
 Read OI_WAVELENGTH fits binary table. More...

int read_next_oi_vis (fitsfile *fptr, oi_vis *vis, int *status)
 Read next OI_VIS fits binary table. More...

int read_next_oi_vis2 (fitsfile *fptr, oi_vis2 *vis2, int *status)
 Read next OI_VIS2 fits binary table. More...

int read_next_oi_t3 (fitsfile *fptr, oi_t3 *t3, int *status)
 Read next OI_T3 fits binary table. More...


Function Documentation

int read_oi_array fitsfile *    fptr,
char *    arrname,
oi_array   array,
int *    status
 

Read OI_ARRAY fits binary table.

Parameters:
fptr  see cfitsio documentation
arrname  read table with this value for ARRNAME
array  ptr to array data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of array data struct are undefined

int read_oi_target fitsfile *    fptr,
oi_target   targets,
int *    status
 

Read OI_TARGET fits binary table.

Parameters:
fptr  see cfitsio documentation
targets  ptr to targets data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of targets data struct are undefined

int read_oi_wavelength fitsfile *    fptr,
char *    insname,
oi_wavelength   wave,
int *    status
 

Read OI_WAVELENGTH fits binary table.

Parameters:
fptr  see cfitsio documentation
insname  read table with this value for INSNAME
wave  ptr to wavelength data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of wavelength data struct are undefined

int read_next_oi_vis fitsfile *    fptr,
oi_vis   vis,
int *    status
 

Read next OI_VIS fits binary table.

Parameters:
fptr  see cfitsio documentation
vis  ptr to data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of data struct are undefined

int read_next_oi_vis2 fitsfile *    fptr,
oi_vis2   vis2,
int *    status
 

Read next OI_VIS2 fits binary table.

Parameters:
fptr  see cfitsio documentation
vis2  ptr to data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of data struct are undefined

int read_next_oi_t3 fitsfile *    fptr,
oi_t3   t3,
int *    status
 

Read next OI_T3 fits binary table.

Parameters:
fptr  see cfitsio documentation
t3  ptr to data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code (also assigned to *status). Contents of data struct are undefined


Generated on Mon Apr 7 11:31:32 2003 for OI FITS Example Code by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002