| Home | Trees | Index | Help |
|
|---|
| Package asap :: Module linecatalog :: Class linecatalog |
|
object--+ |instance--+ |linecatalog--+ | linecatalog
| Method Summary | |
|---|---|
__init__(self,
name)
| |
__getitem__(self,
k)
| |
__len__(self)
| |
Get the values in a specified row of the table. | |
Reset the table to its initial state, i.e. | |
Save the subset of the table to disk. | |
Set frequency limits on the table. | |
Set a name restriction on the table. | |
Set line strength limits on the table (arbitrary units)... | |
Print the contents of the table. | |
Inherited from instance:
__new__
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Method Details |
|---|
get_row(self, row=0)
Get the values in a specified row of the table.
Parameters:
row: the row to retrieve
|
reset(self)Reset the table to its initial state, i.e. undo all calls to set_
|
save(self, name, overwrite=False)Save the subset of the table to disk. This uses an internal data format and can be read in again.
|
set_frequency_limits(self, fmin=1.0, fmax=120.0, unit='GHz')
Set frequency limits on the table.
Parameters:
fmin: the lower bound
fmax: the upper bound
unit: the frequency unit (default "GHz")
Note:
The underlying table conatins frequency values in MHz
|
set_name(self, name, mode='pattern')
Set a name restriction on the table. This can be a standard unix-style
pattern or a regular expression.
Parameters:
name: the name patterrn/regex
mode: the matching mode, i.e. "pattern" (default) or "regex"
|
set_strength_limits(self, smin, smax)
Set line strength limits on the table (arbitrary units)
Parameters:
smin: the lower bound
smax: the upper bound
|
summary(self)Print the contents of the table.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 2 14:24:32 2007 | http://epydoc.sf.net |