Changing the download location of the MNE sample data

Hi,

I'd like to look at the MNE sample data. I'm importing it using:

from mne.datasets import sample

How can I change the directory to which the data gets downloaded?

Thanks and Best Regards,
Gladia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170719/ec83ec2f/attachment.html

hi,

have a look at:

http://martinos.org/mne/dev/generated/mne.datasets.sample.data_path.html#mne.datasets.sample.data_path

you can specify the path param.

HTH
A