Module AIPSData :: Class _AIPSData
[hide private]
[frames] | no frames]

Class _AIPSData

source code


This class describes generic AIPS data.

Instance Methods [hide private]
 
__init__(self, *args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_set_name(self, name) source code
 
_set_klass(self, klass) source code
 
_set_disk(self, disk) source code
 
_set_seq(self, seq) source code
 
_set_userno(self, userno) source code
 
__repr__(self)
repr(x)
source code
 
__eq__(self, other) source code
 
__str__(self)
str(x)
source code
 
__getattr__(self, name) source code
 
__len__(self) source code
 
copy(self) source code
 
table(self, type, version) source code
 
_method(self, name) source code
 
exists(self)
Check whether this image or data set exists.
source code
 
verify(self)
Verify whether this image or data set can be accessed.
source code
 
_generate_header(self) source code
 
_generate_keywords(self) source code
 
_generate_tables(self) source code
 
table_highver(self, type)
Get the highest version of an extension table.
source code
 
rename(self, name=None, klass=None, seq=None, **kwds)
Rename this image or data set.
source code
 
zap(self, force=False)
Destroy this image or data set.
source code
 
clrstat(self)
Clear all read and write status flags.
source code
 
header_table(self, type, version)
Get the header of an extension table.
source code
 
getrow_table(self, type, version, rowno)
Get a row from an extension table.
source code
 
zap_table(self, type, version)
Destroy an extension table.
source code
 
_generate_antennas(self) source code
 
_generate_polarizations(self) source code
 
_generate_sources(self) source code
 
_generate_stokes(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]
  name
Name of this data set.
  klass
Class of this data set.
  disk
Disk where this data set is stored.
  seq
Sequence number of this data set.
  userno
User number used to access this data set.
  header
Header for this data set.
  keywords
Keywords for this data set.
  tables
Extension tables for this data set.
  history
History table for this data set.
  antennas
Antennas in this data set.
  polarizations
Polarizations in this data set.
  sources
Sources in this data set.
  stokes
Stokes parameters for this data set.

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

exists(self)

source code 

Check whether this image or data set exists.

Returns True if the image or data set exists, False otherwise.

table_highver(self, type)

source code 

Get the highest version of an extension table.

Returns the highest available version number of the extension table TYPE.

rename(self, name=None, klass=None, seq=None, **kwds)

source code 

Rename this image or data set.

NAME is the new name, KLASS is the new class and SEQ is the new sequence number for the data set. Note that you can't change the disk number, since that would require copying the data.

header_table(self, type, version)

source code 

Get the header of an extension table.

Returns the header of version VERSION of the extension table TYPE.

getrow_table(self, type, version, rowno)

source code 

Get a row from an extension table.

Returns row ROWNO from version VERSION of extension table TYPE as a dictionary.

zap_table(self, type, version)

source code 

Destroy an extension table.

Deletes version VERSION of the extension table TYPE. If VERSION is 0, delete the highest version of table TYPE. If VERSION is -1, delete all versions of table TYPE.


Property Details [hide private]

name

Name of this data set.

Get Method:
unreachable(self)
Set Method:
_set_name(self, name)

klass

Class of this data set.

Get Method:
unreachable(self)
Set Method:
_set_klass(self, klass)

disk

Disk where this data set is stored.

Get Method:
unreachable(self)
Set Method:
_set_disk(self, disk)

seq

Sequence number of this data set.

Get Method:
unreachable(self)
Set Method:
_set_seq(self, seq)

userno

User number used to access this data set.

Get Method:
unreachable(self)
Set Method:
_set_userno(self, userno)

header

Header for this data set.

Get Method:
_generate_header(self)

keywords

Keywords for this data set.

Get Method:
_generate_keywords(self)

tables

Extension tables for this data set.

Get Method:
_generate_tables(self)

history

History table for this data set.

Get Method:
unreachable(self)

antennas

Antennas in this data set.

Get Method:
_generate_antennas(self)

polarizations

Polarizations in this data set.

Get Method:
_generate_polarizations(self)

sources

Sources in this data set.

Get Method:
_generate_sources(self)

stokes

Stokes parameters for this data set.

Get Method:
_generate_stokes(self)