src.Atomic.SEsolver.solveSE

src.Atomic.SEsolver.solveSE(_Rmat, _Cmat)[source]

solve the linear equation system of statistical equilibrium.

Parameters
  • _Rmat (np.double, np.array, (nLevel,nLevel)) – radiative transition rate matrix, [\(s^{-1}\)]

  • _Cmat (np.double, np.array, (nLevel,nLevel)) – collisional transition rate matrix, [\(s^{-1}\)]

Returns

_nArr – normalized level population. [\(cm^{-3}\)]

Return type

np.double, np.array, (nLevel,)