Home | Trees | Indices | Help |
---|
|
The SpectroscopyReader class.
Inherits from the Reader class, and thus functions much like a dictionary.
SpectroscopyReader functions primarily as an intermediary class between Reader and MolReader/CollisReader, both classes that make heavy use of transition based indexing, and does relate to upper and lower level indices.
Typically not used stand-alone. Refer to MolReader and CollisReader for practical uses. Both classes make use of this parent class' methods.
|
|||
new empty dictionary |
|
||
float/int/array |
|
||
int/array |
|
||
array |
|
||
array |
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Initialize an SpectroscopyReader object. Additional args & kwargs passed to __init__ are passed to dict __init__.
|
Return a property for a given type of property possibly for a given index. In case a single value is requested via index, the property value is extracted from the array.
|
Return the indices of the transitions read from the molecular spectroscopy data or from the collisional rate data. A specific index (or array of indices) can be requested by specifying the lower and upper level index. Multiple lup and/or llow can be given in one go to make a selection of indices.
|
Return the indices of the upper states of the <nline> included transitions. These are NOT the quantum numbers! Especially for CO-type molecules, the J-level is equal to level_index-1. In case a single upper level is requested via index, the level index is extracted from the array.
|
Return the indices of the lower states of the <nline> included transitions. These are NOT the quantum numbers! Especially for CO-type molecules, the J-level is equal to level_index-1. In case a single lower level is requested via index, the level index is extracted from the array.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:58 2016 | http://epydoc.sourceforge.net |