Commit 3355c5a8cb2fe6a8393f558061f96ff1f7aed35d

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

modified for chain run

src/idl/dustem_fit_intensity_mbb_example.pro
1 1 PRO dustem_fit_intensity_mbb_example,model=model $
2   - ,sed_file=sed_file $
3   - ,Nitermax=Nitermax $
4   - ,postscript=postscript $
5   - ,fits_save_and_restore=fits_save_and_restore $
6   - ,help=help $
7   - ,wait=wait $
8   - ,verbose=verbose
  2 + ,sed_file=sed_file $
  3 + ,Nitermax=Nitermax $
  4 + ,postscript=postscript $
  5 + ,fits_save_and_restore=fits_save_and_restore $
  6 + ,help=help $
  7 + ,wait=wait $
  8 + ,verbose=verbose
9 9  
10 10 ;+
11 11 ; NAME:
... ... @@ -242,15 +242,16 @@ end
242 242  
243 243 ;=== MAKE THE FINAL PLOT
244 244 IF keyword_set(postscript) THEN BEGIN
245   - dir_ps='./'
  245 + ;dir_ps='./'
246 246 set_plot,'PS'
247   - ps_file=dir_ps+postscript
  247 + ;ps_file=dir_ps+postscript
  248 + ps_file=postscript
248 249 device,filename=ps_file,/color
249 250 ENDIF
250 251 dustemwrap_plot,*(*!dustem_fit).CURRENT_PARAM_VALUES,dummy,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (Final fit)'
251 252 IF keyword_set(postscript) THEN BEGIN
252   - set_plot,'X'
253 253 device,/close
  254 + set_plot,'X'
254 255 message,'Wrote '+ps_file,/info
255 256 ENDIF
256 257  
... ...
src/idl/dustem_fit_sed_ext_pol_example.pro
... ... @@ -469,7 +469,7 @@ IF keyword_set(fits_save_and_restore) THEN BEGIN
469 469 ;=== At this point, you could erase all dustem system variables, or exit idl... all the
470 470 ;=== information needed to recover the results and remake the plots has been saved in the FITS table
471 471 ;stop
472   - dustem_read_fits_table,filename=fits_save_and_restore,dustem_spectra_st=dustem_spectra_st
  472 + dustem_read_fits_table,filename=fits_save_and_restore,dustem_st=dustem_spectra_st
473 473 ;==== plot result taken from the saved fits table
474 474 res=*(*!dustem_fit).CURRENT_PARAM_VALUES
475 475 IF !dustem_noobj THEN BEGIN
... ...