oifile.h File Reference

Data structure definitions and function prototypes for file-level operations on OIFITS data. More...

#include <glib.h>
#include "exchange.h"

Go to the source code of this file.

Data Structures

struct  oi_fits
 Data for OIFITS file. More...

Defines

#define MEMDUP(dest, src, size)   { (dest) = malloc((size)); memcpy((dest), (src), (size)); }

Functions

void init_oi_fits (oi_fits *)
 Initialise empty oi_fits struct.
STATUS write_oi_fits (const char *, oi_fits, STATUS *)
 Write OIFITS tables to new FITS file.
STATUS read_oi_fits (const char *, oi_fits *, STATUS *)
 Read all OIFITS tables from FITS file.
void free_oi_fits (oi_fits *)
 Free storage used for OIFITS data.
oi_arrayoi_fits_lookup_array (const oi_fits *, const char *)
 Return oi_array corresponding to specified ARRNAME.
elementoi_fits_lookup_element (const oi_fits *, const char *, int)
 Lookup array element corresponding to specified ARRNAME & STA_INDEX.
oi_wavelengthoi_fits_lookup_wavelength (const oi_fits *, const char *)
 Lookup oi_wavelength corresponding to specified INSNAME.
targetoi_fits_lookup_target (const oi_fits *, int)
 Lookup target record corresponding to specified TARGET_ID.
const char * format_oi_fits_summary (const oi_fits *)
 Generate file summary string.
void print_oi_fits_summary (const oi_fits *)
 Print file summary to stdout.
oi_targetdup_oi_target (const oi_target *)
 Make deep copy of a OI_TARGET table.
oi_arraydup_oi_array (const oi_array *)
 Make deep copy of a OI_ARRAY table.
oi_wavelengthdup_oi_wavelength (const oi_wavelength *)
 Make deep copy of a OI_WAVELENGTH table.
oi_visdup_oi_vis (const oi_vis *)
 Make deep copy of a OI_VIS table.
oi_vis2dup_oi_vis2 (const oi_vis2 *)
 Make deep copy of a OI_VIS2 table.
oi_t3dup_oi_t3 (const oi_t3 *)
 Make deep copy of a OI_T3 table.


Detailed Description

Data structure definitions and function prototypes for file-level operations on OIFITS data.

Copyright (C) 2007 John Young

This file is part of OIFITSlib.

OIFITSlib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OIFITSlib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with OIFITSlib. If not, see http://www.gnu.org/licenses/


Generated on Mon Jun 8 12:45:07 2009 for OIFITSlib by  doxygen 1.5.7.1