PyNeb  1.1.2
PyNeb Reference Manua
_CollChianti Class Reference

Inherits object.

Public Member Functions

def __init__ (self, elem=None, spec=None, atom=None, NLevels=None, TemArray=np.logspace(2, 5)
 
def getOmegaArray
 
def getOmega
 
def getTemArray
 
def getSources (self)
 
def printSources (self)
 

Public Attributes

 log_
 
 atom
 
 elem
 
 spec
 
 name
 
 ion_chianti
 
 calling
 
 NLevels
 
 tem_units
 
 fullFileName
 
 collFile
 
 collPath
 
 Chianti_version
 
 comments
 
 Splups
 
 Chianti2NIST
 

Constructor & Destructor Documentation

def __init__ (   self,
  elem = None,
  spec = None,
  atom = None,
  NLevels = None,
  TemArray = np.logspace(2, 5 
)
Object dealing with Upsilon values from the Chianti database.
The directory where to find the data must be given through the environment variable XUVTOP.
This object is not aimed to be used by itself, it is called by Atom.

Member Function Documentation

def getOmega (   self,
  tem,
  lev_i = -1,
  lev_j = -1 
)
Return interpolated value of the collision strength value at the given temperature 
    for the complete array or a specified transition.

Usage:
    O3.getOmega(15000.)
    O3.getOmega([8e3, 1e4, 1.2e4])
    O3.getOmega([8e3, 1e4, 1.2e4], 5, 4)

Parameters:
    - tem    electronic temperature in K. May be an array.
    - lev_i  upper level
    - lev_j  lower level
def getOmegaArray (   self,
  lev_i = -1,
  lev_j = -1 
)
Return array of original tabulated collision strengths for a given transition, 
    as a function of temperature.

Usage:
    O3.getOmegaArray()

Parameters:
    - lev_j  lower level (default= -1, returns complete array)
    - lev_i  upper level (default= -1, returns complete array)
def getSources (   self)
Return bibliographic sources for atomic data, as listed in the headers of the fits files
def getTemArray (   self,
  keep_unit = True 
)
Return array of tabulated original temperature points (as in fits file) 
    of collision strengths.

Parameters:
    - keep_unit   return temperature in file units (default) or change it to Kelvin (False)
def printSources (   self)

Member Data Documentation

atom
calling
Chianti2NIST
Chianti_version
collFile
collPath
comments
elem
fullFileName
ion_chianti
log_
name
NLevels
spec
Splups
tem_units