In [4]: Ne5 = pn.Atom('Ne', 5)
In [5]: Ne5.printIonic(tem=10000.)
elem = Ne
spec = 5
temperature = 10000.0 K
warng Atom Ne5: Cannot print populations as tem or den is missing
Critical densities
Level 1: 0.000E+00
Level 2: 5.952E+03
Level 3: 3.238E+04
Level 4: 1.546E+07
Level 5: 8.781E+07
24.31m
(2-->1)
9.01m 14.32m
(3-->1) (3-->2)
3300.40A 3345.82A 3425.88A
(4-->1) (4-->2) (4-->3)
1564.57A 1574.70A 1592.21A 2973.13A
(5-->1) (5-->2) (5-->3) (5-->4)
(Ne5.getA() / Ne5.getCollRates(1e4))[1,0]
We could add a transition, or wavelength, keyword to the getCriticalDensity method in Atom one of these days ;-)
Hope it helps,
Saludos,
Christophe
If your question is "in which density range a given line ratio is
sensitive to density?", then the critical densities of the 2 lines or
their 2 upper level are not even relevant! For this kind of question, I'm using a method in PyNeb called
getDensityRange. It just looks for the densities at which the line ration is "close" to the limit values. By close, I mean 10% of the distance between the extreme values, to the upper and lower value. This threshold can be changed by the user ("tol" keyword).
I realized that the way this was computed was not correct: for the low density limit I used the ratio of the statistical weights, which only works for [SII]-type density diagnostics (2-1 to 3-1 line ratio, without 3-2 transition). But this does not work for e.g. IR triplet line ratios, as for OIII or NeV ions.
I then updated the method to compute the desired line ratio at very low and very high densities, without any consideration on which kind of transitions they are involving. This is what's new in PyNeb 1.1.20 released yesterday.
I also made a Notebook to illustrate the use of this method and comparing different critical densities, the ones for a given line (Aij/qij), for a given line but considering any de-excitation (Aij/qi) and the level critical density (a la Osterbrock Eq. 3.30). I also plot some values from the literature. The notebook is there: https://github.com/Morisset/PyNeb_devel/blob/master/docs/Notebooks/Test_Crit_Density.ipynb
--
You received this message because you are subscribed to the Google Groups "PyNeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyneb+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pyneb/7ac5bcb1-95f1-4a57-ae20-b8eea968bf86n%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pyneb/532391cf-d77c-4b47-9169-f0862efb270an%40googlegroups.com.