dustem_make_grid_description_table.pro
705 Bytes
PRO dustem_make_grid_description_table,table_name
;dir=!phangs_data_dir+'/ISRF/GRIDS/'
;isrf_class_str='_isrfclass'+strtrim(isrf_class,2)
;model='DBP90'
;table_name=dir+model+'_MuseISRF_JWST_G0_YPAH_YVSG_4Phangs_noionis'+isrf_class_str+'.fits'
;dustem_make_grid_description_table,
dustem_define_grid,table_name,filters=filters,status=status
Npar=(*!dustem_grid).NPARAMS
one_st={parname:'',Pmin:0.,Pmax:0.,pNvals:0L,pLog:0L}
st=replicate(one_st,Npar)
st.parname=(*!dustem_grid).PARAMS
st.pmin=(*!dustem_grid).PMIN_VALUES
st.pmax=(*!dustem_grid).PMAX_VALUES
st.pNvals=(*!dustem_grid).PNVALS
st.plog=(*!dustem_grid).PLOG
write_xcat,st,'/tmp/bidon.xcat'
struct2latex_table,st,'/tmp/bidon.tex'
stop
END