Skip to content

Commit

Permalink
updating the point source cmd so it matches an example on the website
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Pilling committed Oct 11, 2023
1 parent 5c8d2c1 commit 1c0511a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xga/generate/esass/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c0511a

Please sign in to comment.