Coder Social home page Coder Social logo

mne-testing-data's Introduction

mne-testing-data

Data for mne-python testing.

Acquire this data in MNE

Use mne.datasets.testing.data_path(verbose=True).

Update to the latest version in MNE

Use mne.datasets.testing.data_path(force_update=True, verbose=True).

Add or change files in the repo for use with MNE

  1. Ensure your only option is to add files here. Alternatives would be e.g.:

    • See if you can make use of existing files
    • Synthesize the necessary testing files using e.g. RawArray and NumPy directly
  2. If new files are needed, make a PR to this repo to add your files.

    .. warning:: Make files as small as possible while ensuring proper testing! This often means e.g. cropping to a very short segment of data or using a small subset of channels.

  3. Update the version.txt of the repo in your PR to the next increment.

  4. Once your PR is merged, ask a maintainer to cut a new release of the testing data, e.g. 0.53.

  5. In MNE, update mne/datasets/utils.py to:

    1. Change the 'testing' value in the releases dict in mne/datasets/utils.py to the new version.

    2. Set the new hash. This can be easily done by either:

      1. Downloading and running md5sum on this (with the proper version number):

        https://codeload.github.com/mne-tools/mne-testing-data/tar.gz/0.53

        or

      2. Force-updating the repo and looking at the error message (as it gives the new true hash), e.g.:

        $ python -c "import mne; mne.datasets.testing.data_path(force_update=True)"
        

mne-testing-data's People

Contributors

agramfort avatar bloyl avatar bmaess avatar britta-wstnr avatar cbrnr avatar christianbrodbeck avatar deep-introspection avatar fraimondo avatar jaeilepp avatar jasmainak avatar jjnurminen avatar kstoffer avatar larsoner avatar massich avatar mattboggess avatar nbara avatar nfoti avatar smgutstein avatar thht avatar wronk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.