help
help > RE: Which structurals to use for repeated measure
Dec 16, 2014 04:12 AM | Alfonso Nieto-Castanon - Boston University
RE: Which structurals to use for repeated measure
Hi Kaitlin,
When using batch commands you do not need to explicitly define whether you will be using 'session-specific' or 'session-invariant' data, that is implicitly derived from the way you enter the corresponding files. In particular, when defining your structural data, if you use a single filename for each subject, such as:
batch.Setup.structurals{1} = '/data/subject1/struct.img';
batch.Setup.structurals{2} = '/data/subject2/struct.img';
...
those are interpreted to be session-invariant structural files (one file per subject), while if you use a list of filenames, such as:
batch.Setup.structurals{1} = { '/data/subject1/session1/struct.img', '/data/subject1/session2/struct.img' };
batch.Setup.structurals{2} = { '/data/subject2/session1/struct.img', '/data/subject2/session2/struct.img' };
...
those are interpreted to be session-specific (one file per session, for each subject).
Hope this helps
Alfonso
Originally posted by Kaitlin Cassady:
When using batch commands you do not need to explicitly define whether you will be using 'session-specific' or 'session-invariant' data, that is implicitly derived from the way you enter the corresponding files. In particular, when defining your structural data, if you use a single filename for each subject, such as:
batch.Setup.structurals{1} = '/data/subject1/struct.img';
batch.Setup.structurals{2} = '/data/subject2/struct.img';
...
those are interpreted to be session-invariant structural files (one file per subject), while if you use a list of filenames, such as:
batch.Setup.structurals{1} = { '/data/subject1/session1/struct.img', '/data/subject1/session2/struct.img' };
batch.Setup.structurals{2} = { '/data/subject2/session1/struct.img', '/data/subject2/session2/struct.img' };
...
those are interpreted to be session-specific (one file per session, for each subject).
Hope this helps
Alfonso
Originally posted by Kaitlin Cassady:
Hi Alfonso,
Many thanks for all your help! I just downloaded the newest version of Conn (14p) and am exploring the new features. In regards to the "session-specific structural data" option for loading structural volumes, what would be the corresponding batch command for first declaring to use the "session-specific structural data" and then for loading in the volumes?
Thanks!
Kaitlin
Many thanks for all your help! I just downloaded the newest version of Conn (14p) and am exploring the new features. In regards to the "session-specific structural data" option for loading structural volumes, what would be the corresponding batch command for first declaring to use the "session-specific structural data" and then for loading in the volumes?
Thanks!
Kaitlin
Threaded View
| Title | Author | Date |
|---|---|---|
| Kaitlin Cassady | Nov 12, 2014 | |
| Kaitlin Cassady | Dec 13, 2014 | |
| Alfonso Nieto-Castanon | Dec 16, 2014 | |
| Kaitlin Cassady | Nov 14, 2014 | |
| Alfonso Nieto-Castanon | Nov 15, 2014 | |
| Kaitlin Cassady | Nov 14, 2014 | |
| Alfonso Nieto-Castanon | Nov 13, 2014 | |
