Skip to content

Instantly share code, notes, and snippets.

@cmaumet
Last active October 18, 2018 16:32
Show Gist options
  • Save cmaumet/4462740d575e3eedfce3f1f1c07485f2 to your computer and use it in GitHub Desktop.
Save cmaumet/4462740d575e3eedfce3f1f1c07485f2 to your computer and use it in GitHub Desktop.
BIDS-models for ds114
{
"name": "ds114_example",
"description": "An example of analysis using one run of ds114",
"image_data": "fingerfootlips",
"blocks": [
{
"level": "participant",
"inputs": {
"dependent_variable": "fingerfootlips"
},
"transformations": [{
"name": "factor",
"input": ["trial_type"]
}],
"model": {
"HRF_variables": [
"trial_type_Finger",
"trial_type_Foot",
"trial_type_Lips"
],
"explanatory_variables": [
"trial_type_Finger",
"trial_type_Foot",
"trial_type_Lips",
]
},
"contrasts": {
"name": "finger_vs_others",
"condition_list": [
"trial_type_Finger",
"trial_type_Foot",
"trial_type_Lips"
],
"weights": [1, -0.5, -0.5],
"type": "T"
}
},
{
"level": "dataset",
"inputs": {
"dependent_variable": "finger_vs_others"
},
"model": {
"explanatory_variables": [1]
},
"contrasts": {
"name": "finger_only",
"condition_list": [1],
"weights": [1],
"type": "T"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment