Table Of Contents

Previous topic

testing.nitest

Next topic

utils.mlabtemp

This Page

utils.get_data

Module: utils.get_data

Download the nipy test/example data from the cirl.berkeley.edu server.

This utility asks the user if they would like to download the file and if so it:

  • makes the data directory ~/.nipy/tests/data
  • downloads the tarball
  • extracts the tarball

Functions

nipy.utils.get_data.extract_tarfile(filename, dstdir)
Extract tarfile to the destination directory.
nipy.utils.get_data.get_data()
nipy.utils.get_data.read_chunk(fp)