Skip to content

Commit d618372

Browse files
Merge pull request #122 from ChristopherMayes/fix_ky_typo
Fix ky typo with ifftshift -> fftshift
2 parents 2774d48 + 9c24cea commit d618372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pmd_beamphysics/wavefront/wavefront.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def kyvec(self):
296296
"""
297297
Array of ky (transverse wavenumber) values in rad/m.
298298
"""
299-
return 2 * pi * ifftshift(fftfreq(self.ny, d=self.dy))
299+
return 2 * pi * fftshift(fftfreq(self.ny, d=self.dy))
300300

301301
@property
302302
def kymin(self):

0 commit comments

Comments
 (0)