PyNeb  1.1.2
PyNeb Reference Manua
pyneb.utils.pn_chianti Namespace Reference

Classes

class  _AtomChianti
 
class  _CollChianti
 

Functions

def Chianti_getA
 
def Chianti_getE
 
def get_levs_order
 
def Chianti_getOmega
 

Function Documentation

def pyneb.utils.pn_chianti.Chianti_getA (   ion_chianti,
  NLevels = None 
)
Return As from Chianti database.
Usage:
    As_O3 = Chianti_getA('o_3')
def pyneb.utils.pn_chianti.Chianti_getE (   ion_chianti,
  NLevels = None 
)
Return energies from the Chianti database
Usage:
    E_O3 = Chianti_getE('o_3')
def pyneb.utils.pn_chianti.Chianti_getOmega (   ion_chianti,
  tem,
  lev1 = None,
  lev2 = None,
  Splups = None,
  NLevels = None 
)
Return the values of Upsilon at a given temperature (may be a table)
Usage:
    Chianti_getOmega('o_3', 10000)
    Chianti_getOmega('o_3', np.linspace(5000, 20000, 20))
lower and upper levels can be given as lev1 and lev2. If not, full table is return
Splups is the result of _chianti_tools.splupsRead(ion_chianti), can be passed to avoid reloading it
NLevelsMax reduce the number of levels considered.
def pyneb.utils.pn_chianti.get_levs_order (   atom,
  NLevels = None 
)
Returns a dictionary giving the correspondence of indices between NIST and Chianti energy level tables.