Skip to content

Commit

Permalink
add comment that satellite streaks are not at infinity and out-of-foc…
Browse files Browse the repository at this point in the history
…us compared to stars and galaxies
  • Loading branch information
jchiang87 committed Jul 29, 2024
1 parent 7225c25 commit 652fd96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imsim/instcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,10 @@ def getObj(self, index, gsparams=None, rng=None, exptime=30, logger=None):
obj = galsim.DeltaFunction(gsparams=gsparams)

elif params[0].lower() == 'streak':
# Note that satellite streaks are not sources at infinity
# and so would be out-of-focus compared to stars or
# galaxies and would therefore have a different PSF. This
# implementation does not account for that difference.
length = float(params[1])
width = float(params[2])
obj = galsim.Box(length, width, gsparams=gsparams)
Expand Down

0 comments on commit 652fd96

Please sign in to comment.