-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test to verfify intercept only run level model throws a NotImplme…
…ntedError
- Loading branch information
1 parent
c7c928e
commit da44817
Showing
3 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
bids/tests/data/ds005/models/ds-005_type-interceptonlyrunlevel_model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"Name": "ds005_mixedgamblestask", | ||
"Description": "An intercept only run level model to test that an error is correctly thrown.", | ||
"BIDSModelVersion": "1.0.0", | ||
"Input": { | ||
"task": [ | ||
"mixedgamblestask" | ||
] | ||
}, | ||
"Nodes": [ | ||
{ | ||
"Level": "Run", | ||
"Name": "Run", | ||
"GroupBy": [ | ||
"run", | ||
"subject" | ||
], | ||
"Transformations": { | ||
"Transformer": "pybids-transforms-v1", | ||
"Instructions": [ | ||
{ | ||
"Name": "Factor", | ||
"Input": "trial_type" | ||
} | ||
] | ||
}, | ||
"Model": { | ||
"Type": "glm", | ||
"X": [ | ||
1 | ||
], | ||
"HRF": { | ||
"Variables": [ | ||
"trial_type.parametric gain" | ||
], | ||
"Model": "DoubleGamma", | ||
"Parameters": { | ||
"PeakDelay": 3, | ||
"PeakDispersion": 6, | ||
"UndershootDelay": 10, | ||
"UndershootDispersion": 12, | ||
"PeakUndershootRatio": 0.2 | ||
} | ||
} | ||
}, | ||
"Contrasts": [ | ||
{ | ||
"Name": "run_parametric gain", | ||
"ConditionList": [ | ||
"trial_type.parametric gain" | ||
], | ||
"Weights": [ | ||
1.0 | ||
], | ||
"Test": "t" | ||
} | ||
] | ||
} | ||
] | ||
} |