Yes. It's done by separate functions.
For the first level, its spm_Ce.m (line 345 of spm_fmri_spm_ui.m).
For the second level, it starts at line 1207 in spm_spm_ui.m and calls
spm_non_sphericity.m on line 1259.
Hope this helps.
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 Tue, Jul 16, 2013 at 10:46 PM, Ce Mo <[log in to unmask]> wrote:
> Dear All,
>
> I'm interested in understanding how non-sphericity constraints (covariance
> components) are calculated in spm and I wonder which .m files are the codes
> for this purpose. (In spm_spm.m, it has already be specified as a part of
> the input) Is specification of these components in 1st-level and 2nd-level
> models done via separate functions?
>
> Many thanks and Best regards,
> Ce
>
>
>
|