Module AIPSData
[hide private]
[frames] | no frames]

Module AIPSData

source code

This module provides the AIPSImage and AIPSUVData classes. These classes implement most of the data oriented verb-like functionality from classic AIPS.

Images can be manipulated by creating instances of the AIPSImage class:

>>> image = AIPSImage('NONAME', 'IMAGE', 1, 1)

For UV data, the AIPSUVData class should be used:

>>> uvdata = AIPSUVData('NONAME', 'UVDATA', 1, 1)

Checking whether the image or UV data actually exists is easy:

>>> image.exists()
False
>>> uvdata.exists()
False
>>> print uvdata
AIPSUVData('NONAME', 'UVDATA', 1, 1)

Checking whether two instance refer to the same data is fairly simple:

>>> image == uvdata
False
>>> image == AIPSImage('NONAME', 'IMAGE', 1, 1)
True

Both classes implement the copy method:

>>> uvjunk = uvdata.copy()
>>> uvjunk == uvdata
True
>>> uvjunk.name = 'GARBAGE'
>>> uvjunk != uvdata
True
Classes [hide private]
  _AIPSDataMethod
This class implements dispatching function calls to a proxy.
  _AIPSDataDesc
This class implements the description of AIPS data that is used when dispatching function calls to a proxy.
  _dictify
  _AIPSDataHeader
This class describes the header of an AIPS image or UV data set.
  _AIPSData
This class describes generic AIPS data.
  AIPSImage
This class describes an AIPS image.
  AIPSUVData
This class describes an AIPS UV data set.
  _AIPSTableMethod
This class implements dispatching table oriented function calls to a proxy.
  _AIPSTableRow
This class describes a row of an AIPS extenstion table.
  _AIPSTableIter
This class provides an iterator for AIPS extension tables.
  _AIPSTable
This class describes a generic AIPS extension table.
  _AIPSHistoryMethod
This class implements dispatching history oriented function calls to a proxy.
  _AIPSHistory
This class describes an AIPS hostory table.
  _AIPSCatEntry
This class describes an AIPS catalog entry.
  AIPSCat
This class describes an entire AIPS catalogue.
Functions [hide private]
 
_whoami()
Return the name of the function that called us.
source code