Skip to content

Commit

Permalink
fix pprime in _geqdsk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukiST committed Aug 13, 2024
1 parent 58489ae commit 59dabca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypnotoad/geqdsk/_geqdsk.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def write(data, fh, label=None, shot=None, time=None):

pprime_spl = sp.interpolate.InterpolatedUnivariateSpline(
xcrd, data["pres"]*sign_dpsi).derivative()
write_1d(pprime(xcrd),co)
write_1d(pprime_spl(xcrd),co)


write_2d(data["psi"], co)
Expand Down

0 comments on commit 59dabca

Please sign in to comment.