File: data_fetch.rst

package info (click to toggle)
dipy 1.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,144 kB
  • sloc: python: 92,240; makefile: 272; pascal: 183; sh: 162; ansic: 106
file content (25 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _data_fetch:

-------------------------
Downloading DIPY datasets
-------------------------
In this tutorial, you will learn how to download the DIPY datasets using the terminal.

First, let's create a folder::

    mkdir data_folder

You can list all available datasets in DIPY using the command::

    dipy_fetch list

In order to fetch a specific dataset, you will need to specify its name to the ``dipy_fetch``
command, and an optional destination directory using the ``--out_dir`` argument::

    dipy_fetch {specific_dataset} --out_dir {specific_data_out_folder}

For example, to download the ``sherbrooke_3shell`` dataset, you would run::

    dipy_fetch sherbrooke_3shell --out_dir data_folder

You can find details about all the datasets available in DIPY :ref:`data`.