1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FUNCTION dustem_read_ionfrac,file,silent=silent readcol,file,frac_cat, frac_neu, frac_ani,silent=silent nlines=n_elements(frac_cat) one_st={frac_cat:0., frac_neu:0., frac_ani:0.} st=replicate(one_st,Nlines) st.frac_cat = frac_cat st.frac_neu = frac_neu st.frac_ani = frac_ani return,st END