Open wtbarnes opened 5 years ago
Is this issue referring to this code: https://github.com/wtbarnes/fiasco/blob/cd89e7ccd01f07c6b10c8a075156b7469c4474d2/fiasco/ion.py#L347-L354 ?
Well I was actually thinking of the ionization equilibrium calculation in Element
,
Though it may also apply to the level populations calculation as well.
The ionization equilibrium calculation uses the SVD to compute solutions to the homogeneous linear system of equations. For this to be applicable, the matrix composed of ionization and recombination rates must be singular (i.e. det(A)=0). If not, an error should be raised.