File: README.rst

package info (click to toggle)
python-mne 0.8.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 87,892 kB
  • ctags: 6,639
  • sloc: python: 54,697; makefile: 165; sh: 15
file content (156 lines) | stat: -rw-r--r-- 5,316 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
.. -*- mode: rst -*-


|Travis|_

.. |Travis| image:: https://api.travis-ci.org/mne-tools/mne-python.png?branch=master
.. _Travis: https://travis-ci.org/mne-tools/mne-python


`mne-python <http://martinos.org/mne/mne-python.html>`_
=======================================================

This package is designed for sensor- and source-space analysis of M-EEG
data, including frequency-domain and time-frequency analyses and
non-parametric statistics. This package is presently evolving quickly and
thanks to the adopted open development environment user contributions can
be easily incorporated.

Get more information
^^^^^^^^^^^^^^^^^^^^

This page only contains bare-bones instructions for installing mne-python.

If you're familiar with MNE and you're looking for information on using
mne-python specifically, jump right to the `mne-python homepage
<http://martinos.org/mne/mne-python.html>`_. This website includes a
`tutorial <http://martinos.org/mne/python_tutorial.html>`_,
helpful `examples <http://martinos.org/mne/auto_examples/index.html>`_, and
a handy `function reference <http://martinos.org/mne/python_reference.html>`_,
among other things.

If you're unfamiliar with MNE, you can visit the
`MNE homepage <http://martinos.org/mne>`_ for full user documentation.

Get the latest code
^^^^^^^^^^^^^^^^^^^

To get the latest code using git, simply type::

    git clone git://github.com/mne-tools/mne-python.git

If you don't have git installed, you can download a zip or tarball
of the latest code: http://github.com/mne-tools/mne-python/archives/master

Install mne-python
^^^^^^^^^^^^^^^^^^

As any Python packages, to install MNE-Python, go in the mne-python source
code directory and do::

    python setup.py install

or if you don't have admin access to your python setup (permission denied
when install) use::

    python setup.py install --user

You can also install the latest release version with easy_install::

    easy_install -U mne

or with pip::

    pip install mne --upgrade

or for the latest development version (the most up to date)::

    pip install -e git+https://github.com/mne-tools/mne-python#egg=mne-dev --user

Dependencies
^^^^^^^^^^^^

The required dependencies to build the software are python >= 2.6,
NumPy >= 1.6, SciPy >= 0.7.2 and matplotlib >= 0.98.4.

Some isolated functions require pandas >= 0.7.3 and nitime (multitaper analysis).

To run the tests you will also need nose >= 0.10.
and the MNE sample dataset (will be downloaded automatically
when you run an example ... but be patient)

To use NVIDIA CUDA for FFT FIR filtering, you will also need to install
the NVIDIA CUDA SDK, pycuda, and scikits.cuda. The difficulty of this varies
by platform; consider reading the following site for help getting pycuda
to work (typically the most difficult to configure):

http://wiki.tiker.net/PyCuda/Installation/

Contribute to mne-python
^^^^^^^^^^^^^^^^^^^^^^^^

Please see the documentation on the mne-python homepage:

http://martinos.org/mne/contributing.html

Mailing list
^^^^^^^^^^^^

http://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

Running the test suite
^^^^^^^^^^^^^^^^^^^^^^

To run the test suite, you need nosetests and the coverage modules.
Run the test suite using::

    nosetests

from the root of the project.

Making a release and uploading it to PyPI
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This command is only run by project manager, to make a release, and
upload in to PyPI::

    python setup.py sdist bdist_egg register upload


Licensing
^^^^^^^^^

MNE-Python is **BSD-licenced** (3 clause):

    This software is OSI Certified Open Source Software.
    OSI Certified is a certification mark of the Open Source Initiative.

    Copyright (c) 2011, authors of MNE-Python
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.

    * Neither the names of MNE-Python authors nor the names of any
      contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.

    **This software is provided by the copyright holders and contributors
    "as is" and any express or implied warranties, including, but not
    limited to, the implied warranties of merchantability and fitness for
    a particular purpose are disclaimed. In no event shall the copyright
    owner or contributors be liable for any direct, indirect, incidental,
    special, exemplary, or consequential damages (including, but not
    limited to, procurement of substitute goods or services; loss of use,
    data, or profits; or business interruption) however caused and on any
    theory of liability, whether in contract, strict liability, or tort
    (including negligence or otherwise) arising in any way out of the use
    of this software, even if advised of the possibility of such
    damage.**