Main Page   Data Structures   File List   Data Fields   Globals  

write_fits.c File Reference

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

Functions

int write_oi_array (fitsfile *fptr, oi_array array, int extver, int *status)
 Write OI_ARRAY fits binary table. More...

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

int write_oi_wavelength (fitsfile *fptr, oi_wavelength wave, int extver, int *status)
 Write OI_WAVELENGTH fits binary table. More...

int write_oi_vis (fitsfile *fptr, oi_vis vis, int extver, int *status)
 Write OI_VIS fits binary table. More...

int write_oi_vis2 (fitsfile *fptr, oi_vis2 vis2, int extver, int *status)
 Write OI_VIS2 fits binary table. More...

int write_oi_t3 (fitsfile *fptr, oi_t3 t3, int extver, int *status)
 Write OI_T3 fits binary table. More...


Function Documentation

int write_oi_array fitsfile *    fptr,
oi_array    array,
int    extver,
int *    status
 

Write OI_ARRAY fits binary table.

Parameters:
fptr  see cfitsio documentation
array  array data struct, see exchange.h
extver  value for EXTVER keyword
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status

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

Write OI_TARGET fits binary table.

Parameters:
fptr  see cfitsio documentation
targets  targets data struct, see exchange.h
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status

int write_oi_wavelength fitsfile *    fptr,
oi_wavelength    wave,
int    extver,
int *    status
 

Write OI_WAVELENGTH fits binary table.

Parameters:
fptr  see cfitsio documentation
wave  wavelength data struct, see exchange.h
extver  value for EXTVER keyword
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status

int write_oi_vis fitsfile *    fptr,
oi_vis    vis,
int    extver,
int *    status
 

Write OI_VIS fits binary table.

Parameters:
fptr  see cfitsio documentation
vis  data struct, see exchange.h
extver  value for EXTVER keyword
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status

int write_oi_vis2 fitsfile *    fptr,
oi_vis2    vis2,
int    extver,
int *    status
 

Write OI_VIS2 fits binary table.

Parameters:
fptr  see cfitsio documentation
vis2  data struct, see exchange.h
extver  value for EXTVER keyword
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status

int write_oi_t3 fitsfile *    fptr,
oi_t3    t3,
int    extver,
int *    status
 

Write OI_T3 fits binary table.

Parameters:
fptr  see cfitsio documentation
t3  data struct, see exchange.h
extver  value for EXTVER keyword
status  pointer to status variable
Returns:
On error, returns non-zero cfitsio error code, and sets status


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