Skip to content

Commit

Permalink
Project structure and readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Jackson authored and Laurence Jackson committed Jun 10, 2019
1 parent e1d0b70 commit 9bdb202
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ docs/_build/

# PyBuilder
target/

# other
.idea/
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
sweep_recon
# sweep-recon

---
## Introduction
Reconstruction code for respiration resolved SWEEP acquisitions. The code presented here is a builds upon the reconstructiion pipeline described in the paper below. If you find this code useful please acknowledge this paper (in press).

>Jackson LH, Price AN, Hutter J et al. Respiration resolved imaging with continuous stable state 2D acquisition using linear frequency SWEEP. Magn Reson Med. 2019;00:1–15.
An outline of the reconstruction pipeline is given in the figure below. For more details please refer to the paper given above.

![](./data/figures/Figure_1_pipeline.png)

## Example
```
Usage:
sweeprecon -i path_to_nii <optional args>
Optional arguments:
--thickness <float> :: thickness of acquisition slices in mm (default 4mm)
--nstates <int> :: number of respiration states to receonstruct to (defualt 4)
--recon_thickness <float> :: thickness of reconstructed slices in mm (default isotropic)
--redo :: flag to redo processing from scratch
--resort_only :: flag to stop processing after resort step
--crop <float> :: factor to crop from either side of image for bodyarea mask (default 0.2)
```

7 changes: 7 additions & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import sys

from sweeprecon.applications.app_sweep_recon import main

if __name__ == "__main__":
print('running __main__')
sys.exit(main())
Binary file added data/figures/Figure_1_pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added requirements.txt
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions sweeprecon/applications/app_sweep_recon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@


def main():
return
Empty file added sweeprecon/io/__init__.py
Empty file.

0 comments on commit 9bdb202

Please sign in to comment.