fslsplit is another option.

--Thomas


On Tue, Jul 30, 2013 at 7:11 AM, MCLAREN, Donald <mclaren.donald@gmail.com> wrote:
I'd convert them to nifti files and then use SPM. SPM won't know the
difference between a surface nifti and a volume nifti.

Best Regards, Donald McLaren
=================
D.G. McLaren, Ph.D.
Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School
Postdoctoral Research Fellow, GRECC, Bedford VA
Website: http://www.martinos.org/~mclaren
Office: (773) 406-2464
=====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED
HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is
intended only for the use of the individual or entity named above. If the
reader of the e-mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient, you are hereby
notified that you are in possession of confidential and privileged
information. Any unauthorized use, disclosure, copying or the taking of any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this e-mail
unintentionally, please immediately notify the sender via telephone at (773)
406-2464 or email.


On Mon, Jul 29, 2013 at 6:37 PM, Louis Nicholas Vinke
<vinke@nmr.mgh.harvard.edu> wrote:
> Forwarding to the list so others can chime in.
>
> ---------- Forwarded message ----------
> Date: Mon, 29 Jul 2013 18:19:38 -0400
> From: Subhabrata Chaudhury <subha@scientist.com>
> To: Louis Nicholas Vinke <vinke@nmr.mgh.harvard.edu>,
>     Aaron Tanenbaum <aaron.b.tanenbaum@gmail.com>
> Subject: Re: [Freesurfer] break up time course nifti
>
> Greetings Dr. Vinke and Dr. Tanenbaum,
> I saw your recent freesurfer posts.
> I have piped BOLD volumeetric nii files for each TR onto the subject's
> freesurfer surface using
> bbregister. The resulting surface files (1 for each TR) are in mgh format.
> Now I want to do a first
> level glm analysis on the surface files.
> I havent come across any tool that will allow me to conduct a first level
> glm analysis using the
> mgh files. So I was thinking if there is a way to convert these mgh files to
> nii files and then be
> able to read in these 'surface' nii files into fsl or spm or afni.
> Do you have some experience in this regard that you can share ?
> I will be highly obliged if you can help me with this and share your
> thoughts.
>
> Thank you for your help,
>
> Subha
>
>
>
>       ----- Original Message -----
>
>       From: Louis Nicholas Vinke
>
>       Sent: 07/29/13 05:46 PM
>
>       To: Aaron Tanenbaum
>
>       Subject: Re: [Freesurfer] break up time course nifti
>
>
>
>
> Hi Aaron, You can use the -f or -nth flags with mri_convert. -Louis
>
> On Mon, 29 Jul 2013, Aaron Tanenbaum wrote:
>
>> hola freesurfers, I have a time course surface nii files. I would like to
>> break up the time course into many nii files for each time frame. Is there
>> an easy way of doing this. Thank you Aaron Tanenbaum
>>
> _______________________________________________ Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Partners Compliance
> HelpLine at http://www.partners.org/complianceline . If the e-mail was sent
> to you in error but does not contain patient information, please contact the
> sender and properly dispose of the e-mail.
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer