11# 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/5 /26, 11:24 PM . Copyright (c) The Contributors.
2+ # Last modified by David J Turner (djturner@umbc.edu) 5/6 /26, 10:02 AM . Copyright (c) The Contributors.
33
44import gc
55import os
@@ -3215,7 +3215,7 @@ def get_ratemaps(self, obs_id: str = None, inst: str = None, lo_en: Quantity = N
32153215 def get_combined_images (self , lo_en : Quantity = None , hi_en : Quantity = None ,
32163216 psf_corr : bool = False , psf_model : str = "ELLBETA" ,
32173217 psf_bins : int = 4 , psf_algo : str = "rl" , psf_iter : int = 15 ,
3218- telescope : str = None , obs_id : str = 'combined' , inst : str = None ) -> Union [Image , List [Image ]]:
3218+ telescope : str = None , obs_id : str = 'combined' , inst : str = 'combined' ) -> Union [Image , List [Image ]]:
32193219 """
32203220 Convenience method to retrieve combined (multi-observation and/or multi-instrument) XGA Image objects.
32213221 This is equivalent to calling get_images() with obs_id='combined' and/or inst='combined'.
@@ -3224,7 +3224,7 @@ def get_combined_images(self, lo_en: Quantity = None, hi_en: Quantity = None,
32243224 - obs_id='combined', inst='combined': Multi-obs + multi-inst
32253225 - obs_id='combined', inst='tm1' (or specific): Multi-obs + single inst
32263226 - obs_id=specific, inst='combined': Single obs + multi-inst
3227- - obs_id=None, inst=None: All combined images
3227+ - obs_id=None, inst=None: All combined ObsID images for 'real' instruments (e.g. tm1, tm2, etc.)
32283228
32293229 :param Quantity lo_en: The lower energy limit of the image you wish to retrieve, the default
32303230 is None (which will retrieve all images regardless of energy limit).
@@ -3239,9 +3239,9 @@ def get_combined_images(self, lo_en: Quantity = None, hi_en: Quantity = None,
32393239 :param str telescope: Optionally, a specific telescope to search for combined images can be supplied. The
32403240 default is None, which means all combined images matching the other criteria will be returned.
32413241 :param str obs_id: The obs_id to search for. Default is 'combined' for multi-observation images.
3242- :param str inst: Optionally, a specific instrument to search for. The default is None , which means all
3243- combined images matching the other criteria will be returned. Pass 'combined' to retrieve
3244- multi-instrument combined images, or a specific instrument name for single-instrument combined.
3242+ :param str inst: Optionally, a specific instrument to search for. The default is 'combined' , which
3243+ retrieves multi-instrument combined images, pass None to fetch all combined-obs, 'real' inst
3244+ images, or pass a specific instrument name for single-instrument combined obs .
32453245 :return: An XGA Image object (if there is an exact match), or a list of XGA Image objects (if there
32463246 were multiple matching products).
32473247 :rtype: Union[Image, List[Image]]
@@ -3252,7 +3252,7 @@ def get_combined_images(self, lo_en: Quantity = None, hi_en: Quantity = None,
32523252
32533253 def get_combined_expmaps (self , lo_en : Quantity = None , hi_en : Quantity = None ,
32543254 telescope : str = None , obs_id : str = 'combined' ,
3255- inst : str = None ) -> Union [ExpMap , List [ExpMap ]]:
3255+ inst : str = 'combined' ) -> Union [ExpMap , List [ExpMap ]]:
32563256 """
32573257 Convenience method to retrieve combined (multi-observation and/or multi-instrument) XGA ExpMap objects.
32583258 This is equivalent to calling get_expmaps() with obs_id='combined' and/or inst='combined'.
@@ -3265,9 +3265,9 @@ def get_combined_expmaps(self, lo_en: Quantity = None, hi_en: Quantity = None,
32653265 supplied. The default is None, which means all combined exposure maps matching the other criteria
32663266 will be returned.
32673267 :param str obs_id: The obs_id to search for. Default is 'combined' for multi-observation exposure maps.
3268- :param str inst: Optionally, a specific instrument to search for. The default is None , which means all
3269- combined exposure maps matching the other criteria will be returned. Pass 'combined' to retrieve
3270- multi -instrument combined exposure maps .
3268+ :param str inst: Optionally, a specific instrument to search for. The default is 'combined' , which
3269+ retrieves multi-instrument combined exposure maps, pass None to fetch all combined-obs, 'real' inst
3270+ exposure maps, or pass a specific instrument name for single -instrument combined obs .
32713271 :return: An XGA ExpMap object (if there is an exact match), or a list of XGA ExpMap objects (if there
32723272 were multiple matching products).
32733273 :rtype: Union[ExpMap, List[ExpMap]]
@@ -3278,7 +3278,7 @@ def get_combined_ratemaps(self, lo_en: Quantity = None, hi_en: Quantity = None,
32783278 psf_corr : bool = False , psf_model : str = "ELLBETA" ,
32793279 psf_bins : int = 4 , psf_algo : str = "rl" , psf_iter : int = 15 ,
32803280 telescope : str = None , obs_id : str = 'combined' ,
3281- inst : str = None ) -> Union [RateMap , List [RateMap ]]:
3281+ inst : str = 'combined' ) -> Union [RateMap , List [RateMap ]]:
32823282 """
32833283 Convenience method to retrieve combined (multi-observation and/or multi-instrument) XGA RateMap objects.
32843284 This is equivalent to calling get_ratemaps() with obs_id='combined' and/or inst='combined'.
@@ -3296,9 +3296,9 @@ def get_combined_ratemaps(self, lo_en: Quantity = None, hi_en: Quantity = None,
32963296 :param str telescope: Optionally, a specific telescope to search for combined ratemaps can be supplied. The
32973297 default is None, which means all combined ratemaps matching the other criteria will be returned.
32983298 :param str obs_id: The obs_id to search for. Default is 'combined' for multi-observation ratemaps.
3299- :param str inst: Optionally, a specific instrument to search for. The default is None , which means all
3300- combined ratemaps matching the other criteria will be returned. Pass ' combined' to retrieve
3301- multi -instrument combined ratemaps .
3299+ :param str inst: Optionally, a specific instrument to search for. The default is 'combined' , which
3300+ retrieves multi-instrument combined rate maps, pass None to fetch all combined-obs, 'real' inst
3301+ rate maps, or pass a specific instrument name for single -instrument combined obs .
33023302 :return: An XGA RateMap object (if there is an exact match), or a list of XGA RateMap objects (if there
33033303 were multiple matching products).
33043304 :rtype: Union[RateMap, List[RateMap]]
0 commit comments