Skip to content

Commit 7792425

Browse files
committed
update doc
1 parent b255cf7 commit 7792425

File tree

6 files changed

+90
-11
lines changed

6 files changed

+90
-11
lines changed

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@
99
Rawdata for tests are available here : https://zenodo.org/records/14046657
1010

1111

12-
13-
1412
---
1513

1614

17-
18-
19-
2015
SEQ_BRUKER_a_MP2RAGE_CS_360.jl is a Julia package that implements a reconstruction for an accelerated MP2RAGE sequence for Bruker scanner (**PV360-3.5**).
2116
The reconstruction is performed using MRIReco.jl
2217

@@ -32,7 +27,15 @@ Additionally, if you use the sequence available in the MR sequence folder, pleas
3227

3328
## Bruker sequence and protocol
3429

35-
The sequence, implemented for **Bruker Paravision PV-360.3.5**, and the corresponding protocol for fully-sampled is available in the folder `MR sequence/PV-360.3.5`. Source code is available in this private directory : https://github.com/aTrotier/a_MP2RAGE_CS_360
30+
The sequence, implemented for **Bruker Paravision PV-360.3.5**, and the corresponding protocol for fully-sampled is available in the folder `MR sequence/PV-360.3.5`.
31+
32+
Compressed-sensing implementation is available through the standard Bruker tab `Resolution/Encoding`. If you want to perform a compressed-sensing experiment with an acceleration of 2 like the one used here : acceleration factor = 50% and use a calibration size of 5%
33+
```
34+
##$PVM_EncCSUndersampling=50
35+
##$PVM_EncCSCenterRatio=5
36+
```
37+
38+
Source code is available in this private directory : https://github.com/aTrotier/a_MP2RAGE_CS_360
3639

3740
## Julia Installation
3841

@@ -138,8 +141,6 @@ dir_path = "" # directory path where the files will be create
138141
write_bids_MP2RAGE(d,subject_name,dir_path)
139142
```
140143

141-
## Version
142-
143144

144145
[docs-img]: https://img.shields.io/badge/docs-latest%20release-blue.svg
145146
[docs-url]: https://crmsb.github.io/SEQ_BRUKER_a_MP2RAGE_CS_360/dev/

docs/make.jl

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ makedocs(;
2020
),
2121
pages=[
2222
"Home" => "index.md",
23+
"Sequence and protocol" => "sequence.md",
24+
"Installation and usage" => "reconstruction.md",
2325
"Examples" =>["generated/examples/simple_reco.md",
2426
"generated/examples/advanced_reco.md"],
2527
"API" => "api.md"

docs/src/api.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
```@index
2+
```
13

24
```@autodocs
35
Modules = [SEQ_BRUKER_a_MP2RAGE_CS_360]

docs/src/index.md

+19-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,23 @@ CurrentModule = SEQ_BRUKER_a_MP2RAGE_CS_360
44

55
# SEQ\_BRUKER\_A\_MP2RAGE\_CS\_360
66

7-
Documentation for [SEQ_BRUKER_a_MP2RAGE_CS_360](https://github.com/CRMSB/SEQ_BRUKER_a_MP2RAGE_CS_360.jl).
7+
SEQ_BRUKER_a_MP2RAGE_CS_360.jl is a Julia package that implements a reconstruction for an accelerated MP2RAGE sequence for Bruker scanner (**PV360-3.5**).
8+
The reconstruction is performed using MRIReco.jl
89

9-
```@index
10-
```
10+
More information and examples are available in the article [![][paper-img]][paper-url] and in the [![][docs-img]][docs-url]
11+
12+
## How to give credit
13+
14+
If you use this package please acknowledge us by citing : https://doi.org/10.1002/mrm.27438
15+
16+
Additionally, if you use the sequence available in the MR sequence folder, please contact us to sign the sequence transfer agreement : aurelien.trotier@rmsb.u-bordeaux.fr
17+
18+
19+
20+
![](./docs/src/img/fig_explain.png)
21+
22+
[docs-img]: https://img.shields.io/badge/docs-latest%20release-blue.svg
23+
[docs-url]: https://crmsb.github.io/SEQ_BRUKER_a_MP2RAGE_CS_360/dev/
24+
25+
[paper-img]: https://img.shields.io/badge/doi-10.1002/mrm.27438-blue.svg
26+
[paper-url]: https://doi.org/10.1002/mrm.27438

docs/src/reconstruction.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
# Package Installation
3+
4+
You can install the package in any project with the following command :
5+
6+
- launch julia with the command `julia`
7+
- enter the Julia package manager by typing `]` in the REPL. (the REPL should turn in blue)
8+
- if you want to activate an environment, type : `activate .` (otherwise the package will be installed in the global environment)
9+
- In order to add our unregistered package, type `add https://github.com/CRMSB/SEQ_BRUKER_a_MP2RAGE_CS_360`
10+
- if you want to use the package in your script just add the following line : `using SEQ_BRUKER_a_MP2RAGE_CS_360`
11+
12+
13+
# How to use the package
14+
15+
Follow the example in the [documentation](https://crmsb.github.io/SEQ_BRUKER_a_MP2RAGE_CS_360/dev/generated/examples/simple_reco/)
16+
17+
**Steps :**
18+
- Define the path to the bruker dataset
19+
```julia
20+
path_bruker = joinpath(datadir, "MP2RAGE_FULLY")
21+
```
22+
- Perform the reconstruction
23+
```julia
24+
d = reconstruction_MP2RAGE(path_bruker; mean_NR=true)
25+
```
26+
- write the results in the qBIDS format
27+
```julia
28+
subject_name = "sub_01"
29+
dir_path = "" # directory path where the files will be create
30+
write_bids_MP2RAGE(d,subject_name,dir_path)
31+
```

docs/src/sequence.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Bruker sequence and protocol
2+
3+
The sequence, implemented for **Bruker Paravision PV-360.3.5**, and the corresponding protocol for fully-sampled is available in the folder `MR sequence/PV-360.3.5`.
4+
5+
## Enable compressed-sensing acquisition
6+
7+
Compressed-sensing implementation is available through the standard Bruker tab `Resolution/Encoding`. If you want to perform a compressed-sensing experiment with an acceleration of 2 like the one used here : acceleration factor = 50% and use a calibration size of 5%
8+
```
9+
##$PVM_EncCSUndersampling=50
10+
##$PVM_EncCSCenterRatio=5
11+
```
12+
13+
## Source code
14+
15+
Source code is available in this private directory : https://github.com/aTrotier/a_MP2RAGE_CS_360
16+
17+
# Raw datasets
18+
19+
The rawdata used in the example are stored on zenodo : https://zenodo.org/records/14046657
20+
- One is a fully sampled acquisition (128x128x96)
21+
- The other one is accelerated by a factor of 2
22+
```
23+
##$PVM_EncCSUndersampling=50
24+
##$PVM_EncCSCenterRatio=5
25+
```
26+
27+
They are used for each merge to generate the figures used in examples.

0 commit comments

Comments
 (0)