Commit 2190a3c6c41feba096652f885f0ce14262b756f7

Authored by Jean-Philippe Bernard
1 parent 2bbb56cf
Exists in master

added a noobj keyword

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/idl/dustem_fit_intensity_example.pro
... ... @@ -5,6 +5,7 @@ PRO dustem_fit_intensity_example,model=model $
5 5 ,fits_save_and_restore=fits_save_and_restore $
6 6 ,help=help $
7 7 ,wait=wait $
  8 + ,noobj=noobj $
8 9 ,verbose=verbose
9 10  
10 11 ;+
... ... @@ -71,6 +72,7 @@ PRO dustem_fit_intensity_example,model=model $
71 72 ; wait = if set, wait this many seconds between each step of
72 73 ; the code (for illustration purposes)
73 74 ; verbose = if set, subroutines will run in verbose mode
  75 +; noobj = if set, runs with no object graphics
74 76 ;
75 77 ; COMMON BLOCKS:
76 78 ; None
... ... @@ -269,7 +271,7 @@ dustem_init,model=use_model,polarization=use_polarization
269 271 !dustem_nocatch=1
270 272 !dustem_verbose=use_verbose
271 273 ;!dustem_show_plot=1
272   -
  274 +IF keyword_set(noobj) THEN !dustem_noobj=1
273 275  
274 276 ;=== READ EXAMPLE SED DATA
275 277 dir=!dustem_wrap_soft_dir+'/Data/EXAMPLE_OBSDATA/'
... ...