Hi Jon,
We don't have an IDL routine for doing this specifically, but you can get the ratio fairly easily by making use of the routine proton_dens.
For example, for logT=6.0:
IDL> h_e_ratio=proton_dens(6.0,/hydrogen)
which gives the ratio of hydrogen (protons + neutral H) relative to electrons. To get the ratio of all elements relative to electrons, you then do:
IDL> read_abund,!abund_file,ab,ref
IDL> all_e_ratio=h_e_ratio * total(ab)
I get 0.923 when I do this.
Thanks, Peter