Index of /pages/~pboley/oifits

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[DIR]0.2/17-Mar-2015 20:08 -
[DIR]0.3.1/17-Mar-2015 20:08 -
[DIR]0.3.2/17-Mar-2015 20:08 -
[DIR]0.3.3/10-Mar-2016 14:02 -
[DIR]0.3.4/29-Mar-2016 15:10 -
[DIR]0.3/17-Mar-2015 20:08 -
[   ]VLTI-array.fits17-Mar-2015 20:08 8.4K
[TXT]changelog.txt29-Mar-2016 15:10 476
[   ]midiwave.npz17-Mar-2015 20:08 3.0K
[TXT]oifits.py29-Mar-2016 15:10 66K
[TXT]oifits.txt10-Mar-2016 13:55 9.0K
[TXT]oitools.py17-Mar-2015 20:08 26K
[TXT]readme.txt10-Mar-2016 13:55 1.1K
[TXT]sample.py17-Mar-2015 20:08 3.1K

This is a Python module for reading and writing OIFITS files.  The only file
you need is; everything else is supplementary.  For documentation on
the oifits module itself, see oifits.txt.

The module was tested with PyFITS 3.3 and numpy 1.10.4 under Python 2.7.10.
Earlier versions will probably work, too.  Python 3 is currently not
supported, but may be soon.

For some example functions which make use of the module, see
These are undocumented, messy examples only and may not work; you should
probably write your own.

As people seem to have trouble saving the array/station positions correctly
(for example, all the array tables for all the OIFITS files at are wrong, and in various different ways), I've
included an example for the VLTI.  This can be viewed using the plot_array
function in

>>> import matplotlib.pylab as plt
>>> import oifits
>>> from oitools import *
>>> oidata ='VLTI-array.fits')
>>> plot_array(oidata.array['VLTI'])

For example usage of creating an OIFITS file from scratch, see the program (which also requires midiwave.npz and VLTI-array.fits).