Skip to content

Commit 6c28992

Browse files
committed
Updated version, README.
1 parent 6f64876 commit 6c28992

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ktraj = torch.tensor(ktraj).unsqueeze(0)
5353

5454
nufft_ob = KbNufft(im_size=im_size)
5555
# outputs a (1, 1, 2, klength) vector of k-space data
56-
y = nufft_ob(x, ktraj)
56+
kdata = nufft_ob(x, ktraj)
5757
```
5858

5959
A detailed example of basic NUFFT usage is included in ```notebooks/Basic Example.ipynb```.
@@ -65,7 +65,9 @@ The package also includes utilities for working with SENSE-NUFFT operators. The
6565
```python
6666
from torchkbnufft import MriSenseNufft
6767

68+
smap = torch.rand(1, 8, 2, 400, 400)
6869
sensenufft_ob = MriSenseNufft(im_size=im_size, smap=smap)
70+
sense_data = sensenufft_ob(x, ktraj)
6971
```
7072

7173
Application of the object in place of ```nufft_ob``` above would first multiply by the sensitivity coils in ```smap```, then compute a 64-length radial spoke for each coil. All operations are broadcast across coils, which minimizes interaction with the Python interpreter and maximizes computation speed.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Matthew Muckley'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.2.0'
25+
release = '0.2.1'
2626

2727

2828
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)