Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradunwarp/core/unwarp_resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def eval_spharm_grid(self, vendor, coeffs):
vec = np.linspace(fovmin, fovmax, numpoints)
gvx, gvy, gvz = np.meshgrid(vec, vec, vec)
# mm
cf = (fovmax - fovmin) / numpoints
cf = (fovmax - fovmin) / (numpoints - 1)

# deduce the transformation from rcs to grid
g_rcs2xyz = np.array( [[0, cf, 0, fovmin],
Expand Down