Skip to content

Commit

Permalink
adding comments explaining the additional kewords added
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicapilling committed Jan 6, 2025
1 parent 94ce97b commit 6a9cf58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xga/generate/esass/phot.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ def expmap(sources: Union[BaseSource, NullSource, BaseSample], lo_en: Quantity =
os.makedirs(dest_dir)
# The HEASoft environment variables set here ensure that fthedit doesn't try to access the
# terminal, which causes 'device not available' errors
# withweights=yes will calculate the effective on axis exposure
# withdetmaps=yes will exclude bad pixels when calculating exposure
cmds.append("cd {d}; expmap inputdatasets={e} templateimage={im} emin={l} emax={u} mergedmaps={em} "
"withweights=yes withdetmaps=yes; "
"export HEADASNOQUERY=; export HEADASPROMPT=/dev/null; fthedit {em} REFYCRVL delete; "
Expand Down

0 comments on commit 6a9cf58

Please sign in to comment.