From 1c0511a1fcbf28a34f0884738acde67d5a949217 Mon Sep 17 00:00:00 2001 From: Jessica Pilling Date: Wed, 11 Oct 2023 17:21:15 +0100 Subject: [PATCH] updating the point source cmd so it matches an example on the website --- xga/generate/esass/spec.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xga/generate/esass/spec.py b/xga/generate/esass/spec.py index 7f5cd28c..40406b9d 100644 --- a/xga/generate/esass/spec.py +++ b/xga/generate/esass/spec.py @@ -65,8 +65,10 @@ def _spec_cmds(sources: Union[BaseSource, BaseSample], outer_radius: Union[str, ext_srctool_cmd = 'cd {d}; srctool eventfiles="{ef}" srccoord="{sc}" todo="SPEC ARF RMF"' \ ' srcreg="mask {em}" backreg=NONE exttype=MAP extmap="{em}" insts="{i}" tstep={ts} xgrid={xg}' \ ' psftype=NONE' - #TODO check the point source command - pnt_srctool_cmd = 'cd {d}; srctool eventfiles="{ef}" srcoord="{sc}" todo="SPEC ARF RMF" insts="" '\ + #TODO check the point source command in esass with some EDR obs + pnt_srctool_cmd = 'cd {d}; srctool eventfiles="{ef}" srcoord="{sc}" todo="SPEC ARF RMF" insts="{i}"' \ + ' srcreg="{reg}" backreg="{breg}" exttype="POINT" tstep={ts} xgrid={xg}' \ + ' psftype="2D_PSF"' # To deal with the object scanning across the telescopes, you need a detection map of the source #TODO how to make a detection/extent map