Skip to content

Commit 1a285c1

Browse files
adding debugging prints
1 parent 26885a2 commit 1a285c1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

xga/sourcetools/_common.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ def _setup_inv_abel_dens_onion_temp(sources: Union[GalaxyCluster, ClusterSample]
304304
freeze_met=freeze_met, abund_table=abund_table, temp_lo_en=temp_lo_en,
305305
temp_hi_en=temp_hi_en, num_cores=num_cores, stacked_spectra=stacked_spectra,
306306
telescope=src_telescopes)
307-
307+
print("temp_profs")
308+
print(temp_profs)
308309
# We are reorganising this temp_profs output so it is easier to cycle through in later functions
309310
# temp_prof_dict will have sources as keys, then a dictionary value, this dictionary has
310311
# telescope keys with values that are the profile object, ie. {src1: {'xmm' : Profile}}
@@ -316,7 +317,9 @@ def _setup_inv_abel_dens_onion_temp(sources: Union[GalaxyCluster, ClusterSample]
316317
# temp_profs is of the form {'xmm': [Profile, Profile, etc.]}
317318
src_dict[tel] = temp_profs[tel][p_ind]
318319
temp_prof_dict[str(cut_sources[p_ind])] = src_dict
319-
320+
321+
print('temp_prof_dict')
322+
print(temp_prof_dict)
320323
# Now we take only the sources that have successful 3D temperature profiles.
321324
# We do the temperature profile stuff first because its more difficult, and why should we waste
322325
# time on a density profile if the temperature profile cannot even be measured.

0 commit comments

Comments
 (0)