PyNeb  1.1.2
PyNeb Reference Manua
_AtomChianti Class Reference

Inherits object.

Public Member Functions

def __init__
 
def initWaves (self)
 
def getA
 
def getStatWeight
 
def getEnergy
 
def getSources (self)
 
def printSources (self)
 

Public Attributes

 log_
 
 atom
 
 elem
 
 spec
 
 name
 
 ion_chianti
 
 calling
 
 Chianti2NIST
 
 NLevels
 
 fullFileName
 
 atomFile
 
 atomPath
 
 Chianti_version
 
 comments
 
 Chianti_E
 
 NIST
 
 E_in_vacuum
 
 atomNLevels
 
 wave_Ang
 

Constructor & Destructor Documentation

def __init__ (   self,
  elem = None,
  spec = None,
  atom = None,
  NLevels = None 
)
Object dealing with As 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 getA (   self,
  lev_i = -1,
  lev_j = -1 
)
Return the transition probability data. 
If no arguments are given, the whole array of A is returned.
A specific A value can be obtained by giving either the upper and lower levels.
    
Usage:
    A_O3 = O3.getA()          # The whole A array is stored in A_O3
    O3.getA(4, 2)      # A(4, 2) of the O3 atom is printed
    O3.getA(2, 4)      # Returns 0

Parameters:
    - lev_i  upper level of transition (default= -1, returns complete array)
    - lev_j  lower level of transition (default= -1, returns complete array)
def getEnergy (   self,
  level = -1,
  unit = '1/Ang' 
)
Return energy level of selected level (or array of energy levels, if level not given) 
    in Angstrom^-1 (default) or another unit

Usage:
    O3.getEnergy(4, unit='eV')
Parameters:
    - level  selected atomic level (default= -1, returns complete array)
    - unit   [str] one of '1/Ang' (default), 'eV', or 'Ryd'    
def getSources (   self)
Return bibliographic sources for atomic data, as listed in the headers of the fits files
def getStatWeight (   self,
  level = -1 
)
Returns the array of statistical weights of the ion (if no arguments are given) 
    or the statistical weight of level i (if i is given as an argument, 
    with the optional keyword level).
    
Usage:
    O3.getStatWeight()
    O3.getStatWeight(level=4)
    O3.getStatWeight(4)
      
Parameters:
    - level  selected atomic level (default= -1, returns complete array)
def initWaves (   self)
Initialization of wave_Ang
def printSources (   self)
Print bibliographic sources for atomic data, as listed in the headers of the fits files

Member Data Documentation

atom
atomFile
atomNLevels
atomPath
calling
Chianti2NIST
Chianti_E
Chianti_version
comments
E_in_vacuum
elem
fullFileName
ion_chianti
log_
name
NIST
NLevels
spec
wave_Ang