GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Documentation: Flow diagram in API doc · DiedrichsenLab/MultiTaskBattery@396f9a4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs
    • getting_started.rst
    • images
      • flow_diagram.png
    • index.rst
    • reference.rst
    • task_descriptions.rst
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/getting_started.rst‎

Copy file name to clipboardExpand all lines: docs/getting_started.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The repository is organized into the following main folders:
2626
Implemented tasks
2727
-----------------
2828

29-
The task that are implemented in the repository are listed in the ``task_table.tsv`` file in the `MultiTaskBattery` folder.
29+
The task that are implemented in the repository are listed in the ``task_table.tsv`` file in the `MultiTaskBattery` folder. For more details, see the :ref:`task descriptions <task_descriptions>`: .
3030

3131
.. csv-table:: List of tasks
3232
:file: task_table_for_docs.csv
Collapse file

‎docs/images/flow_diagram.png‎

Copy file name to clipboard
159 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎docs/index.rst‎

Copy file name to clipboardExpand all lines: docs/index.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Multi Task Battery experiments
44
==============================
55

6-
The MTB repository provides a Python-based framework (built on PsychoPy) to run fMRI experiments that contain many different tasks. Such task batteries are useful for individual localization of function, and to understand the relationship between different tasks. The main advance from traditional multi-task approaches (e.g., the HCP task-based dataset) is that we run many different task within a single imaging run, rather than acquire different task in separate imaging runs. While participants have to switch between task during scanning, this approach optimizes the statistical power to relate the activity patterns across many different tasks within the same individual. We have used this approach with great success in several studies, starting with the Multi-domain Task Battery (MDTB) described in King et al. (2019).
6+
The MTB repository provides a Python-based framework (built on PsychoPy) to run fMRI experiments that contain many different tasks. Such task batteries are useful for individual localization of function, and to understand the relationship between different tasks. The main advance from traditional multi-task approaches (e.g., the HCP task-based dataset) is that we run many different task within a single imaging run, rather than in separate imaging runs. While participants have to switch between task during scanning, this approach optimizes the statistical power to relate the activity patterns across many different tasks within the same individual. We have used this approach with great success in several studies, starting with the Multi-domain Task Battery (MDTB) described in King et al. (2019).
77

88
The repository implements a number of validated tasks, from which the user can easily assemble a new multi-task battery that fits their specific research needs. The code is object-oriented and can easily be expanded to implement new tasks.
99

Collapse file

‎docs/reference.rst‎

Copy file name to clipboardExpand all lines: docs/reference.rst
+14Lines changed: 14 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
API reference
22
-------------
33

4+
Overview
5+
^^^^^^^^
6+
.. image:: images/flow_diagram.png
7+
:width: 600
8+
9+
The main function will create an Experiment object, will all the settings specified in the constants.py file.
10+
11+
``Experiment.confirm_run_info()`` will ask the user to confirm the run information.
12+
13+
``Experiment.init_run()`` will read the run_file and then create the task objects, which in turn will read the trial files. Run and task files are created before the experiment starts, using the specification in your make_files.py module.
14+
15+
``Experiment.run()`` will finally run a run of the experiment, calling ``Task.run()`` for each task in the right moment, which then calls ``Task.run_trial()``. For most tasks, only the latter function needs to be defined. The data for each task will be collected and saved in the file <subj_id>_<task_id>.tsv in the data folder. The actual timing of the different tasks in each run are stored in the <subj_id>.tsv file.
16+
17+
418
.. toctree::
519
:maxdepth: 2
620

Collapse file

‎docs/task_descriptions.rst‎

Copy file name to clipboardExpand all lines: docs/task_descriptions.rst
+8-7Lines changed: 8 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
21
Task Descriptions
3-
----------------------------------
2+
-----------------
3+
4+
.. _task_descriptions:
45

56
Action Observation
67
^^^^^^^^^^^^^^^^^^^
@@ -24,14 +25,14 @@ Auditory Narrative
2425
This is the auditory narrative task. You will be listening to a story that is told to you via the headphones. Try to follow the story and imagine the scenes that are being described. Try to imagine the characters, the setting, the objects that are being described. Try to imagine the story as vividly as possible. In each run, you will hear a bit more of the story. Try to follow along the narrative across runs.
2526

2627
Degraded Passage
27-
^^^^^^^^^^^^^^^^^^^
28+
^^^^^^^^^^^^^^^^
2829
.. image:: images/Slide27.png
2930
:width: 600
3031

3132
This is the degraded passage task. You will be listening to passages of different stories or snippets of conversations. The sound quality of the stories and conversations will be degraded. Listen attentively and try to understand what is being said.
3233

3334
Demand Grid
34-
^^^^^^^^^^^^^^^^^^^
35+
^^^^^^^^^^^
3536
.. image:: images/Slide29.png
3637
:width: 600
3738

@@ -45,14 +46,14 @@ Finger Sequence
4546
This is a movement task. You will have 5 seconds to respond to a sequence of six numbers (comprised of 1,2,3,4).
4647

4748
Flexion Extension
48-
^^^^^^^^^^^^^^^
49+
^^^^^^^^^^^^^^^^^
4950
.. image:: images/Slide4.png
5051
:width: 600
5152

5253
This is a toe movement task. You will flex and extend your toes. When the screen says 'fled', then pull your toes towards you. When it says 'extend', extend your toes away from you, like you're tip-toeing. Try to keep the rest of your body as still as possible while you do this so that you don’t move your head. Try also to match the pace of the instruction.
5354

5455
Intact Passage
55-
^^^^^^^^^^^^^^^
56+
^^^^^^^^^^^^^^
5657
.. image:: images/Slide26.png
5758
:width: 600
5859

@@ -128,7 +129,7 @@ Tongue Movement
128129
This is a tongue movement task. You will move your tongue from left to right in your closed mouth. Your will either touch your left upper premolar teeth or your right upper premolar teeth. The premolar teeth are shown in the image. A black circle flashing on and off around the fixation cross while tell you when to touch left or right. When you see the black circle on, touch your right upper premolar teeth. When it is off, touch your left premolar teeth. Try to keep the rest of your body as still as possible while you do this so that you don’t move your head.
129130

130131
Unpleasant Scenes
131-
^^^^^^^^^^^^^^^
132+
^^^^^^^^^^^^^^^^^
132133
.. image:: images/Slide31.png
133134
:width: 600
134135

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.