eegprep-sample-data 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2025, Swartz Center for Computational Neuroscience
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice,
9
+ this list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
25
+ THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.4
2
+ Name: eegprep-sample-data
3
+ Version: 1.0.0
4
+ Summary: The continuous and epoched EEGLAB sample recordings that eegprep-console cont and epoch open
5
+ Author: SCCN
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://github.com/sccn/eegprep
8
+ Project-URL: Issues, https://github.com/sccn/eegprep/issues
9
+ Keywords: eeg,EEGLAB,eegprep,sample data
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.12
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: license-file
16
+
17
+ # eegprep-sample-data
18
+
19
+ The two EEGLAB sample recordings that EEGPrep opens with `eegprep-console cont`
20
+ and `eegprep-console epoch`.
21
+
22
+ `pip install "eegprep[full]"` installs this package. A plain
23
+ `pip install eegprep` does not, which keeps that download about 7 MB smaller.
24
+
25
+ | file | recording |
26
+ | --- | --- |
27
+ | `eeglab_data.set`, `eeglab_data.fdt` | continuous: 32 channels, 30,504 samples at 128 Hz (238 s), 154 events |
28
+ | `eeglab_data_epochs_ica.set`, `eeglab_data_epochs_ica.fdt` | epoched with ICA: 32 channels, 80 epochs of 384 samples (-1 to 2 s), 32 components |
29
+
30
+ They are byte-identical copies of the files in the `sample_data` folder of the
31
+ [EEGPrep repository](https://github.com/sccn/eegprep).
32
+
33
+ ## Use
34
+
35
+ ```python
36
+ from eegprep import pop_loadset
37
+ from eegprep_sample_data import path
38
+
39
+ EEG = pop_loadset(path() / "eeglab_data.set")
40
+ ```
@@ -0,0 +1,24 @@
1
+ # eegprep-sample-data
2
+
3
+ The two EEGLAB sample recordings that EEGPrep opens with `eegprep-console cont`
4
+ and `eegprep-console epoch`.
5
+
6
+ `pip install "eegprep[full]"` installs this package. A plain
7
+ `pip install eegprep` does not, which keeps that download about 7 MB smaller.
8
+
9
+ | file | recording |
10
+ | --- | --- |
11
+ | `eeglab_data.set`, `eeglab_data.fdt` | continuous: 32 channels, 30,504 samples at 128 Hz (238 s), 154 events |
12
+ | `eeglab_data_epochs_ica.set`, `eeglab_data_epochs_ica.fdt` | epoched with ICA: 32 channels, 80 epochs of 384 samples (-1 to 2 s), 32 components |
13
+
14
+ They are byte-identical copies of the files in the `sample_data` folder of the
15
+ [EEGPrep repository](https://github.com/sccn/eegprep).
16
+
17
+ ## Use
18
+
19
+ ```python
20
+ from eegprep import pop_loadset
21
+ from eegprep_sample_data import path
22
+
23
+ EEG = pop_loadset(path() / "eeglab_data.set")
24
+ ```
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "eegprep-sample-data"
7
+ dynamic = ["version"]
8
+ description = "The continuous and epoched EEGLAB sample recordings that eegprep-console cont and epoch open"
9
+ readme = "README.md"
10
+ license = "BSD-2-Clause"
11
+ license-files = ["LICENSE"]
12
+ authors = [{ name = "SCCN" }]
13
+ keywords = ["eeg", "EEGLAB", "eegprep", "sample data"]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Operating System :: OS Independent",
17
+ ]
18
+ requires-python = ">=3.12"
19
+ dependencies = []
20
+
21
+ [project.urls]
22
+ Homepage = "https://github.com/sccn/eegprep"
23
+ Issues = "https://github.com/sccn/eegprep/issues"
24
+
25
+ [tool.setuptools.dynamic]
26
+ version = { attr = "eegprep_sample_data.__version__" }
27
+
28
+ [tool.setuptools.packages.find]
29
+ where = ["src"]
30
+
31
+ [tool.setuptools.package-data]
32
+ eegprep_sample_data = ["data/*.set", "data/*.fdt"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,15 @@
1
+ """The two EEGLAB sample recordings that ``eegprep-console cont`` and ``eegprep-console epoch`` open.
2
+
3
+ ``pip install "eegprep[full]"`` installs this package. ``path()`` returns the folder that holds
4
+ ``eeglab_data.set`` with ``eeglab_data.fdt`` and ``eeglab_data_epochs_ica.set`` with
5
+ ``eeglab_data_epochs_ica.fdt``.
6
+ """
7
+
8
+ from pathlib import Path
9
+
10
+ __version__ = "1.0.0"
11
+
12
+
13
+ def path() -> Path:
14
+ """Return the folder that holds the sample recordings."""
15
+ return Path(__file__).resolve().parent / "data"
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.4
2
+ Name: eegprep-sample-data
3
+ Version: 1.0.0
4
+ Summary: The continuous and epoched EEGLAB sample recordings that eegprep-console cont and epoch open
5
+ Author: SCCN
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://github.com/sccn/eegprep
8
+ Project-URL: Issues, https://github.com/sccn/eegprep/issues
9
+ Keywords: eeg,EEGLAB,eegprep,sample data
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.12
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: license-file
16
+
17
+ # eegprep-sample-data
18
+
19
+ The two EEGLAB sample recordings that EEGPrep opens with `eegprep-console cont`
20
+ and `eegprep-console epoch`.
21
+
22
+ `pip install "eegprep[full]"` installs this package. A plain
23
+ `pip install eegprep` does not, which keeps that download about 7 MB smaller.
24
+
25
+ | file | recording |
26
+ | --- | --- |
27
+ | `eeglab_data.set`, `eeglab_data.fdt` | continuous: 32 channels, 30,504 samples at 128 Hz (238 s), 154 events |
28
+ | `eeglab_data_epochs_ica.set`, `eeglab_data_epochs_ica.fdt` | epoched with ICA: 32 channels, 80 epochs of 384 samples (-1 to 2 s), 32 components |
29
+
30
+ They are byte-identical copies of the files in the `sample_data` folder of the
31
+ [EEGPrep repository](https://github.com/sccn/eegprep).
32
+
33
+ ## Use
34
+
35
+ ```python
36
+ from eegprep import pop_loadset
37
+ from eegprep_sample_data import path
38
+
39
+ EEG = pop_loadset(path() / "eeglab_data.set")
40
+ ```
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/eegprep_sample_data/__init__.py
5
+ src/eegprep_sample_data.egg-info/PKG-INFO
6
+ src/eegprep_sample_data.egg-info/SOURCES.txt
7
+ src/eegprep_sample_data.egg-info/dependency_links.txt
8
+ src/eegprep_sample_data.egg-info/top_level.txt
9
+ src/eegprep_sample_data/data/eeglab_data.fdt
10
+ src/eegprep_sample_data/data/eeglab_data.set
11
+ src/eegprep_sample_data/data/eeglab_data_epochs_ica.fdt
12
+ src/eegprep_sample_data/data/eeglab_data_epochs_ica.set
@@ -0,0 +1 @@
1
+ eegprep_sample_data