Skip to content

Commit

Permalink
fix xrd in _geqdsk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukiST committed Aug 13, 2024
1 parent 9c86ab1 commit 58489ae
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 @@ -160,7 +160,7 @@ def write(data, fh, label=None, shot=None, time=None):
xcrd = np.linspace(psi_axis,psi_bdry,nx)*sign_dpsi

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


Expand Down

0 comments on commit 58489ae

Please sign in to comment.