Package ComboCode :: Package cc :: Package statistics :: Module ChemStats :: Class ChemStats
[hide private]
[frames] | no frames]

Class ChemStats

source code


Environment with several tools to perform statistics on the peak and integrated intensities of resolved molecular lines.

Instance Methods [hide private]
 
__init__(self, star_name, path_code='OutputClumpy', star_grid=[], molecules=[])
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
analyseMolecule(self, star, molec, print_main=1, print_sec=0) source code
dict()
readAnalyse(self, star)
Reads the output of the analyse routine performed.
source code
 
getSecondaryPathways(self, analyse, molec, print_sec=1, destruction=1, formation=1) source code
 
printMainPathways(self, analyse, molec) source code
 
printSecondaryPathways(self, analyse, molec, destruction=1, formation=1) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, star_name, path_code='OutputClumpy', star_grid=[], molecules=[])
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • star_name (string) - Star name from Star.dat
  • code (string) - the code used for producing your output

    (default: 'GASTRoNOoM')

  • path_code (string) - Output folder in the code's home folder

    (default: 'codeSep2010')

  • molecules (list) - Molecules for which the analysis output needs to be retrieved (default: [])
Overrides: object.__init__

readAnalyse(self, star)

source code 

Reads the output of the analyse routine performed.

Parameters:
  • star (Star()) - Star object containing the chemistry model
Returns: dict()
Dictionary containing the analyse output for every molecule, eg analyse['SiO']. The analyse radius is also included (analyse['radius']).