Commit d40958ed33ff06ba683754b290a626a3cf7d93c4
1 parent
a78ee4de
Exists in
master
unknown
Showing
2 changed files
with
5 additions
and
7 deletions
Show diff stats
src/idl/dustem_set_params.pro
src/idl/dustemwrap_plot.pro
... | ... | @@ -137,15 +137,12 @@ ENDIF |
137 | 137 | |
138 | 138 | ;===========Making sure the predicted dustem SEDs are set |
139 | 139 | if not keyword_set(dustem_sed) and isa((*!dustem_data).sed) then begin ;better test? |
140 | - | |
141 | 140 | dustem_sed = dustem_compute_sed(p_dim,st=st,SED_spec=SED_spec) |
142 | 141 | if !run_pol and tag_exist(*!dustem_show,'qsed') && !run_lin then begin |
143 | - | |
144 | 142 | dustem_polsed = dustem_compute_polsed(p_dim,st=st,P_spec=P_spec,SP_spec=SP_spec,dustem_polfrac=dustem_polfrac) |
145 | 143 | toto = dustem_compute_stokes(p_dim,st=st,Q_spec=Q_spec,U_spec=U_spec,PSI_spec=PSI_spec,dustem_psi_em=dustem_psi_em) |
146 | 144 | dustem_qsed = toto[0] |
147 | 145 | dustem_used = toto[1] |
148 | - | |
149 | 146 | endif |
150 | 147 | endif |
151 | 148 | |
... | ... | @@ -162,6 +159,8 @@ if not keyword_set(dustem_ext) and isa((*!dustem_data).ext) then begin |
162 | 159 | endif |
163 | 160 | endif |
164 | 161 | |
162 | +;stop | |
163 | + | |
165 | 164 | ;===========We should call this something more adequate |
166 | 165 | mouchard=*!iteration_mouchard |
167 | 166 | new_mouchard=mouchard[0] |
... | ... | @@ -210,6 +209,7 @@ endif else begin |
210 | 209 | test_m = test_sed |
211 | 210 | test_x = test_ext |
212 | 211 | endelse |
212 | +;stop | |
213 | 213 | |
214 | 214 | n_plgns = n_tags(*!dustem_plugin) |
215 | 215 | |
... | ... | @@ -726,8 +726,7 @@ if test_x then begin |
726 | 726 | plotsym,0,/fill ;you might need to execute this again. hmm... |
727 | 727 | |
728 | 728 | if !run_pol and tag_exist(*!dustem_show,'qext') then begin |
729 | - ;This part can be adjusted for future releases if the user wants to plot | |
730 | - ;specific datasets | |
729 | + ;This part can be adjusted for future releases if the user wants to plot specific datasets | |
731 | 730 | |
732 | 731 | ;lists because elements have different dimensions and/or we want entire arrays as elements |
733 | 732 | dustem_interp = list(dustem_ext,dustem_fpolext,dustem_qext,dustem_uext,dustem_psi_ext,dustem_polext) ;DustEmWrap SED predictions |
... | ... | @@ -761,7 +760,7 @@ if test_x then begin |
761 | 760 | |
762 | 761 | endif else begin |
763 | 762 | |
764 | - ; PLOTTING OF DATA THAT IS UNCHAED | |
763 | + ; PLOTTING OF DATA THAT IS UNCHANGED | |
765 | 764 | cgwindow,'dustem_plot_dataset', st, dataset=datasets, position=position,positive_only=positiveonly,negative_only=negativeonly, /addcmd, winid=winid_x, _extra=_extra & cmdind_x+=1 |
766 | 765 | ; REFRESHING DATA - to plot the refreshed data for the first time. |
767 | 766 | cgwindow,'dustem_plot_dataset', st, dustem_interp,dustem_spec,extra_spec=extra_spec,dataset=datasets,positive_only=positiveonly,negative_only=negativeonly, /refresh ,position=position, /addcmd, winid=winid_x, _extra=_extra & cmdind_x+=1 | ... | ... |