[Neuroimaging] [PySurfer]: Problem running a basic example

Michael Waskom mwaskom at nyu.edu
Sat Feb 3 15:12:56 EST 2018


Hi Jorge,

In this simple example the data is specified with the second chunk:

"""Get a path to the overlay file."""overlay_file = "example_data/lh.sig.nii.gz"


So you can load your own data similarly. As the example text notes, this
specific example is for "when you already have a map of [your data] defined
on the Freesurfer surface.

If you have volume data, it will need to be transformed to the surface to
use pysurfer. There is an example
<https://pysurfer.github.io/auto_examples/plot_fmri_activation_volume.html>
that
shows how to do that using a pysurfer function, or you can use your own
method to put it on the surface and then follow the simpler example you
linked to.

Hope that helps.
Michael




On Sat, Feb 3, 2018 at 10:08 AM, Jorge Rudas <jrudascas at gmail.com> wrote:

> Hi PySurfer experts,
>
> I would like to have figures similar to Basic fMRI activation example as
> here
> <https://pysurfer.github.io/auto_examples/plot_fmri_activation.html#sphx-glr-auto-examples-plot-fmri-activation-py>
> .
>
> How can use my own data for that?
>
> Cheers!
>
> *Jorge Rudas*
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20180203/b25bb2b3/attachment.html>


More information about the Neuroimaging mailing list