Package pysynphot :: Module wavetable :: Class Wavetable
[hide private]
[frames] | no frames]

Class Wavetable

source code


Class to handle wavecat.dat initialization and access. (This class may need a better name; wavetable and waveset are awfully close.) Also, put the default waveset into this object with a key of NONE.

Instance Methods [hide private]
 
__init__(self, fname)
Instantiate a Wavetable from a file
source code
 
__getitem__(self, key)
Fairly smart lookup: if no exact match, find the most complete match.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fname)
(Constructor)

source code 

Instantiate a Wavetable from a file

Overrides: object.__init__