Home | Trees | Indices | Help |
---|
|
A Reader for collisional rate data.
This class inherits from SpectroscopyReader.
Methods for reading and managing collisional rate data are provided. In case the basic methods are not sufficient, subclasses provide code-specific methods. The basic methods apply to the collis files for GASTRoNOoM.
Inheriting from CollisReader are:
Other molecular spectroscopic data are typically handled by MolReader. Level populations are handled by PopReader. For GASTRoNOoM this is combined in MlineReader for rad trans output, and available through RadiatReader for spectroscopic input.
|
|||
new empty dictionary |
|
||
|
|||
array |
|
||
array |
|
||
array |
|
||
array |
|
||
array |
|
||
|
|||
interpolator |
|
||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Initialize an CollisReader object. The filename and additional args/kwargs are passed to the Reader parent class, where the dict is made and the filename is stored. Additional args/kwargs are used for the dict creation.
|
Read the collision rates file. Assumes GASTRoNOoM format. To read ALI/MCP collision rates (which are in the Lamda format), make use of the LamdaReader, which redefines this method. The other retrieval methods remain valid. Each transition is stored as an index, and gives upper and lower level index as well as the collision rate. |
Return the indices of the transitions read from the collisional rate data. A specific index (or array of indices) can be requested by specifying the lower and upper level index. LamdaReader first inherits from MolReader, so the default will be itype 'trans' for LamdaReader.
|
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.
|
Retrieve the collision rates, sorted by collisional transition index. An index can be specified to retrieve a specific set of collision rates. Alternatively, the lup and llow can be specified. index takes precedence The rates are given as a function of the temperature, accessible by getTemp. In case a single set of rates is requested via index, the rates array is extracted from the encompassing array.
|
Retrieve the temperature grid for the collision rates.
|
Set the interpolator for the collision rates versus temperature. Additional arguments can be passed to the interpolator object.
|
Get the interpolator for a given transition index.
|
Plot the collision rates for given transitions as a function of temperature.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:58 2016 | http://epydoc.sourceforge.net |