Skip to content

Commit

Permalink
Update starter notebook (#325)
Browse files Browse the repository at this point in the history
* Update starter notebook

* Try increasing precision
  • Loading branch information
mmuckley authored Nov 27, 2023
1 parent 84ab6e5 commit 2ce690c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions fastMRI_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"cell_type": "markdown",
"metadata": {},
"outputs": [],
"source": [
"# Testing if integration works"
"#### This notebook does not include the raw data files. In order to run the notebook, you need to download them from https://fastmri.med.nyu.edu/"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions tests/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
)
def test_fft2(shape):
shape = shape + [2]
x = create_input(shape)
x = create_input(shape).double()
out_torch = fastmri.fft2c(x).numpy()
out_torch = out_torch[..., 0] + 1j * out_torch[..., 1]

Expand All @@ -47,7 +47,7 @@ def test_fft2(shape):
)
def test_ifft2(shape):
shape = shape + [2]
x = create_input(shape)
x = create_input(shape).double()
out_torch = fastmri.ifft2c(x).numpy()
out_torch = out_torch[..., 0] + 1j * out_torch[..., 1]

Expand Down

0 comments on commit 2ce690c

Please sign in to comment.