help
help > RE: longitudinal gPPI
Dec 2, 2015 04:12 PM | Alfonso Nieto-Castanon - Boston University
RE: longitudinal gPPI
Dear Pauline,
Sorry for the late reply. Please use the attached patch (this patch is for release 15g, copy the file to the conn distribution folder overwriting the file with the same name there). This will allow you to define in your batch script the additional option:
batch.Setup.spmfiles_options = {'breakconditionsbysession',true};
to specify that, when importing the SPM.mat files CONN should break any condition into session-specific effects. In your script simply remove the explicit call to the conn_importspm function (in line 100) and add instead the line above there.
Hope this helps
Alfonso
Originally posted by Pauline Favre:
Sorry for the late reply. Please use the attached patch (this patch is for release 15g, copy the file to the conn distribution folder overwriting the file with the same name there). This will allow you to define in your batch script the additional option:
batch.Setup.spmfiles_options = {'breakconditionsbysession',true};
to specify that, when importing the SPM.mat files CONN should break any condition into session-specific effects. In your script simply remove the explicit call to the conn_importspm function (in line 100) and add instead the line above there.
Hope this helps
Alfonso
Originally posted by Pauline Favre:
Dear Alfonso,
Thank you for your answer, that's exactly what I'd like to do.
The first proposition is not really a option because the onsets of each condition differ across sessions and subjects (that's why I need to import the SPM.mat).
The "conn_importspm(..)" command might be what I need but I didn't really understood how can I implemented it in my batch (attached) (i.e., right after Batch.Setup.spmfiles? Instead of Batch.Setup.done?).
Or maybe another alternative could be to specify a name for the spmfile of each session? (something like "Batch.Setup.spmfiles.names"??).
Thanks you very much for your consideration,
Pauline
Thank you for your answer, that's exactly what I'd like to do.
The first proposition is not really a option because the onsets of each condition differ across sessions and subjects (that's why I need to import the SPM.mat).
The "conn_importspm(..)" command might be what I need but I didn't really understood how can I implemented it in my batch (attached) (i.e., right after Batch.Setup.spmfiles? Instead of Batch.Setup.done?).
Or maybe another alternative could be to specify a name for the spmfile of each session? (something like "Batch.Setup.spmfiles.names"??).
Thanks you very much for your consideration,
Pauline
Threaded View
| Title | Author | Date |
|---|---|---|
| Pauline Favre | Nov 23, 2015 | |
| Alfonso Nieto-Castanon | Nov 23, 2015 | |
| Pauline Favre | Nov 24, 2015 | |
| Alfonso Nieto-Castanon | Dec 2, 2015 | |
| Pauline Favre | Dec 3, 2015 | |
