Main Page   Data Structures   File List   Data Fields   Globals  

exchange.h File Reference

#include "fitsio.h"

Go to the source code of this file.

Data Structures

struct  _element
 Array element. More...

struct  _oi_array
 Data for OI_ARRAY FITS table. More...

struct  _target
 Info on an observing target. More...

struct  _oi_target
 Data for OI_TARGET FITS table. More...

struct  _oi_wavelength
 Data for OI_WAVELENGTH FITS table. More...

struct  _oi_vis_record
 Complex visibility record. More...

struct  _oi_vis
 Data for OI_VIS FITS table. More...

struct  _oi_vis2_record
 Visibility squared record. More...

struct  _oi_vis2
 Data for OI_VIS2 FITS table. More...

struct  _oi_t3_record
 Triple product record. More...

struct  _oi_t3
 Data for OI_T3 FITS table. More...


Typedefs

typedef _element element
 Array element. More...

typedef _oi_array oi_array
 Data for OI_ARRAY FITS table. More...

typedef _target target
 Info on an observing target. More...

typedef _oi_target oi_target
 Data for OI_TARGET FITS table. More...

typedef _oi_wavelength oi_wavelength
 Data for OI_WAVELENGTH FITS table. More...

typedef _oi_vis_record oi_vis_record
 Complex visibility record. More...

typedef _oi_vis oi_vis
 Data for OI_VIS FITS table. More...

typedef _oi_vis2_record oi_vis2_record
 Visibility squared record. More...

typedef _oi_vis2 oi_vis2
 Data for OI_VIS2 FITS table. More...

typedef _oi_t3_record oi_t3_record
 Triple product record. More...

typedef _oi_t3 oi_t3
 Data for OI_T3 FITS table. More...


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...

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...


Typedef Documentation

typedef struct _element element
 

Array element.

Corresponds to one row of an OI_ARRAY FITS table.

typedef struct _oi_array oi_array
 

Data for OI_ARRAY FITS table.

typedef struct _target target
 

Info on an observing target.

Corresponds to one row of an OI_TARGET FITS table.

typedef struct _oi_target oi_target
 

Data for OI_TARGET FITS table.

typedef struct _oi_wavelength oi_wavelength
 

Data for OI_WAVELENGTH FITS table.

typedef struct _oi_vis_record oi_vis_record
 

Complex visibility record.

Corresponds to one row of an OI_VIS FITS table.

typedef struct _oi_vis oi_vis
 

Data for OI_VIS FITS table.

typedef struct _oi_vis2_record oi_vis2_record
 

Visibility squared record.

Corresponds to one row of an OI_VIS2 FITS table.

typedef struct _oi_vis2 oi_vis2
 

Data for OI_VIS2 FITS table.

typedef struct _oi_t3_record oi_t3_record
 

Triple product record.

Corresponds to one row of an OI_T3 FITS table.

typedef struct _oi_t3 oi_t3
 

Data for OI_T3 FITS table.


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

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