[FieldTrip] localspheres
Nugent, Allison C. (NIH/NIMH) [E]
nugenta at mail.nih.gov
Tue Feb 5 22:40:56 CET 2013
Hello,
I have what is possibly a naïve question, but I can't seem to find anything on the tutorial pages.
I'm trying to create a headmodel using the localspheres method, using the output of a segmented MRI.
There is a tutorial page for using different types of headmodels, but it references ft_prepare_localspheres - which works, but it appears to have been deprecated. When I try this:
hdr=ft_read_header('mydata.ds');
cfg=[];
cfg.method='localspheres';
cfg.grad=hdr.grad;
cfg.vol=segmented_mri;
vol=ft_prepare_headmodel(cfg, segmentedmri);
I get an error at ft_getopt(cfg,'tissue');
Although the documentation for ft_prepare_headmodel states that the only additional field needed by localspheres is "cfg.grad" it seems that cfg.tissue may also be required? If so, how do I set this - I can't find any documentation that explains.
I should note that I've run ft_prepare_headmodel successfully using a singleshell method.
Thanks,
Allison
Allison Nugent, PhD
MRI Physicist
Experimental Therapeutics and Pathophysiology Branch
NIMH/NIH/DHHS
Ph. 301-451-8863
nugenta at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130205/a4457afc/attachment-0001.html>
More information about the fieldtrip
mailing list