DataClasses module

These Classes are inspired by Paul Boley’s code for OIFITS Data! Copyright (c) 2013, Paul Boley Copyright (c) 2019, Shreyas Bapat

class oifits.dataclasses.OI_VIS(timeobs, int_time, visamp, visamperr, visphi, visphierr, flag, ucoord, vcoord, wavelength, target, array=None, station=(None, None), cflux=None, cfluxerr=None)

Class for storing visibility amplitude and differential phase data. To access the data, use the following hidden attributes:

visamp, visamperr, visphi, visphierr, flag; and possibly cflux, cfluxerr.

class oifits.dataclasses.OI_VIS2(timeobs, int_time, vis2data, vis2err, flag, ucoord, vcoord, wavelength, target, array=None, station=(None, None))

Class for storing squared visibility amplitude data. To access the data, use the following hidden attributes:

vis2data, vis2err

class oifits.dataclasses.OI_T3(timeobs, int_time, t3amp, t3amperr, t3phi, t3phierr, flag, u1coord, v1coord, u2coord, v2coord, wavelength, target, array=None, station=(None, None, None))

Class for storing triple product and closure phase data. To access the data, use the following hidden attributes:

t3amp, t3amperr, t3phi, t3phierr

class oifits.dataclasses.OI_STATION(tel_name=None, sta_name=None, diameter=None, staxyz=[None, None, None])

This class corresponds to a single row (i.e. single station/telescope) of an OI_ARRAY table.

class oifits.dataclasses.OI_ARRAY(frame, arrxyz, stations=())

Contains all the data for a single OI_ARRAY table. Note the hidden convenience attributes latitude, longitude, and altitude.

info(verbose=0)

Print the array’s center coordinates. If verbosity >= 1, print information about each station.