-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
Currently the way parametric modulations are handled is not very explicit.
See here
You must have some pmod_* column present but it is not explicit to what conditions this modulation is used.
Better to make things more explicit in the Software section of the bids stats model, so that it can also better align with nipype interfaces:
https://nipype.readthedocs.io/en/latest/api/generated/nipype.algorithms.modelgen.html#specifymodel
Probably something along the lines:
"Software": {
"SPM": {
"SerialCorrelations": "AR(1)",
"Description": "list what conditions we must apply the modulation to and what values are used for the modulation.",
"ParametricModulations": [
{
"Name": "pmod_loss",
"Conditions": [
"trials"
],
"Values": [
"loss"
]
},
{
"Name": "pmod_gain",
"Conditions": [
"trials"
],
"Values": [
"gain"
]
}
],
"PolynomialExpansion": 1
}
}