|
1 | 1 | [](https://github.com/cpp-lln-lab/localizer_visual_motion/actions) |
| 2 | +<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> |
| 3 | +[](#contributors-) |
| 4 | +<!-- ALL-CONTRIBUTORS-BADGE:END --> |
2 | 5 |  |
3 | 6 |
|
4 | 7 | [](https://codecov.io/gh/cpp-lln-lab/localizer_visual_motion) |
@@ -80,6 +83,31 @@ Any details of the experiment can be changed in `setParameters.m` (e.g., experim |
80 | 83 | - Instructions |
81 | 84 | - Task #1 parameters |
82 | 85 |
|
| 86 | +#### Let the scanner pace the experiment |
| 87 | + |
| 88 | +Set `cfg.pacedByTriggers.do` to `true` and you can then set all the details in this `if` block |
| 89 | + |
| 90 | +```matlab |
| 91 | +% Time is here in in terms of number repetition time (i.e MRI volumes) |
| 92 | +if cfg.pacedByTriggers.do |
| 93 | +
|
| 94 | + cfg.pacedByTriggers.quietMode = true; |
| 95 | + cfg.pacedByTriggers.nbTriggers = 1; |
| 96 | +
|
| 97 | + cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second |
| 98 | +
|
| 99 | + % Time between blocs in secs |
| 100 | + cfg.timing.IBI = 0; |
| 101 | + % Time between events in secs |
| 102 | + cfg.timing.ISI = 0; |
| 103 | + % Number of seconds before the motion stimuli are presented |
| 104 | + cfg.timing.onsetDelay = 0; |
| 105 | + % Number of seconds after the end all the stimuli before ending the run |
| 106 | + cfg.timing.endDelay = 2; |
| 107 | +
|
| 108 | +end |
| 109 | +``` |
| 110 | + |
83 | 111 | ### 3.3. <a name='subfundoDotMo'></a>subfun/doDotMo |
84 | 112 |
|
85 | 113 | #### 3.3.1. <a name='Input:'></a>Input: |
@@ -121,3 +149,25 @@ The `numEventsPerBlock` should be a multiple of the number of "base" listed in t |
121 | 149 | - `-1` indicates static |
122 | 150 | - `expParameters.designSpeeds` is an array `(nr_blocks, numEventsPerBlock) * speedEvent` |
123 | 151 | - `expParameters.designFixationTargets` is an array `(nr_blocks, numEventsPerBlock)` showing for each event if it should be accompanied by a target |
| 152 | + |
| 153 | +## Contributors ✨ |
| 154 | + |
| 155 | +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): |
| 156 | + |
| 157 | +<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> |
| 158 | +<!-- prettier-ignore-start --> |
| 159 | +<!-- markdownlint-disable --> |
| 160 | +<table> |
| 161 | + <tr> |
| 162 | + <td align="center"><a href="https://github.com/mohmdrezk"><img src="https://avatars2.githubusercontent.com/u/9597815?v=4" width="100px;" alt=""/><br /><sub><b>Mohamed Rezk</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_visual_motion/commits?author=mohmdrezk" title="Code">💻</a> <a href="#design-mohmdrezk" title="Design">🎨</a> <a href="#ideas-mohmdrezk" title="Ideas, Planning, & Feedback">🤔</a></td> |
| 163 | + <td align="center"><a href="https://github.com/marcobarilari"><img src="https://avatars3.githubusercontent.com/u/38101692?v=4" width="100px;" alt=""/><br /><sub><b>marcobarilari</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_visual_motion/commits?author=marcobarilari" title="Code">💻</a> <a href="#design-marcobarilari" title="Design">🎨</a> <a href="#ideas-marcobarilari" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/cpp-lln-lab/localizer_visual_motion/issues?q=author%3Amarcobarilari" title="Bug reports">🐛</a> <a href="#userTesting-marcobarilari" title="User Testing">📓</a> <a href="https://github.com/cpp-lln-lab/localizer_visual_motion/pulls?q=is%3Apr+reviewed-by%3Amarcobarilari" title="Reviewed Pull Requests">👀</a> <a href="#question-marcobarilari" title="Answering Questions">💬</a> <a href="#infra-marcobarilari" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-marcobarilari" title="Maintenance">🚧</a></td> |
| 164 | + <td align="center"><a href="https://remi-gau.github.io/"><img src="https://avatars3.githubusercontent.com/u/6961185?v=4" width="100px;" alt=""/><br /><sub><b>Remi Gau</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_visual_motion/commits?author=Remi-Gau" title="Code">💻</a> <a href="#design-Remi-Gau" title="Design">🎨</a> <a href="#ideas-Remi-Gau" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/cpp-lln-lab/localizer_visual_motion/issues?q=author%3ARemi-Gau" title="Bug reports">🐛</a> <a href="#userTesting-Remi-Gau" title="User Testing">📓</a> <a href="https://github.com/cpp-lln-lab/localizer_visual_motion/pulls?q=is%3Apr+reviewed-by%3ARemi-Gau" title="Reviewed Pull Requests">👀</a> <a href="#question-Remi-Gau" title="Answering Questions">💬</a> <a href="#infra-Remi-Gau" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-Remi-Gau" title="Maintenance">🚧</a></td> |
| 165 | + <td align="center"><a href="https://github.com/CerenB"><img src="https://avatars1.githubusercontent.com/u/10451654?v=4" width="100px;" alt=""/><br /><sub><b>CerenB</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_visual_motion/issues?q=author%3ACerenB" title="Bug reports">🐛</a> <a href="#userTesting-CerenB" title="User Testing">📓</a></td> |
| 166 | + </tr> |
| 167 | +</table> |
| 168 | + |
| 169 | +<!-- markdownlint-enable --> |
| 170 | +<!-- prettier-ignore-end --> |
| 171 | +<!-- ALL-CONTRIBUTORS-LIST:END --> |
| 172 | + |
| 173 | +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
0 commit comments