Skip to content

Commit

Permalink
Copy pupil coords
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Jun 7, 2024
1 parent 74e7712 commit 0cad149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imsim/photon_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def applyTo(self, photon_array, local_wcs=None, rng=None):

v = self.photon_velocity(photon_array, local_wcs, rng)

x, y = photon_array.pupil_u, photon_array.pupil_v
x = photon_array.pupil_u.copy()
y = photon_array.pupil_v.copy()
z = self.telescope.stopSurface.surface.sag(x, y)
ray_vec = batoid.RayVector._directInit(
x,
Expand Down

0 comments on commit 0cad149

Please sign in to comment.