Skip to content

Commit 4753b20

Browse files
committed
refactor: standardize section headings in debi protocol
1 parent 3dabadf commit 4753b20

3 files changed

Lines changed: 44 additions & 50 deletions

File tree

‎docs/debi/data-collection/1_session_prep.md‎

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
## Session Preparation
2-
3-
### Documentation
1+
## Documentation
42

53
- [ ] Prepare the informed consent form ([EN](../../assets/files/informed_consent/form-en.pdf)|[FR](../../assets/files/informed_consent/form-fr.pdf)|[DE](../../assets/files/informed_consent/form-de.pdf))
64
- [ ] Prepare an MRI safety screener ([EN](../../assets/files/mri_safety/safety_form-en.pdf)|[FR](../../assets/files/mri_safety/safety_form-fr.pdf))
75
- [ ] Prepare a pen and a [receipt form](../../assets/files/reimbursement.pdf) that the participant will sign when they are given the compensation
86

9-
### Configure the IP address
7+
## Configure the IP address
108

119
If you are connecting your PC to the eye tracker (ET) for the first time, you need to reconfigure the IP address.
1210
On windows:
@@ -19,9 +17,9 @@ On windows:
1917
![0-e-ip](../../assets/debi_protocol/selected/0-e-ip.jpg){: style="width: 80%;display: block; margin: 0 auto;"}
2018
![0-e2-ip](../../assets/debi_protocol/selected/0-e2-ip.png){: style="width: 80%;display: block; margin: 0 auto;"}
2119

22-
### Prepare Equipment Outside the Scanner Room
20+
## Prepare Equipment Outside the Scanner Room
2321

24-
#### Turn on the projector
22+
### Turn on the projector
2523

2624
!!! important "If someone is already scanning, ask first if you can switch the projector on already"
2725

@@ -30,7 +28,7 @@ Turn on the Sony projector located in the back room of the scanner room.
3028

3129
Ensure the projector beam is directed into the scanner room.
3230

33-
#### Set up the Psychopy laptop on the table
31+
### Set up the Psychopy laptop on the table
3432

3533
- Take the psychopy PC from JB's office.
3634
![laptop-office](../../assets/debi_protocol/selected/2-e-jb-office-laptop.png){: style="width: 80%;display: block; margin: 0 auto;"}
@@ -54,7 +52,7 @@ Ensure the projector beam is directed into the scanner room.
5452
![ethernet](../../assets/debi_protocol/selected/5-e-ethernet.png){: style="width: 80%;display: block; margin: 0 auto;"}
5553
!!! danger "Make sure the IP address is reset if the laptop is connected to the ET PC for the first time!"
5654

57-
#### Set up the SyncBox
55+
### Set up the SyncBox
5856

5957
- Ensure the SyncBox cable (RJ45) is already plugged onto the interface to the scanner room.
6058
![rj45-1](../../assets/debi_protocol/selected/6-rj45-plugged.png){: style="width: 80%;display: block; margin: 0 auto;"}
@@ -83,7 +81,7 @@ Ensure the projector beam is directed into the scanner room.
8381
- Configure the TR time to 2500 ms according to our sequence. The TR determines the interval between two triggers.
8482
![tr-sync](../../assets/debi_protocol/selected/7-e3-tr-sync.png){: style="width: 80%;display: block; margin: 0 auto;"}
8583

86-
#### Set up the ET system
84+
### Set up the ET system
8785

8886
- Make sure the ET PC is plugged in.
8987
![charge-et-pc](../../assets/debi_protocol/selected/8-e-charge-ET-PC.png){: style="width: 80%;display: block; margin: 0 auto;"}
@@ -95,7 +93,7 @@ Ensure the projector beam is directed into the scanner room.
9593

9694
!!! warning "The command elcl.exe will only work and start the software once the eye tracker device is connected to the ET PC. If you encounter any error messages, please ensure the eye tracker is connected to the PC inside the scanner room and try running the command again."
9795

98-
#### Prepare the Eye Tracker device
96+
### Prepare the Eye Tracker device
9997

10098
- All the lenses, mirrors, and other equipment are in the box in JB's office.
10199
![box](../../assets/debi_protocol/selected/9-e-box.png){: style="width: 80%;display: block; margin: 0 auto;"}
@@ -107,7 +105,7 @@ Ensure the projector beam is directed into the scanner room.
107105
!!! tip "The default position of the screw for convenient focus is typically set to around `1`. ![install-lens](../../assets/debi_protocol/selected/20-e-screw-of-lens.jpg)However, the exact value can vary depending on the specific participant and setup for each time. It's recommended to start with the screw at value `1` and adjust from there for optimal focus during setup. If you're following a specific SOP, it might provide additional details for your equipment."
108106
![install-lens](../../assets/debi_protocol/selected/11-install-lens-ET.png){: style="width: 80%;display: block; margin: 0 auto;"}
109107

110-
#### Place the infrared-mirror onto the head coil
108+
### Place the infrared-mirror onto the head coil
111109

112110
- Detach the standard mirror's frame from the head coil, if it is placed there.
113111
- Take the infrared mirror out of the «fMRI usage» box. It should be always protected by a mask unless in use.
@@ -119,9 +117,9 @@ Ensure the projector beam is directed into the scanner room.
119117
- **WITH THE GLOVES** proceed to extract the infra-red mirror from its box, being extremely careful. **YOU CAN ONLY TOUCH THE MIRROR WITH GLOVES**, because it cannot be cleaned up. Watch out for FINGERPRINTS and once taken out of the protection mask, IMMEDIATELY AND CAREFULLY ATTACH IT to the head coil.
120118
![head_coil_mirror](../../assets/debi_protocol/selected/22_anno_head_coil_mirror.png){: style="width: 80%;display: block; margin: 0 auto;"}
121119

122-
### Preparation in the scanner room
120+
## Preparation in the scanner room
123121

124-
#### Connect the external cables to ET and scanner
122+
### Connect the external cables to ET and scanner
125123

126124
![cables](../../assets/debi_protocol/selected/13-e-cables.png){: style="width: 80%;display: block; margin: 0 auto;"}
127125

@@ -130,7 +128,7 @@ Ensure the projector beam is directed into the scanner room.
130128

131129
!!! warning "No photo here due to magnetic field."
132130

133-
#### Place the eye tracker and screen
131+
### Place the eye tracker and screen
134132

135133
- Place the glass plate (stored in JB's office) on the scanner
136134
- Position the ET on the glass plate according to the stickers on the plate.
@@ -152,24 +150,24 @@ Ensure the projector beam is directed into the scanner room.
152150
ping 100.1.1.1
153151
```
154152

155-
#### Place the participant
153+
### Place the participant
156154

157-
##### Place the subject on the bed
155+
#### Place the subject on the bed
158156

159157
- Provide the participant with a blanket, ear plugs and sand bags.
160158
- Adjust the head coil and the mirror. If necessary, apply some pads to adjust the participant's head position to ensure the forehead tightly positioned against the head coil.
161159
- Ensure the participant does not cross the legs.
162160
- Provide the participant with the emergency button and explain that it can be pressed it in case of an emergency.
163161
164-
##### Adjust the scanner before send the subject inside
162+
#### Adjust the scanner before send the subject inside
165163
166164
- Twist the knob to adjust the height of the bed and  wait for it to stop.
167165
- Gently move the participant with the manual controls. Stop when the head is under the head-localizer. Instruct the participant to close the eyes.
168166
- Turn on the red light to localize the head. Put one hand on the head coil, then turn the knob left or right to align the red light with the mark on the head coil. Once aligned, turn off the red light and instruct the participant to open the eyes.
169167
- Turn off the ventilation and set the scanner light to the minimum level.
170168
- Send the participant into the scanner, then proceed to the console at the back of scanner.
171169
172-
##### Adjust the lens of eye tracker
170+
#### Adjust the lens of eye tracker
173171
174172
- Point the lens of eye tracker towards the participant's right eye.
175173
- The default position of the screw on the lens can be set to around 1 for convenient adjustment.
@@ -178,17 +176,17 @@ Ensure the projector beam is directed into the scanner room.
178176
![no-pupil](../../assets/debi_protocol/selected/17-e-no-pupil.jpg){: style="width: 80%;display: block; margin: 0 auto;"}
179177
![good-pupil](../../assets/debi_protocol/selected/17-e-good-pupil.jpg){: style="width: 80%;display: block; margin: 0 auto;"}
180178

181-
### ET Calibration
179+
## ET Calibration
182180

183-
#### Inform the participant
181+
### Inform the participant
184182

185183
Inform the participant that you are leaving the room and will shortly come back for a final preparation.
186184

187-
#### Open psychopy in the psychopy laptop
185+
### Open psychopy in the psychopy laptop
188186

189187
If you are connecting the eye tracker to the experimental laptop for the first time, you will need to configure it (see Section 0).
190188

191-
#### Run the experiment on psychopy
189+
### Run the experiment on psychopy
192190

193191
Click the `Run Experiment` button, or run the experiment from the terminal by typing:
194192
`python experiment.py`. All the experiments must have a calibration and validation phase before the experiment itself (they come with the software).
@@ -204,7 +202,7 @@ Click the `Run Experiment` button, or run the experiment from the terminal by ty
204202

205203
!!! important "For every new visual stimulation, even on the same subject, there must be new calibration and validation phases to ensure a proper generated EDF"
206204

207-
#### Run the calibration
205+
### Run the calibration
208206

209207
Once the stimulation begins, follow the messages on the screen to run the calibration, make sure the following options are selected correctly
210208

@@ -214,24 +212,24 @@ Once the stimulation begins, follow the messages on the screen to run the calibr
214212
- Pupil Tracking: `Ellipse`
215213
- Camera Position: `Right`
216214

217-
#### Apply threshold to find the pupil
215+
### Apply threshold to find the pupil
218216

219217
- On the ET PC, click `Apply Threshold` (top left corner, as shown in the figure below). Ensure that the pupil is detected and that you see the blue cross on the eye. If you encounter issues, check the lighting inside the scanner (ensure it's not too bright or too dim) and verify the participant's position inside the coil. Once the calibration starts, accept the calibration points when they turn green by clicking `Accept Fixation` (the first click is always manual, the following ones are automatic or manual).
220218
- If the calibration was successful, you will see the sentence `calibration successful` at the bottom in green. Check the stability of the accepted points and overall score of the calibration.
221219
!!!tip "If the calibration points form a cross, it is a perfect calibration."
222220
![good-cross](../../assets/debi_protocol/selected/16-e-good-cross.jpg){: style="width: 80%;display: block; margin: 0 auto;"}
223221

224-
#### Follow up with the validation
222+
### Follow up with the validation
225223

226224
!!! tip "What you should see in an ideal situation is: the reference dot on the center of the screen and another dot that corresponds to the pupil calibration. The calibration dot is more or less stable moving a little around the reference dot."
227225
!!! warning "If the calibration dot is unstable and is moving around far from the reference dot, the experimenter should go back clicking the restart button, adjust the contrast and redo the calibration. Once the calibration dot is quite stable, proceed with the validation clicking the accept fixation."
228226

229227
![validation](../../assets/debi_protocol/selected/18-e-validation.jpg){: style="width: 80%;display: block; margin: 0 auto;"}
230228

231-
#### Go into the scanner room and inform the participant
229+
### Go into the scanner room and inform the participant
232230

233231
Inform the participant that you are leaving the room and will now close the door to start. Let them also know that you are going to communicate with them very shortly to check that communications through the speaker are functioning.
234232

235-
#### Exit the Scanning Room
233+
### Exit the Scanning Room
236234

237-
#### Close the Scanning Room door
235+
### Close the Scanning Room door

‎docs/debi/data-collection/2_run_scanning_session.md‎

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
1-
### Running the scanning session
2-
3-
#### Prepare the visual stimulation experiment
1+
## Prepare the visual stimulation experiment
42

53
!!!info "Click [here](https://github.com/Evelyn92/MREye_psychopy/blob/main/ver25/fixation_dots_T1weighted_250127_last_run.py) to check out the psychopy code for the [2.0 MR-Eye study](https://data.snf.ch/grants/grant/220433), and [here](https://github.com/MattechLab/MR-EyeTrack/blob/dev/visual_stimuli/fixed_dot-16_grid_T1w.py) for the [MR-Eye Track study](https://hee-projets.heig-vd.ch/en/projects/183/MREye-Track)"
64

75
- At the end of the ET calibration we are ready to continue with the experiment.
86
- Wait for the sentence regarding the initial description of the task: “In this task you will see...”
97
- Now, get ready to prepare the scanning sequence (next step).
108

11-
#### Prepare the scanning sequence
9+
## Prepare the scanning sequence
1210

13-
##### Copy the Pulseq (.seq) files
11+
### Copy the Pulseq (.seq) files
1412

1513
If you are using Pulseq to develop your own sequences, the first thing you'd need to do is to copy your .seq files into the corresponding Siemens folder for Pulseq, in C:\ProgramData\Siemens\Numaris\MriCustomer\CustomerSeq\pulseq, as shown in the picture below.
1614

1715
![pulseq-folder](../../assets/images/pulseq-folder.jpeg){: style="width: 80%;display: block; margin: 0 auto;"}
1816

1917
You can refer to [our Github repository](https://github.com/MattechLab/pulseq4mreye) to check more about code and documentation of the pulseq sequences we used for the protocol.
2018

21-
##### Add a new patient
19+
### Add a new patient
2220

2321
First, register a new patient, completing the **last name**, the **name**, the **patient ID** (you can press the Tab bar and the field will be automatically filled by the current timestamp), **date of birth**, age (automatic after entering the date of birth), **sex**, **height** and **weight**. On the right of the UI, open the Program Selection window to choose your protocol. If you don't have one yet, it is recommended to create one, so every time you scan a new subject, you don't have to drag and drop all the sequences, they will already be there! Select "**Any Polarization**" as RF Transmit Mode. Select "**Brain**" as Body Part and Laterality. Select "**Head First Supine**" as Patient Orientation. You're good to go!
2422

2523
![idea-patient](../../assets/images/idea-patient.jpeg){: style="width: 80%;display: block; margin: 0 auto;"}
2624

2725
The protocol includes several sequences. In DEBI protocol's case, a head-scout, a high-resolution anatomical image (MP-RAGE), and other sequences depending on the project: T1w-LIBRE for MR-Eye Track and T1w-LIBRE, T1w-VIBE, T2w-LIBRE, and T2w-TSE for 2.0 MR-Eye.
2826

29-
##### Load the Pulseq (.seq) files
27+
### Load the Pulseq (.seq) files
3028

3129
Once you have run the scout and the MP-RAGE, and you have positioned the FOV accordingly (check the video recording below), load the .seq file by going to Sequence > Special.
3230

@@ -41,7 +39,7 @@ Once you have run the scout and the MP-RAGE, and you have positioned the FOV acc
4139

4240
![pulseq-load-sequence](../../assets/images/pulseq-load-sequence.jpeg){: style="width: 80%;display: block; margin: 0 auto;"}
4341

44-
##### Modify some system parameters
42+
### Modify some system parameters
4543

4644
- Go to System > Coils and modify the following:
4745

@@ -64,7 +62,7 @@ Once you have run the scout and the MP-RAGE, and you have positioned the FOV acc
6462

6563
![idea-adjustments](../../assets/images/idea-adjustments.jpeg){: style="width: 80%;display: block; margin: 0 auto;"}
6664

67-
##### Send the trigger to both the scanner and the stimuli laptop
65+
### Send the trigger to both the scanner and the stimuli laptop
6866

6967
In IDEA UI, go to Physio, and select EXT Trigger.
7068

@@ -78,20 +76,20 @@ If the trigger worked, you should see that both the visual stimulation and the s
7876

7977
![et-recording](../../assets/images/et-recording.jpeg){: style="width: 80%; display: block; margin: 0 auto;"}
8078

81-
##### Video recording of the whole process
79+
### Video recording of the whole process
8280

8381
<script src="https://fast.wistia.com/player.js" async></script><script src="https://fast.wistia.com/embed/6eod5wljf4.js" async type="module"></script><style>wistia-player[media-id='6eod5wljf4']:not(:defined) { background: center / contain no-repeat url('https://fast.wistia.com/embed/medias/6eod5wljf4/swatch'); display: block; filter: blur(5px); padding-top:56.25%; }</style> <wistia-player media-id="6eod5wljf4"></wistia-player>
8482

8583
Your browser does not support the video? Click [here](https://github.com/MattechLab/sops/blob/dev/docs/assets/debi_protocol/selected/scan_eva.mp4) to download it.
8684

87-
##### How to acquire prescans
85+
### How to acquire prescans
8886

8987
You can refer to this link documentation of monalisa reconstruction where we explained with a video recording how to do acquire the prescans:
9088
[Prescan Acquisition Guide](https://mattechlab.github.io/monalisa/2-6_prescan_acquisition.html). Remember to enable "Adjust with Body Coil" in System > Adjustments (only for prescans).
9189

9290
!!! warning "When copying parameters from one sequence to another (HC to BC), make sure that the correct coils are selected!! E.g. If you copied the parameters (Copy Parameters + Adjustment Volume) from HC to BC, the coils selected for the BC scan are the ones from the HC, so you would need to manually select Body in System > Coils"
9391

94-
#### Session Completed
92+
## Session Completed
9593

9694
- At the end of the stimulation, click “t” on the experimental laptop and click the round button on the SyncBox to stop the running session.
9795

‎docs/debi/data-collection/3_session_teardown.md‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
### Session Tear-Down
2-
3-
#### Showing the Participant Out
1+
### Showing the Participant Out
42

53
- Enter the scanner room, and announce yourself to the participant saying that you will get out the participant in a few seconds.
64
- Extract the participant by pressing the extraction button and then gently rolling the central knob. Alternatively, you can just press the Home button.
@@ -13,15 +11,15 @@
1311
- Give the participant the corresponding compensation for the participation and transportation.
1412
- Ask the participant to sign the receipt of the amount of the financial compensation.
1513

16-
#### ET setting
14+
### ET setting
1715

1816
- Place the half-circle screen back to the table behind the scanner.
1917
- Unplug the two cables (signal and power) connected to the ET arm.
2018
- Roll the two ET cables and put them in the cupboard inside the Scanning room.
2119
- Remove the mirror frame from its rails mounted on the head coil and lay it on the bed.
2220
- Put the gloves on and cover the infrared mirror with a mask for storage.
2321

24-
#### Clearing up the Scanner
22+
### Clearing up the Scanner
2523

2624
- Unplug the cable on the scanner from SyncBox and roll it back to the shelf.
2725
- Remove used blankets and bed-sheets ONE-BY-ONE: extend them to let any forgotten items fall on the floor before you fold it; and dispose of them in the adequate bin (soiled linen bag if they are fabric and trash if they are disposable).
@@ -38,7 +36,7 @@
3836
- Exit and close the external door.
3937
!!! warning "Everything that is removed for the experiment needs to be put back in place at the end of the experiment, i.e., position of the bed, coil, emergency button, ears cover."
4038

41-
#### Collect ET data
39+
### Collect ET data
4240

4341
- Copy data from the subfolder of PsychoPy program into the hard drive.
4442
!!! tip "The subfolder should include the files for one session with the formats like
@@ -47,9 +45,9 @@
4745
`000001_fixed_dot-16_grid_T1w_2024-10-14_17h24.37.511.log`
4846
where '**.EDF' files are eye tracking records, `.csv` and `.log` files logs the task messages and the corresponding timestamps."
4947

50-
#### Collect MRI raw data
48+
### Collect MRI raw data
5149

52-
#### Export Twix raw data
50+
### Export Twix raw data
5351

5452
- Twix: Username: █████████, Password: ████████████.
5553
- Press `Ctrl+Esc` to open the IDE terminal.
@@ -58,14 +56,14 @@ where '**.EDF' files are eye tracking records, `.csv` and `.log` files logs the
5856
- Select the data you want to copy, right click on the mouse -> Copy Total RAID file -> select destination (your hard drive).
5957
- The only useful thing is the physio [select the flag on External Signal] <mark>need more explanation </mark>
6058

61-
#### Export the DICOM data (directly reconstructed images from the scanner)
59+
### Export the DICOM data (directly reconstructed images from the scanner)
6260

6361
- Login as SuperUser by pressing `Tab` + `Delete` + `(Bottone a DX - 9)` to enter the advance mode.
6462
- Export DICOM: select the patient, go to export // File System // Browse -> select `HD`.
6563
- Select the “Enhanced” option (1 DICOM / volume) instead of Interoperability (1 DICOM / slice).
6664
!!! warning "The default option is `Interoperability`! So we have to change it manually!"
6765

68-
#### Cleaning up the Control Room
66+
### Cleaning up the Control Room
6967

7068
- Plug back the SyncBox and the VGA projector where they were. Make sure you leave it connected exactly as you found it.
7169
- Cover the eye tracker lens with the lid.

0 commit comments

Comments
 (0)