Commit 7fb01a0119392e808786a3924ad400c86def790a

Authored by Jean-Philippe Bernard
1 parent ce972c62
Exists in master

modified to get a full list of non regression tests working

src/idl/dustem_fit_polarization_example.pro
... ... @@ -224,7 +224,7 @@ IF keyword_set(fits_save_and_restore) THEN BEGIN
224 224 dustem_write_fits_table,filename=fits_save_and_restore,help=help
225 225 ;=== At this point, you could erase all dustem system variables, or exit idl... all the
226 226 ;=== information needed to recover the results and remake the plots has been saved in the FITS table
227   - dustem_read_fits_table,filename=fits_save_and_restore,dustem_spectra_st=dustem_spectra_st
  227 + dustem_read_fits_table,filename=fits_save_and_restore,dustem_st=dustem_spectra_st
228 228 ;==== plot result taken from the saved fits table
229 229 res=*(*!dustem_fit).CURRENT_PARAM_VALUES
230 230 dustemwrap_plot,res,dustem_spectra_st,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=title+' (From saved FITS file)'
... ... @@ -236,7 +236,7 @@ ENDIF
236 236  
237 237 message,'Finished dustem_polarization_example',/info
238 238  
239   -stop
  239 +;stop
240 240  
241 241 the_end:
242 242  
... ...
src/idl/dustem_show_file_dependencies.pro
... ... @@ -43,9 +43,23 @@ use_outfile='./DustEMWrap_dependencies.xcat'
43 43 if keyword_set(outfile) then use_outfile=outfile
44 44  
45 45 ; HERE IS WHERE YOU PUT THE TOP-LEVEL ROUTINES TO RUN
46   -;dustem_init
47   -;dustem_run_example
48   -dustem_fit_intensity_example
  46 +
  47 +
  48 +;/Users/jpb/Soft_Libraries/dustem-wrapper_idl/src/idl/dustem_run_example.pro
  49 +;/Users/jpb/Soft_Libraries/dustem-wrapper_idl/src/idl/dustem_stellarpopisrf_example.pro
  50 +
  51 +dustem_run_example,'MC10'
  52 +dustem_make_polarization_sed_example,model='G17_MODELA'
  53 +dustem_fit_intensity_example,Nitermax=1,fits_save_and_restore='/tmp/mysavefile1.fits'
  54 +dustem_fit_polarization_example,Nitermax=1,fits_save_and_restore='/tmp/mysavefile2.fits'
  55 +
  56 +dustem_fit_sed_ext_pol_example,Nitermax=1,fits_save_and_restore='/tmp/mysavefile2.fits'
  57 +
  58 +dustem_fit_ext_pol_example,Nitermax=1,fits_save_and_restore='/tmp/mysavefile2.fits'
  59 +dustem_fit_intensity_mbb_example,Nitermax=1
  60 +dustem_fit_modified_bb_example,Nitermax=1
  61 +
  62 +;dustem_fit_intensity_example
49 63 ; END LIST OF TOP-LEVEL ROUTINES
50 64  
51 65 help,/function,output=ff
... ...