Commit c1c2c0451ccada3bd656b5a4009f06a04d8273c9

Authored by Jean-Philippe Bernard
1 parent 5da2cf51
Exists in master

improved

LabTools/IRAP/JPB/phangs_brute_force_fit_with_isrf_grid.pro
@@ -47,9 +47,11 @@ restore,data_dir+use_source_name+'_isrf_min_prediction.sav',/verb @@ -47,9 +47,11 @@ restore,data_dir+use_source_name+'_isrf_min_prediction.sav',/verb
47 ;% RESTORE: Restored variable: SOURCE_NAME. 47 ;% RESTORE: Restored variable: SOURCE_NAME.
48 48
49 ;For test 49 ;For test
50 -;class_min=15  
51 -class_min=10  
52 -class_max=15 50 +class_min=13
  51 +class_max=13
  52 +
  53 +;class_min=10
  54 +;class_max=15
53 55
54 restore,data_dir+use_source_name+'_jwst_seds_muse_pixels.sav',/verb 56 restore,data_dir+use_source_name+'_jwst_seds_muse_pixels.sav',/verb
55 ;% RESTORE: Restored variable: ALL_SEDS. 57 ;% RESTORE: Restored variable: ALL_SEDS.
@@ -137,6 +139,8 @@ readcol,file,Mathis_wavs,Mathis_ISRF @@ -137,6 +139,8 @@ readcol,file,Mathis_wavs,Mathis_ISRF
137 Mathis_ISRF=interpol(Mathis_ISRF,Mathis_wavs,isrf_wavelengths) 139 Mathis_ISRF=interpol(Mathis_ISRF,Mathis_wavs,isrf_wavelengths)
138 Mathis_1mic=interpol(Mathis_ISRF,isrf_wavelengths,1.0) 140 Mathis_1mic=interpol(Mathis_ISRF,isrf_wavelengths,1.0)
139 141
  142 +stop
  143 +
140 FOR isrf_class=class_min,class_max DO BEGIN 144 FOR isrf_class=class_min,class_max DO BEGIN
141 ;==== This is to use the grid for this ISRF class 145 ;==== This is to use the grid for this ISRF class
142 isrf_class_str='_isrfclass'+strtrim(isrf_class,2) 146 isrf_class_str='_isrfclass'+strtrim(isrf_class,2)
@@ -151,7 +155,7 @@ FOR isrf_class=class_min,class_max DO BEGIN @@ -151,7 +155,7 @@ FOR isrf_class=class_min,class_max DO BEGIN
151 ENDIF 155 ENDIF
152 ;=== Get the G0 value for that vid 156 ;=== Get the G0 value for that vid
153 vid=ind_class[vvid] 157 vid=ind_class[vvid]
154 - print,vid 158 + ;print,vid
155 IF vid EQ 12642 THEN BEGIN 159 IF vid EQ 12642 THEN BEGIN
156 message,'stopped at vid =12642',/continue 160 message,'stopped at vid =12642',/continue
157 stop 161 stop