Skip to content

Instantly share code, notes, and snippets.

@mnarayan
Forked from cmaumet/ds114_model.json
Last active October 18, 2018 20:22
Show Gist options
  • Save mnarayan/57ea3c1aef40a349de4b4bfda3ee3674 to your computer and use it in GitHub Desktop.
Save mnarayan/57ea3c1aef40a349de4b4bfda3ee3674 to your computer and use it in GitHub Desktop.
BIDS-models for ds000031
{
"name": "ds000031 example",
"description": "An example of connectivity analysis using ds000031",
"input":
{
"task": "rest"
},
"blocks": [
{
"level": "run",
"transformations": [
{
"name": "load_image_data",
"input": ["bold"],
"aggregate": ["mean"],
"mask": ["Schaefer100"], /* write proper BIDS respecting mask name */
"output": ["Schaefer100*"]
}
],
},
{
"level": "session",
"model":
{
"variables": [
"Schaefer100*",
"WhiteMatter",
"CSF",
"FramewiseDisplacement",
"aCompCor0",
"aCompCor1",
"aCompCor2",
"aCompCor3",
"aCompCor4",
"aCompCor5",
"X",
"Y",
"Z",
"RotX",
"RotY",
"RotZ"
],
"options":
{
"confounds": [
"WhiteMatter",
"CSF",
"FramewiseDisplacement",
"aCompCor0",
"aCompCor1",
"aCompCor2",
"aCompCor3",
"aCompCor4",
"aCompCor5",
"X",
"Y",
"Z",
"RotX",
"RotY",
"RotZ"
],
"high_pass_filter_cutoff_secs": 128
},
"variances": [
{
"name": "session_level",
"groupBy": "session"
}
],
"software":
{
"myconnectivitytool":
{
"whitening": ["AR1"], /* Specify type of whitening */
"clean": ["True"], /* Eliminate nuisance subspace, however your software performs this */
"ConnectivityMeasure": ["correlation"]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment