src.Atomic.SEsolver.setMatrixC

src.Atomic.SEsolver.setMatrixC(_Cmat, _Cji, _Cij, _idxI, _idxJ, _Ne)[source]

Compute the collisional rate matrix.

Parameters
  • _Cmat (numpy.2darray of np.double) – collisional rate matrix, a 2D Array to store computed results, [\(s^{-1}\)]

  • _Cji (numpy.1darray of np.double) – downward collisional transition rate, [\(s^{-1} \cdot cm^{3}\)]

  • _Cij (numpy.1darray of np.double) – upward collisional transition rate, [\(s^{-1} \cdot cm^{3}\)]

  • _idxI (numpy.1darray of np.uint16) – level index of lower level i, [-]

  • _idxJ (numpy.1darray of np.uint16) – level index of upper level j, [-]

  • _Ne (np.double) – electron density, [\(cm^{-3}\)]

Notes

Refer to 1 Equation(9.80).

\[\sum_{j \neq i} n_j (R_{ji}+n_{e} C_{ji}) - n_i \sum_{j \neq i}(R_{ij}+n_{e} C_{ij}) = 0\]

References

1

Ivan Hubeny, Dimitri Mihalas, “Theory of Stellar Atmosphere: An Introduction to Astrophysical Non-equilibrium Quantitative Spectroscopic Analysis”, Princeton University Press, pp. 282, 2015.