Dear Arzun,
it seems that you are providing O3_4363 being more intense that O3_5007, or in other cases, of the same order. This is unphysical. Also values of S2 lines are quite weird. It might be the reason for the nans
On the other hand, if you have real observations, you can probably have the chance of estimate uncertainties, but if not, you can include a, let’s say 5% uncertainty in all the lines when reading your observation datafile
obs_data = ‘your_datafile’
obs = pn.Observation()
obs.readData(obs_data, fileFormat=‘lines_in_cols’,err_default=0.05)
then you instantiate digs
diags=pn.Diagnostics()
diags.addDiag('[OIII] 4363/5007','[SII] 6731/6716’)
and then do the getCrossTemDen
Te,Ne = diags.getCrossTemDen('[OIII] 4363/4959', '[SII] 6731/6716’, obs=obs)
hope it helps
Jorge
> --
> 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/6fb574c5-f3e6-4117-9df5-0561c65f72dbn%40googlegroups.com.