Index of /homes/boley/oifits

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [DIR] 0.2/ 12-Apr-2012 02:35 - [DIR] 0.3/ 12-Apr-2012 02:36 - [   ] VLTI-array.fits 22-Apr-2010 15:31 8.4K [   ] oifits.py 20-Jul-2010 17:52 62K [TXT] oifits.txt 20-Jul-2010 17:53 6.3K [   ] oitools.py 22-Apr-2010 15:31 8.3K [TXT] readme.txt 15-Feb-2011 10:46 755
For documentation on the oifits module itself, see oifits.txt.

The oifits module was tested with PyFITS 2.2.2 and numpy 1.3.0 under
Python 2.6.2.  Earlier versions will probably work, too.

For some example functions which make use of the module, see
oitools.py.

As people seem to have trouble saving the array/station positions
correctly (for example, all the array tables for all the OIFITS files
at http://apps.jmmc.fr/oidata/ 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 oitools.py:

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