Skip to content

Commit e78d6ae

Browse files
committed
add author and license notes, fix links, remove alpha
1 parent cdab161 commit e78d6ae

17 files changed

+47
-21
lines changed

.github/workflows/python_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Install MNE-Python (development version)
5555
if: matrix.mne-version == 'mne-main'
5656
run: |
57-
pip install git+https://github.com/mne-tools/mne-python.git@main
57+
pip install --upgrade https://github.com/mne-tools/mne-python/archive/refs/heads/main.zip
5858
5959
- name: Check installed versions
6060
run: |

README.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ For documentation, see the:
4646
`Preprocessing Pipeline (PREP) <https://doi.org/10.3389/fninf.2015.00016>`_
4747
for EEG data, working with `MNE-Python <https://mne.tools>`_.
4848

49-
**ALPHA SOFTWARE.**
50-
**This package is currently in its early stages of iteration.**
51-
**It may change both its internals or its user-facing API in the near future.**
52-
**Any feedback and ideas on how to improve either of these is welcome!**
53-
**Use this software at your own risk.**
54-
5549
Installation
5650
============
5751

@@ -75,13 +69,12 @@ For installing the **latest (development)** version of ``pyprep``, call:
7569

7670
.. code-block:: Text
7771
78-
pip install git+https://github.com/sappelhoff/pyprep.git@main
79-
72+
pip install --upgrade https://github.com/sappelhoff/pyprep/archive/refs/heads/main.zip
8073
8174
Both the *stable* and the *latest* installation will additionally install
8275
all required dependencies automatically.
8376
The dependencies are defined in the ``pyproject.toml`` file under the
84-
``project.optional-dependencies`` section.
77+
``dependencies`` and ``project.optional-dependencies`` sections.
8578

8679
Contributions
8780
=============

examples/run_full_prep.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@
1414
.. currentmodule:: pyprep
1515
""" # noqa: D205 D400
1616

17-
# Authors: Aamna Lawrence <[email protected]>
18-
# Adam Li <[email protected]>
19-
# Victor Xiang <[email protected]>
20-
#
21-
# License: MIT
22-
#
17+
# Authors: The PyPREP developers
18+
# SPDX-License-Identifier: MIT
2319

2420
###############################################################################
2521
#

examples/run_ransac.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
.. currentmodule:: pyprep
1010
""" # noqa: D205 D400
1111

12-
# Authors: Yorguin Mantilla <[email protected]>
13-
#
14-
# License: MIT
15-
# Based On: use_noisy_module.py
12+
# Authors: The PyPREP developers
13+
# SPDX-License-Identifier: MIT
1614

1715
###############################################################################
1816
# First we import what we need for this example.

pyprep/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""Initialize PyPREP."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import pyprep.ransac as ransac # noqa: F401
47
from pyprep.find_noisy_channels import NoisyChannels # noqa: F401
58
from pyprep.prep_pipeline import PrepPipeline # noqa: F401

pyprep/find_noisy_channels.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""finds bad channels."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import mne
47
import numpy as np
58
from mne.utils import check_random_state, logger

pyprep/prep_pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""Module for PREP pipeline."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import mne
47
from mne.utils import check_random_state
58

pyprep/ransac.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""RANSAC bad channel identification."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import mne
47
import numpy as np
58
from mne.channels.interpolation import _make_interpolation_matrix

pyprep/removeTrend.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""High-pass filter and locally detrend the EEG signal."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import logging
47

58
import mne

pyprep/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""Module contains frequently used functions dealing with channel lists."""
22

3+
# Authors: The PyPREP developers
4+
# SPDX-License-Identifier: MIT
5+
36
import math
47
from cmath import sqrt
58

0 commit comments

Comments
 (0)