Skip to content

Commit

Permalink
Merge pull request #85 from cth7/patch-1
Browse files Browse the repository at this point in the history
Correct default value for gfin in min_time_gradient
  • Loading branch information
frankong committed Jun 17, 2021
2 parents 350ab6a + 5a05fb9 commit ca5f9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sigpy/mri/rf/trajgrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def runge_kutta(ds: float, st: float, kvals: np.ndarray, smax=None,
# (c) Michael Lustig 2005
# modified 2006 and 2007
# Rewritten in Python in 2020 by Kevin Johnson
def min_time_gradient(c: np.ndarray, g0=0, gfin=0, gmax=4, smax=15,
def min_time_gradient(c: np.ndarray, g0=0, gfin=None, gmax=4, smax=15,
dt=4e-3, gamma=4.257):
r"""
Given a k-space trajectory c(n), gradient and slew constraints. This
Expand Down

0 comments on commit ca5f9db

Please sign in to comment.