Home | Trees | Indices | Help |
---|
|
A Reader for Mline output files.
This class inherits from both PopReader and MolReader, and thus provides spectroscopic information of the molecule as given in the mline output. In principle this information should be identical to what is read by RadiatReader from the GASTRoNOoM spectroscopic input files. This information is read from ml1.
In addition, mline output gives other information calculated by the radiative transfer, and that is available here as well. The level populations specifically are managed through methods in PopReader. This class then also provides additional data such as source function, optical depth, etc. This information is read from ml3.
MlineReader only depends on GASTRoNOoM output and does not require information from the databases or input files.
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
array |
|
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Creating an Mline object ready for reading Mline output. Reading mline output through full filename, including filepath. The mlinefile number is given as *, which is then replaced as needed. The wildcard character does not have to be present, and is inserted automatically. It is handled down the line by the parent classes. Additional args and kwargs are passed to the dict creation (parent of Reader) Note that properties based on the filename are saved as instance properties (such as id, molecule name, filename).
|
Read the mline output files ml1 and ml3. The information is stored in the instance dictionary.
|
Read molecule spectroscopic properties and basic circumstellar radial profiles from the ml1 file. This is the information that is returned by MolReader methods. Note that the level indexing is J + 1 for simple molecules like CO. For any molecule, the 0-energy level has index 1! Note also that the vel in the ml1 file is the velocity profile divided by the stochastic velocity. (see source_common/vel.f) The velocity profile saved here is the real velocity profile, corrected for this. |
Read the information from the ML3 file. This includes in six blocks, with subblocks for each impact parameter:
|
Return a radial circumstellar profile associated with the impact parameter grid for the molecule of this mline model. The impact parameter grid in cm is available through getP().
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:58 2016 | http://epydoc.sourceforge.net |