|
1 | 1 | # This code is part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS). |
2 | | -# Last modified by David J Turner (djturner@umbc.edu) 5/8/26, 3:07 PM. Copyright (c) The Contributors. |
| 2 | +# Last modified by David J Turner (djturner@umbc.edu) 5/10/26, 6:27 PM. Copyright (c) The Contributors. |
3 | 3 |
|
4 | 4 | import os |
5 | 5 | from copy import deepcopy, copy |
@@ -273,11 +273,12 @@ def _make_spec_cmd_info(cur_evt_list: EventList): |
273 | 273 | inst="combined") |
274 | 274 | else: |
275 | 275 | # We only need the image path for extended source generation |
| 276 | + # ALSO ALWAYS USED COMBINED FOR INST HERE, SEE THE NOTE ABOVE |
276 | 277 | im = source.get_images(cur_evt_list.obs_id, |
277 | 278 | lo_en=EROSITA_EXTMAP_LO_EN, |
278 | 279 | hi_en=EROSITA_EXTMAP_HI_EN, |
279 | 280 | telescope=evt_list.telescope, |
280 | | - inst=inst) |
| 281 | + inst="combined") |
281 | 282 |
|
282 | 283 | # As with the paths to the event lists, it is possible that the image |
283 | 284 | # file names will be too long for eSASS' srctool to handle. To |
@@ -779,7 +780,6 @@ def srctool_spectrum(sources: Union[BaseSource, BaseSample], outer_radius: Union |
779 | 780 | inner_radius: Union[str, Quantity] = Quantity(0, 'arcsec'), group_spec: bool = True, |
780 | 781 | min_counts: int = 5, min_sn: float = None, num_cores: int = NUM_CORES, |
781 | 782 | disable_progress: bool = False, combine_tm: bool = True, combine_obs: bool = True, force_gen: bool = False): |
782 | | - |
783 | 783 | """ |
784 | 784 | A wrapper for all the eSASS and Heasoft processes necessary to generate an eROSITA spectrum that can be analysed |
785 | 785 | in XSPEC. Every observation associated with this source, and every instrument associated with that |
|
0 commit comments