SpharaPy 1.1.0__tar.gz → 1.3.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.
- {SpharaPy-1.1.0 → spharapy-1.3.0}/LICENSE +2 -3
- spharapy-1.3.0/MANIFEST.in +2 -0
- spharapy-1.3.0/PKG-INFO +106 -0
- spharapy-1.3.0/README.rst +84 -0
- spharapy-1.3.0/pyproject.toml +150 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/setup.cfg +0 -3
- spharapy-1.3.0/spharapy/__init__.py +13 -0
- spharapy-1.3.0/spharapy/_types.py +11 -0
- spharapy-1.3.0/spharapy/datasets/__init__.py +26 -0
- spharapy-1.3.0/spharapy/datasets/base.py +165 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/eeg_256_channels_sep_data.csv +1 -1
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/eeg_256_channels_tri.csv +1 -1
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/eeg_256_channels_vert.csv +1 -1
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/examples/SpharaPy_example.py +154 -141
- spharapy-1.3.0/spharapy/examples/plot_01_quick_start.py +273 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/examples/plot_02_sphara_basis_eeg.py +116 -76
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/examples/plot_03_sphara_analysis_eeg.py +78 -60
- spharapy-1.3.0/spharapy/examples/plot_04_sphara_filter_eeg.py +384 -0
- spharapy-1.3.0/spharapy/examples/plot_05_BaCI2019_TrainingCourse4_SpharaPy_01.py +397 -0
- spharapy-1.3.0/spharapy/examples/plot_05_BaCI2019_TrainingCourse4_SpharaPy_02.py +392 -0
- spharapy-1.3.0/spharapy/spectral_filters.py +773 -0
- spharapy-1.3.0/spharapy/spharabasis.py +303 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/spharafilter.py +97 -60
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/spharatransform.py +62 -50
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/trimesh.py +128 -136
- spharapy-1.3.0/spharapy.egg-info/PKG-INFO +106 -0
- {SpharaPy-1.1.0/SpharaPy.egg-info → spharapy-1.3.0/spharapy.egg-info}/SOURCES.txt +15 -18
- spharapy-1.3.0/spharapy.egg-info/requires.txt +3 -0
- spharapy-1.3.0/tests/test_spectral_filters.py +149 -0
- spharapy-1.3.0/tests/test_spharabasis.py +286 -0
- spharapy-1.3.0/tests/test_spharafilter.py +294 -0
- spharapy-1.3.0/tests/test_spharatransform.py +166 -0
- spharapy-1.3.0/tests/test_trimesh.py +429 -0
- SpharaPy-1.1.0/MANIFEST.in +0 -2
- SpharaPy-1.1.0/PKG-INFO +0 -48
- SpharaPy-1.1.0/README.rst +0 -32
- SpharaPy-1.1.0/SpharaPy.egg-info/PKG-INFO +0 -48
- SpharaPy-1.1.0/setup.py +0 -40
- SpharaPy-1.1.0/spharapy/__init__.py +0 -7
- SpharaPy-1.1.0/spharapy/datasets/__init__.py +0 -25
- SpharaPy-1.1.0/spharapy/datasets/base.py +0 -185
- SpharaPy-1.1.0/spharapy/examples/BaCI2019_TrainingCourse4_SpharaPy.ipynb +0 -1208
- SpharaPy-1.1.0/spharapy/examples/BaCI2019_TrainingCourse4_SpharaPy.py +0 -670
- SpharaPy-1.1.0/spharapy/examples/SpharaPy_example.ipynb +0 -5019
- SpharaPy-1.1.0/spharapy/examples/images/2D_Fourier_Example.svg +0 -445
- SpharaPy-1.1.0/spharapy/examples/images/2D_Fourier_Example.svg.png +0 -0
- SpharaPy-1.1.0/spharapy/examples/images/Class_diag.png +0 -0
- SpharaPy-1.1.0/spharapy/examples/images/EEG_image-1.png +0 -0
- SpharaPy-1.1.0/spharapy/examples/images/Low_frequ_bf-1.png +0 -0
- SpharaPy-1.1.0/spharapy/examples/images/Sensor_tria_mesh-1.png +0 -0
- SpharaPy-1.1.0/spharapy/examples/images/scheme_sphara_decomposition.svg +0 -1330
- SpharaPy-1.1.0/spharapy/examples/images/scheme_sphara_decomposition2.svg +0 -1407
- SpharaPy-1.1.0/spharapy/examples/images/scheme_sphara_filtering.svg +0 -1817
- SpharaPy-1.1.0/spharapy/examples/plot_01_quick_start.py +0 -193
- SpharaPy-1.1.0/spharapy/examples/plot_04_sphara_filter_eeg.py +0 -323
- SpharaPy-1.1.0/spharapy/spharabasis.py +0 -185
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/eeg_256_channels_label.csv +0 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/simple_mesh_tri.csv +0 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/data/simple_mesh_vert.csv +0 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/descr/eeg_256_channel_study.rst +0 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/descr/minimal_triangular_mesh.rst +0 -0
- {SpharaPy-1.1.0 → spharapy-1.3.0}/spharapy/datasets/descr/simple_triangular_mesh.rst +0 -0
- {SpharaPy-1.1.0/SpharaPy.egg-info → spharapy-1.3.0/spharapy.egg-info}/dependency_links.txt +0 -0
- {SpharaPy-1.1.0/SpharaPy.egg-info → spharapy-1.3.0/spharapy.egg-info}/top_level.txt +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
Copyright 2018 -
|
|
2
|
-
All rights reserved.
|
|
1
|
+
Copyright 2018 - 2025 Uwe Graichen
|
|
3
2
|
|
|
4
3
|
Redistribution and use in source and binary forms, with or without
|
|
5
4
|
modification, are permitted provided that the following conditions are met:
|
|
@@ -24,4 +23,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
24
23
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
25
24
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
26
25
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
26
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
spharapy-1.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: spharapy
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: SPHARA-based spatial harmonic analysis and filtering
|
|
5
|
+
Author-email: Uwe Graichen <uwe.graichen@kl.ac.at>
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
7
|
+
Project-URL: Homepage, https://gitlab.com/uwegra/spharapy
|
|
8
|
+
Project-URL: Documentation, https://spharapy.readthedocs.io/
|
|
9
|
+
Project-URL: Tracker, https://gitlab.com/uwegra/spharapy/-/issues
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/x-rst
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: numpy>=1.23.5
|
|
19
|
+
Requires-Dist: scipy>=1.14
|
|
20
|
+
Requires-Dist: matplotlib>=3.6
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
.. image:: https://readthedocs.org/projects/spharapy/badge/?version=latest
|
|
24
|
+
:target: https://spharapy.readthedocs.io/en/latest/
|
|
25
|
+
:alt: Read the Docs
|
|
26
|
+
|
|
27
|
+
.. image:: https://img.shields.io/pypi/v/spharapy.svg
|
|
28
|
+
:target: https://pypi.org/project/spharapy/
|
|
29
|
+
:alt: PyPI version
|
|
30
|
+
|
|
31
|
+
.. image:: https://img.shields.io/pypi/pyversions/spharapy.svg
|
|
32
|
+
:target: https://pypi.org/project/spharapy/
|
|
33
|
+
:alt: Supported Python versions
|
|
34
|
+
|
|
35
|
+
.. image:: https://img.shields.io/pypi/l/spharapy.svg
|
|
36
|
+
:target: https://pypi.org/project/spharapy/
|
|
37
|
+
:alt: License
|
|
38
|
+
|
|
39
|
+
.. image:: https://img.shields.io/badge/tests-passing-brightgreen.svg
|
|
40
|
+
:alt: Tests
|
|
41
|
+
|
|
42
|
+
.. image:: https://img.shields.io/badge/coverage-high-brightgreen.svg
|
|
43
|
+
:alt: Coverage
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
Sphara Implementation in Python
|
|
48
|
+
===============================
|
|
49
|
+
|
|
50
|
+
SpharaPy is a Python implementation of the SPHARA framework
|
|
51
|
+
(Spatial Harmonic Analysis), an extension of classical spatial Fourier
|
|
52
|
+
analysis to non-uniformly positioned samples on arbitrary surfaces in
|
|
53
|
+
``R^3``. For details, see Graichen et al. (2015).
|
|
54
|
+
|
|
55
|
+
The basis functions used by SPHARA are obtained from the eigenanalysis
|
|
56
|
+
of a discrete Laplace–Beltrami operator defined on a triangular mesh
|
|
57
|
+
of the spatial sample locations.
|
|
58
|
+
|
|
59
|
+
The SpharaPy toolbox provides:
|
|
60
|
+
|
|
61
|
+
- Tools to compute SPHARA basis functions
|
|
62
|
+
- Routines to perform SPHARA analysis and synthesis (SPHARA transform)
|
|
63
|
+
- Methods for spatial filtering in the SPHARA domain
|
|
64
|
+
- Additional helper functions to design SPHARA-domain filters
|
|
65
|
+
(ideal, Gaussian and Butterworth; low-pass, high-pass and band-pass)
|
|
66
|
+
|
|
67
|
+
These filters can be used directly with the class
|
|
68
|
+
``spharapy.spharafilter.SpharaFilter``.
|
|
69
|
+
|
|
70
|
+
Requirements and Installation
|
|
71
|
+
-----------------------------
|
|
72
|
+
|
|
73
|
+
Required software and packages:
|
|
74
|
+
|
|
75
|
+
- Python >= 3.10
|
|
76
|
+
- NumPy >= 1.23.5
|
|
77
|
+
- SciPy >= 1.14
|
|
78
|
+
- Matplotlib >= 3.6
|
|
79
|
+
|
|
80
|
+
Installation via pip:
|
|
81
|
+
|
|
82
|
+
``pip install spharapy``
|
|
83
|
+
|
|
84
|
+
Examples and Usage
|
|
85
|
+
------------------
|
|
86
|
+
|
|
87
|
+
Minimal examples are included within the source code.
|
|
88
|
+
More detailed tutorial examples are provided in the documentation.
|
|
89
|
+
|
|
90
|
+
Citing SpharaPy
|
|
91
|
+
---------------
|
|
92
|
+
|
|
93
|
+
If you find this toolbox useful and publish results obtained using it,
|
|
94
|
+
please consider citing the following publications:
|
|
95
|
+
|
|
96
|
+
- **Graichen, U., Eichardt, R., & Haueisen, J. (2019).**
|
|
97
|
+
*SpharaPy: A Python toolbox for spatial harmonic analysis of non-uniformly
|
|
98
|
+
sampled data.* SoftwareX, 10, Article 100289.
|
|
99
|
+
https://doi.org/10.1016/j.softx.2019.100289
|
|
100
|
+
|
|
101
|
+
- **Graichen, U., Eichardt, R., Fiedler, P., Strohmeier, D., Zanow, F.,
|
|
102
|
+
& Haueisen, J. (2015).**
|
|
103
|
+
*SPHARA – A generalized spatial Fourier analysis for multi-sensor
|
|
104
|
+
systems with non-uniformly arranged sensors: Application to EEG.*
|
|
105
|
+
PLOS ONE, 10(4), e0121741.
|
|
106
|
+
https://doi.org/10.1371/journal.pone.0121741
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.. image:: https://readthedocs.org/projects/spharapy/badge/?version=latest
|
|
2
|
+
:target: https://spharapy.readthedocs.io/en/latest/
|
|
3
|
+
:alt: Read the Docs
|
|
4
|
+
|
|
5
|
+
.. image:: https://img.shields.io/pypi/v/spharapy.svg
|
|
6
|
+
:target: https://pypi.org/project/spharapy/
|
|
7
|
+
:alt: PyPI version
|
|
8
|
+
|
|
9
|
+
.. image:: https://img.shields.io/pypi/pyversions/spharapy.svg
|
|
10
|
+
:target: https://pypi.org/project/spharapy/
|
|
11
|
+
:alt: Supported Python versions
|
|
12
|
+
|
|
13
|
+
.. image:: https://img.shields.io/pypi/l/spharapy.svg
|
|
14
|
+
:target: https://pypi.org/project/spharapy/
|
|
15
|
+
:alt: License
|
|
16
|
+
|
|
17
|
+
.. image:: https://img.shields.io/badge/tests-passing-brightgreen.svg
|
|
18
|
+
:alt: Tests
|
|
19
|
+
|
|
20
|
+
.. image:: https://img.shields.io/badge/coverage-high-brightgreen.svg
|
|
21
|
+
:alt: Coverage
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Sphara Implementation in Python
|
|
26
|
+
===============================
|
|
27
|
+
|
|
28
|
+
SpharaPy is a Python implementation of the SPHARA framework
|
|
29
|
+
(Spatial Harmonic Analysis), an extension of classical spatial Fourier
|
|
30
|
+
analysis to non-uniformly positioned samples on arbitrary surfaces in
|
|
31
|
+
``R^3``. For details, see Graichen et al. (2015).
|
|
32
|
+
|
|
33
|
+
The basis functions used by SPHARA are obtained from the eigenanalysis
|
|
34
|
+
of a discrete Laplace–Beltrami operator defined on a triangular mesh
|
|
35
|
+
of the spatial sample locations.
|
|
36
|
+
|
|
37
|
+
The SpharaPy toolbox provides:
|
|
38
|
+
|
|
39
|
+
- Tools to compute SPHARA basis functions
|
|
40
|
+
- Routines to perform SPHARA analysis and synthesis (SPHARA transform)
|
|
41
|
+
- Methods for spatial filtering in the SPHARA domain
|
|
42
|
+
- Additional helper functions to design SPHARA-domain filters
|
|
43
|
+
(ideal, Gaussian and Butterworth; low-pass, high-pass and band-pass)
|
|
44
|
+
|
|
45
|
+
These filters can be used directly with the class
|
|
46
|
+
``spharapy.spharafilter.SpharaFilter``.
|
|
47
|
+
|
|
48
|
+
Requirements and Installation
|
|
49
|
+
-----------------------------
|
|
50
|
+
|
|
51
|
+
Required software and packages:
|
|
52
|
+
|
|
53
|
+
- Python >= 3.10
|
|
54
|
+
- NumPy >= 1.23.5
|
|
55
|
+
- SciPy >= 1.14
|
|
56
|
+
- Matplotlib >= 3.6
|
|
57
|
+
|
|
58
|
+
Installation via pip:
|
|
59
|
+
|
|
60
|
+
``pip install spharapy``
|
|
61
|
+
|
|
62
|
+
Examples and Usage
|
|
63
|
+
------------------
|
|
64
|
+
|
|
65
|
+
Minimal examples are included within the source code.
|
|
66
|
+
More detailed tutorial examples are provided in the documentation.
|
|
67
|
+
|
|
68
|
+
Citing SpharaPy
|
|
69
|
+
---------------
|
|
70
|
+
|
|
71
|
+
If you find this toolbox useful and publish results obtained using it,
|
|
72
|
+
please consider citing the following publications:
|
|
73
|
+
|
|
74
|
+
- **Graichen, U., Eichardt, R., & Haueisen, J. (2019).**
|
|
75
|
+
*SpharaPy: A Python toolbox for spatial harmonic analysis of non-uniformly
|
|
76
|
+
sampled data.* SoftwareX, 10, Article 100289.
|
|
77
|
+
https://doi.org/10.1016/j.softx.2019.100289
|
|
78
|
+
|
|
79
|
+
- **Graichen, U., Eichardt, R., Fiedler, P., Strohmeier, D., Zanow, F.,
|
|
80
|
+
& Haueisen, J. (2015).**
|
|
81
|
+
*SPHARA – A generalized spatial Fourier analysis for multi-sensor
|
|
82
|
+
systems with non-uniformly arranged sensors: Application to EEG.*
|
|
83
|
+
PLOS ONE, 10(4), e0121741.
|
|
84
|
+
https://doi.org/10.1371/journal.pone.0121741
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# SpharaPy packaging configuration (PEP 621 + setuptools)
|
|
3
|
+
#
|
|
4
|
+
# This file is the single source of truth for:
|
|
5
|
+
# - build backend and build tools
|
|
6
|
+
# - project metadata (name, version, description, dependencies, URLs, license)
|
|
7
|
+
# - packaging options (which packages / data files to include)
|
|
8
|
+
# - tooling configuration (ruff, mypy)
|
|
9
|
+
#
|
|
10
|
+
# Notes for future maintenance:
|
|
11
|
+
# * If you change supported Python versions, update:
|
|
12
|
+
# - [project].requires-python
|
|
13
|
+
# - [project].classifiers
|
|
14
|
+
# * If you add new runtime dependencies, update:
|
|
15
|
+
# - [project].dependencies
|
|
16
|
+
# * If you add optional/extra features, introduce:
|
|
17
|
+
# - [project.optional-dependencies]
|
|
18
|
+
#
|
|
19
|
+
# Developer notes (release workflow):
|
|
20
|
+
# 1. Create / activate a fresh virtual environment.
|
|
21
|
+
# python -m venv .venv && source .venv/bin/activate
|
|
22
|
+
#
|
|
23
|
+
# 2. Install development tools.
|
|
24
|
+
# python -m pip install -U pip build twine ruff mypy pytest pytest-cov
|
|
25
|
+
#
|
|
26
|
+
# 3. Run code quality checks.
|
|
27
|
+
# ruff check .
|
|
28
|
+
# mypy spharapy
|
|
29
|
+
# pytest -q
|
|
30
|
+
#
|
|
31
|
+
# 4. Build the documentation (HTML + linkcheck).
|
|
32
|
+
# sphinx-build -nW -b html docs docs/_build/html
|
|
33
|
+
# sphinx-build -b linkcheck docs docs/_build/linkcheck#
|
|
34
|
+
|
|
35
|
+
# 5. Build distributions.
|
|
36
|
+
# python -m build
|
|
37
|
+
#
|
|
38
|
+
# 6. Check distributions (important before uploading to PyPI).
|
|
39
|
+
# twine check dist/*
|
|
40
|
+
#
|
|
41
|
+
# 7. Upload to PyPI (when ready).
|
|
42
|
+
# twine upload dist/*
|
|
43
|
+
#
|
|
44
|
+
# =============================================================================
|
|
45
|
+
|
|
46
|
+
# ---------------------------------------------------------------------------
|
|
47
|
+
# Build system configuration (PEP 517)
|
|
48
|
+
# ---------------------------------------------------------------------------
|
|
49
|
+
[build-system]
|
|
50
|
+
requires = [
|
|
51
|
+
"setuptools>=77",
|
|
52
|
+
"wheel",
|
|
53
|
+
"build",
|
|
54
|
+
]
|
|
55
|
+
build-backend = "setuptools.build_meta"
|
|
56
|
+
|
|
57
|
+
# ---------------------------------------------------------------------------
|
|
58
|
+
# Core project metadata (PEP 621)
|
|
59
|
+
# ---------------------------------------------------------------------------
|
|
60
|
+
[project]
|
|
61
|
+
name = "spharapy"
|
|
62
|
+
version = "1.3.0" # Keep in sync with spharapy.__version__ (if defined)
|
|
63
|
+
description = "SPHARA-based spatial harmonic analysis and filtering"
|
|
64
|
+
|
|
65
|
+
# Long description shown on PyPI. This must be valid plain ReST (no Sphinx roles).
|
|
66
|
+
readme = "README.rst"
|
|
67
|
+
|
|
68
|
+
requires-python = ">=3.10"
|
|
69
|
+
|
|
70
|
+
license = "BSD-3-Clause"
|
|
71
|
+
license-files = ["LICENSE*"]
|
|
72
|
+
|
|
73
|
+
authors = [
|
|
74
|
+
{ name = "Uwe Graichen", email = "uwe.graichen@kl.ac.at" },
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
classifiers = [
|
|
78
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
79
|
+
"Programming Language :: Python :: 3.10",
|
|
80
|
+
"Programming Language :: Python :: 3.11",
|
|
81
|
+
"Programming Language :: Python :: 3.12",
|
|
82
|
+
"Programming Language :: Python :: 3.13",
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
dependencies = [
|
|
86
|
+
"numpy>=1.23.5",
|
|
87
|
+
"scipy>=1.14",
|
|
88
|
+
"matplotlib>=3.6",
|
|
89
|
+
]
|
|
90
|
+
|
|
91
|
+
# ---------------------------------------------------------------------------
|
|
92
|
+
# Project URLs (PyPI side bar)
|
|
93
|
+
# ---------------------------------------------------------------------------
|
|
94
|
+
[project.urls]
|
|
95
|
+
Homepage = "https://gitlab.com/uwegra/spharapy"
|
|
96
|
+
Documentation = "https://spharapy.readthedocs.io/"
|
|
97
|
+
Tracker = "https://gitlab.com/uwegra/spharapy/-/issues"
|
|
98
|
+
|
|
99
|
+
# ---------------------------------------------------------------------------
|
|
100
|
+
# Setuptools configuration
|
|
101
|
+
# ---------------------------------------------------------------------------
|
|
102
|
+
[tool.setuptools]
|
|
103
|
+
packages = { find = { include = ["spharapy*"] } }
|
|
104
|
+
|
|
105
|
+
[tool.setuptools.package-data]
|
|
106
|
+
"spharapy" = [
|
|
107
|
+
"datasets/data/*.csv",
|
|
108
|
+
"datasets/descr/*.rst",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
# ---------------------------------------------------------------------------
|
|
112
|
+
# Ruff (linter + formatter)
|
|
113
|
+
# ---------------------------------------------------------------------------
|
|
114
|
+
[tool.ruff]
|
|
115
|
+
line-length = 100
|
|
116
|
+
target-version = "py310"
|
|
117
|
+
|
|
118
|
+
exclude = [
|
|
119
|
+
"examples/**",
|
|
120
|
+
"docs/_build/**",
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
[tool.ruff.lint]
|
|
124
|
+
select = ["E", "F", "I", "UP", "B", "W"]
|
|
125
|
+
ignore = [
|
|
126
|
+
"E203",
|
|
127
|
+
"E501",
|
|
128
|
+
]
|
|
129
|
+
|
|
130
|
+
[tool.ruff.lint.isort]
|
|
131
|
+
known-first-party = ["spharapy"]
|
|
132
|
+
|
|
133
|
+
[tool.ruff.format]
|
|
134
|
+
# Using Ruff defaults.
|
|
135
|
+
|
|
136
|
+
# ---------------------------------------------------------------------------
|
|
137
|
+
# MyPy (static type checking)
|
|
138
|
+
# ---------------------------------------------------------------------------
|
|
139
|
+
[tool.mypy]
|
|
140
|
+
python_version = "3.12"
|
|
141
|
+
files = ["spharapy"]
|
|
142
|
+
exclude = '(^|/)(examples|docs/_build)(/|$)'
|
|
143
|
+
|
|
144
|
+
check_untyped_defs = true
|
|
145
|
+
no_implicit_optional = true
|
|
146
|
+
warn_unused_ignores = true
|
|
147
|
+
|
|
148
|
+
[[tool.mypy.overrides]]
|
|
149
|
+
module = ["spharapy.examples.*"]
|
|
150
|
+
ignore_errors = true
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SpharaPy: SPHARA-based spatial harmonic analysis and filtering.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
__author__ = "Uwe Graichen"
|
|
6
|
+
__copyright__ = "Copyright 2018-2025, Uwe Graichen"
|
|
7
|
+
__credits__ = ["Uwe Graichen"]
|
|
8
|
+
__license__ = "BSD-3-Clause"
|
|
9
|
+
__version__ = "1.3.0"
|
|
10
|
+
__maintainer__ = "Uwe Graichen"
|
|
11
|
+
__email__ = "uwe.graichen@tu-ilmenau.de, uwe.graichen@kl.ac.at"
|
|
12
|
+
__status__ = "Release"
|
|
13
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# spharapy/_types.py
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from typing import TypeAlias
|
|
5
|
+
|
|
6
|
+
import numpy as np
|
|
7
|
+
from numpy.typing import ArrayLike, NDArray
|
|
8
|
+
|
|
9
|
+
FloatArray: TypeAlias = NDArray[np.floating]
|
|
10
|
+
IntArray: TypeAlias = NDArray[np.integer]
|
|
11
|
+
ArrayLikeF: TypeAlias = ArrayLike # array-like of float-ish values
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The :mod:`spharapy.datasets`: module includes utilities to provide
|
|
3
|
+
sample datasets.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from .base import (
|
|
7
|
+
load_eeg_256_channel_study,
|
|
8
|
+
load_minimal_triangular_mesh,
|
|
9
|
+
load_simple_triangular_mesh,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__author__ = "Uwe Graichen"
|
|
13
|
+
__copyright__ = "Copyright 2018-2025, Uwe Graichen"
|
|
14
|
+
__credits__ = ["Uwe Graichen"]
|
|
15
|
+
__license__ = "BSD-3-Clause"
|
|
16
|
+
__version__ = "1.2.0"
|
|
17
|
+
__maintainer__ = "Uwe Graichen"
|
|
18
|
+
__email__ = "uwe.graichen@tu-ilmenau.de, uwe.graichen@kl.ac.at"
|
|
19
|
+
__status__ = "Release"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"load_minimal_triangular_mesh",
|
|
24
|
+
"load_simple_triangular_mesh",
|
|
25
|
+
"load_eeg_256_channel_study",
|
|
26
|
+
]
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Base IO code to provide sample datasets
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
import numpy as np
|
|
8
|
+
|
|
9
|
+
__author__ = "Uwe Graichen"
|
|
10
|
+
__copyright__ = "Copyright 2018-2025, Uwe Graichen"
|
|
11
|
+
__credits__ = ["Uwe Graichen"]
|
|
12
|
+
__license__ = "BSD-3-Clause"
|
|
13
|
+
__version__ = "1.2.0"
|
|
14
|
+
__maintainer__ = "Uwe Graichen"
|
|
15
|
+
__email__ = "uwe.graichen@tu-ilmenau.de, uwe.graichen@kl.ac.at"
|
|
16
|
+
__status__ = "Release"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def load_minimal_triangular_mesh():
|
|
20
|
+
r"""Returns the triangulation of a single triangle
|
|
21
|
+
|
|
22
|
+
The data set consists of a list of three vertices at the unit vectors
|
|
23
|
+
of vector space :math:`\mathbb{R}^3` and a list of a single
|
|
24
|
+
triangle.
|
|
25
|
+
|
|
26
|
+
=================== =
|
|
27
|
+
Number of vertices 3
|
|
28
|
+
Number of triangles 1
|
|
29
|
+
=================== =
|
|
30
|
+
|
|
31
|
+
Parameters
|
|
32
|
+
----------
|
|
33
|
+
None
|
|
34
|
+
|
|
35
|
+
Returns
|
|
36
|
+
-------
|
|
37
|
+
triangulation : dictionary
|
|
38
|
+
Dictionary-like object containing the triangulation of a single
|
|
39
|
+
triangle. The attributes are: ``vertlist``, the list of vertices,
|
|
40
|
+
``trilist``, the list of triangles.
|
|
41
|
+
"""
|
|
42
|
+
vert = np.array([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], dtype=float)
|
|
43
|
+
tri = np.array([[0, 1, 2]], dtype=int)
|
|
44
|
+
return {"vertlist": vert, "trilist": tri}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def load_simple_triangular_mesh():
|
|
48
|
+
"""Returns the triangulation of a simple triangular mesh
|
|
49
|
+
|
|
50
|
+
The data set consists of a triangulation of an unit hemisphere.
|
|
51
|
+
|
|
52
|
+
=================== ===
|
|
53
|
+
Number of vertices 131
|
|
54
|
+
Number of triangles 232
|
|
55
|
+
=================== ===
|
|
56
|
+
|
|
57
|
+
Parameters
|
|
58
|
+
----------
|
|
59
|
+
None
|
|
60
|
+
|
|
61
|
+
Returns
|
|
62
|
+
-------
|
|
63
|
+
triangulation : dictionary
|
|
64
|
+
Dictionary-like object containing the triangulation of a
|
|
65
|
+
simple triangular mesh. The attributes are: ``vertlist``, the
|
|
66
|
+
list of vertices, ``trilist``, the list of triangles.
|
|
67
|
+
"""
|
|
68
|
+
root = Path(__file__).resolve().parent
|
|
69
|
+
|
|
70
|
+
# import vertices data
|
|
71
|
+
datavertices = np.loadtxt(
|
|
72
|
+
root / "data/simple_mesh_vert.csv", delimiter=",", dtype=float
|
|
73
|
+
) # FloatArray
|
|
74
|
+
|
|
75
|
+
# import of triangle list
|
|
76
|
+
datatriangles = np.loadtxt(
|
|
77
|
+
root / "data/simple_mesh_tri.csv", delimiter=",", dtype=int
|
|
78
|
+
) # IntArray
|
|
79
|
+
|
|
80
|
+
return {"vertlist": datavertices, "trilist": datatriangles}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def load_eeg_256_channel_study():
|
|
84
|
+
r"""Load sensor setup and measured EEG data
|
|
85
|
+
|
|
86
|
+
The data set consists of a triangulation of a 256 channel
|
|
87
|
+
equidistant EEG cap and EEG data from previously performed
|
|
88
|
+
experiment addressing the cortical activation related to
|
|
89
|
+
somatosensory-evoked potentials (SEP). During the experiment the
|
|
90
|
+
median nerve of the right forearm was stimulated by bipolar
|
|
91
|
+
electrodes (stimulation rate: 3.7 Hz, interstimulus interval: 270
|
|
92
|
+
ms, stimulation strength: motor plus sensor threshold
|
|
93
|
+
:cite:`mauguiere99,cruccu08`, constant current rectangular pulse
|
|
94
|
+
wave impulses with a length of 50 \mu s, number of stimulations:
|
|
95
|
+
6000). Data were sampled at 2048 Hz and software high-pass (24
|
|
96
|
+
dB/oct, cutoff-frequency 2 Hz) and notch (50 Hz and two harmonics)
|
|
97
|
+
filtered. All trials were manually checked for artifacts, the
|
|
98
|
+
remaining trials were averaged, see also S1 data set in
|
|
99
|
+
:cite:`graichen15`.
|
|
100
|
+
|
|
101
|
+
=================== ========================================
|
|
102
|
+
Number of vertices 256
|
|
103
|
+
Number of triangles 480
|
|
104
|
+
SEP Data (EEG) 256 channels, 369 time samples
|
|
105
|
+
Time range 50 ms before to 130 ms after stimulation
|
|
106
|
+
Sampling frequency 2048 Hz
|
|
107
|
+
=================== ========================================
|
|
108
|
+
|
|
109
|
+
Parameters
|
|
110
|
+
----------
|
|
111
|
+
None
|
|
112
|
+
|
|
113
|
+
Returns
|
|
114
|
+
-------
|
|
115
|
+
triangulation and EEG data: dictionary
|
|
116
|
+
Dictionary-like object containing the triangulation of a
|
|
117
|
+
simple triangular mesh. The attributes are: ``vertlist``, the
|
|
118
|
+
list of vertices, ``trilist``, the list of triangles,
|
|
119
|
+
``labellist`` the list of labels of the EEG channels, ``eegdata``,
|
|
120
|
+
an array containing the EEG data.
|
|
121
|
+
"""
|
|
122
|
+
root = Path(__file__).resolve().parent
|
|
123
|
+
|
|
124
|
+
# import vertices data
|
|
125
|
+
datavertices = np.loadtxt(
|
|
126
|
+
root / "data/eeg_256_channels_vert.csv", delimiter=",", dtype=float
|
|
127
|
+
) # FloatArray
|
|
128
|
+
|
|
129
|
+
# import of triangle list
|
|
130
|
+
datatriangles = np.loadtxt(
|
|
131
|
+
root / "data/eeg_256_channels_tri.csv", delimiter=",", dtype=int
|
|
132
|
+
) # IntArray
|
|
133
|
+
|
|
134
|
+
# import the sensor labels
|
|
135
|
+
datalabels = np.loadtxt(
|
|
136
|
+
root / "data/eeg_256_channels_label.csv", delimiter=",", dtype=str
|
|
137
|
+
) # StrArray
|
|
138
|
+
|
|
139
|
+
# import SEP EEG data
|
|
140
|
+
eegdata = np.loadtxt(
|
|
141
|
+
root / "data/eeg_256_channels_sep_data.csv", delimiter=",", dtype=float
|
|
142
|
+
) # FloatArray
|
|
143
|
+
|
|
144
|
+
return {
|
|
145
|
+
"vertlist": datavertices,
|
|
146
|
+
"trilist": datatriangles,
|
|
147
|
+
"labellist": datalabels,
|
|
148
|
+
"eegdata": eegdata,
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
if __name__ == "__main__":
|
|
153
|
+
minimesh = load_minimal_triangular_mesh()
|
|
154
|
+
print(minimesh["trilist"])
|
|
155
|
+
print(minimesh["vertlist"])
|
|
156
|
+
|
|
157
|
+
simplemesh = load_simple_triangular_mesh()
|
|
158
|
+
print(simplemesh["trilist"])
|
|
159
|
+
print(simplemesh["vertlist"])
|
|
160
|
+
|
|
161
|
+
sepstudy = load_eeg_256_channel_study()
|
|
162
|
+
print(sepstudy["trilist"])
|
|
163
|
+
print(sepstudy["vertlist"])
|
|
164
|
+
print(sepstudy["labellist"])
|
|
165
|
+
print(sepstudy["eegdata"].shape)
|
|
@@ -253,4 +253,4 @@
|
|
|
253
253
|
-0.1502936,-0.1345404,-0.1548008,-0.1606781,-0.1646714,-0.1560259,-0.169993,-0.1100751,-0.1074048,-0.2060066,-0.1815694,-0.1654526,-0.1805872,-0.1762933,-0.1673611,-0.1320954,-0.1199948,-0.1630846,-0.1595159,-0.1220028,-0.1235774,-0.1563859,-0.1442275,-0.1549336,-0.1151119,-0.1297448,-0.1470605,-0.1265257,-0.1674362,-0.2017354,-0.1807113,-0.1800734,-0.1180758,-0.1423803,-0.1509507,-0.1306956,-0.08480951,-0.08394966,-0.1101346,-0.1219643,-0.1066795,-0.02956658,-0.09796575,-0.05799371,-0.08223698,-0.09628277,-0.05372597,-0.109245,-0.1143237,-0.05946697,-0.06781021,-0.04864907,-0.0210713,-0.1198864,-0.08232786,-0.07263195,-0.04480601,-0.07346208,-0.04392345,-0.06285913,-0.01522719,-0.0657008,-0.06568507,-0.04808808,0.00003495455,0.02224921,0.008372948,-0.03421182,-0.009751836,-0.03938483,-0.02076896,-0.0008021682,0.05946347,0.06202551,-0.0275166,-0.007245717,-0.03156064,-0.01208493,0.0166323,0.04213562,0.03132995,0.01693114,0.01199581,0.01245369,0.01089829,0.006595595,0.03116044,0.03049458,0.03236456,0.02723523,0.05681405,0.06855121,0.08074974,0.06942678,0.07243446,0.08378014,0.1006554,0.1059892,0.09849877,0.1071845,0.1332576,0.1354002,0.3576739,0.2426232,0.1466218,0.1182454,0.1743097,0.1177158,0.152417,0.1669084,0.1859787,0.1536526,0.1697274,0.1526564,0.1844687,0.1305767,0.1109542,0.1412286,0.1549301,0.1462443,0.1211028,0.101108,0.1158651,0.1178504,0.1298637,0.145381,0.2385355,0.3140685,0.4279378,0.5505819,0.6090126,0.6040038,0.6085826,0.596856,0.4639444,0.2928574,0.1954037,0.09876965,-0.01268787,-0.09291856,-0.158324,-0.2142153,-0.2367826,-0.2312933,-0.2855155,-0.328324,-0.3072073,-0.27946,-0.2806903,-0.2001783,-0.1720989,-0.1758546,-0.08277875,-0.06338693,-0.115367,-0.0867389,-0.1095806,-0.09033904,-0.09879238,-0.1715729,-0.1215869,-0.1344792,-0.1357043,-0.1527019,-0.1542153,-0.1922981,-0.1863195,-0.1507934,-0.2043708,-0.2124502,-0.2082436,-0.2119102,-0.2378172,-0.208331,-0.2514628,-0.2618735,-0.2179815,-0.2102744,-0.2329378,-0.2126966,-0.2036648,-0.2134761,-0.1659944,-0.1303251,-0.1438658,-0.1073436,-0.1100926,-0.05773506,0.02640685,0.03347082,0.09068683,0.1093831,0.1182803,0.1631178,0.1344879,0.1391419,0.1755278,0.1719906,0.1943272,0.1696085,0.2057288,0.1569119,0.1140912,0.1061377,0.09806885,0.04108529,0.05817896,0.01719678,-0.06013107,-0.14036,-0.1221146,-0.1712024,-0.2063002,-0.204848,-0.2158563,-0.2309193,-0.3126704,-0.3346435,-0.3213317,-0.3617477,-0.3523051,-0.4211849,-0.441641,-0.5095841,-0.5167809,-0.5440912,-0.5734481,-0.5915554,-0.6305906,-0.5996102,-0.6304666,-0.6417564,-0.6924309,-0.7144687,-0.729266,-0.7107043,-0.7127036,-0.7109804,-0.8162426,-0.7851957,-0.8147518,-0.8498008,-0.7720535,-0.7759751,-0.7924292,-0.7667179,-0.7522894,-0.7643254,-0.7817091,-0.7833782,-0.7366497,-0.6996452,-0.7117407,-0.6970797,-0.6672265,-0.6423663,-0.6580759,-0.6319905,-0.634813,-0.6071373,-0.6369941,-0.6107026,-0.58493,-0.5535023,-0.5371181,-0.5798742,-0.5495177,-0.5396889,-0.5313579,-0.5410625,-0.5254806,-0.5353408,-0.4978539,-0.533338,-0.5886054,-0.5398759,-0.552216,-0.5534131,-0.5240964,-0.5272195,-0.5186106,-0.4910486,-0.5121286,-0.4531667,-0.4695648,-0.5416096,-0.4940703,-0.4725166,-0.4657427,-0.4530496,-0.4556012,-0.4309332,-0.424072,-0.4137854,-0.3763929,-0.3113003,-0.3398235,-0.3538745,-0.3118298,-0.2616673,-0.241655,-0.2536141,-0.2038203,-0.1826826,-0.1834988,-0.1840737,-0.1472282,-0.09648025,-0.09200629,-0.05553478,-0.07502446,-0.01932191,-0.02073925,-0.02778399,-0.03164103,-0.02800769,0.01670395,0.04480776,0.02502272,0.06362985,0.04851625,0.01926249,0.05717756,0.007271932,0.04898462,0.09520098,0.09403355,0.08782244,0.0432174,0.06606082,0.07748864,0.04041594,0.07943377,0.02472037,0.02387102,0.04960329,0.04207619,0.07639461,0.1125218,0.1111132,0.07778399,0.09505942,0.05407899,0.08386228,0.079446,0.09785565,0.07632121,0.1202656,0.1198654,0.08717232,0.109813,0.1093342,0.173186,0.1216935,0.1626756,0.1471985,0.1242468,0.2268158,0.2064086,0.2032786,0.2835407,0.2302394,0.2222877,0.2424939,0.2435722,0.2784044,0.2918595,0.3445788,0.3587801
|
|
254
254
|
-0.2207253,-0.2092747,-0.2127351,-0.2957725,-0.2768752,-0.2173611,-0.2238972,-0.2168018,-0.170907,-0.2614505,-0.2689864,-0.2820447,-0.2986194,-0.2157672,-0.2327875,-0.2120779,-0.2439287,-0.2997641,-0.2508249,-0.2262513,-0.2389986,-0.2727228,-0.2828015,-0.254834,-0.2264558,-0.2686229,-0.262985,-0.2504806,-0.2896138,-0.2936159,-0.2598165,-0.3181825,-0.2629081,-0.2769294,-0.2943778,-0.2410189,-0.2623558,-0.2788693,-0.2749773,-0.3148934,-0.2613824,-0.2448899,-0.2969556,-0.2872981,-0.2781545,-0.2899249,-0.2677927,-0.2830409,-0.2903216,-0.2467773,-0.2843394,-0.3199301,-0.3025935,-0.3309525,-0.2732943,-0.2828015,-0.2690336,-0.3069958,-0.2864488,-0.259591,-0.2317249,-0.2886403,-0.2589654,-0.2460276,-0.2548078,-0.1821077,-0.2321216,-0.2810556,-0.2468385,-0.2888483,-0.233179,-0.2213946,-0.224439,-0.2011063,-0.2389846,-0.2299528,-0.2279518,-0.2543411,-0.2376861,-0.2397885,-0.2829028,-0.2082104,-0.2251084,-0.2298689,-0.1937469,-0.1984079,-0.23205,-0.1874275,-0.1815292,-0.1839322,-0.1690842,-0.1990248,-0.1475795,-0.183179,-0.1911936,-0.1247396,-0.1634726,-0.09862111,-0.114453,-0.1772579,-0.1087994,-0.0668525,-0.2256292,-0.4176529,-0.2767057,-0.2163824,-0.1516725,-0.193892,-0.2188798,-0.1692625,-0.1618752,-0.1504893,-0.137417,-0.1276686,-0.1372457,-0.2095945,-0.2340196,-0.1715571,-0.1285757,-0.078885,-0.1319276,-0.2071024,-0.1199948,-0.113123,-0.1354509,-0.06581266,-0.05321915,0.01562216,0.1343586,0.2453233,0.3253251,0.3270605,0.3502919,0.3511902,0.1845631,0.02005068,-0.05618141,-0.265741,-0.33187,-0.467361,-0.5921863,-0.6852971,-0.6911832,-0.6297903,-0.6123698,-0.5745036,-0.554418,-0.5250524,-0.4080828,-0.2888168,-0.1846452,-0.1224782,0.05933065,0.2360101,0.3102674,0.3953775,0.4442625,0.575547,0.6267931,0.6258301,0.6310294,0.6227263,0.6232191,0.6589759,0.6172597,0.5783205,0.5768228,0.4783415,0.3597588,0.3413037,0.2914278,0.2786927,0.1999039,0.1326442,0.1396505,0.06551206,0.07816848,0.1330182,0.09505418,0.1358266,0.1294006,0.1246382,0.1745491,0.17608,0.1508284,0.1893481,0.1369556,0.1598235,0.2447466,0.1865239,0.1665152,0.1816306,0.1826844,0.1999878,0.2346819,0.2033362,0.245395,0.1852726,0.2356012,0.2632838,0.261323,0.2533048,0.2446505,0.2007725,0.2219836,0.1969958,0.1750402,0.1515921,0.08526914,0.06251486,0.1007323,0.09761796,0.07857218,0.1335075,0.06270709,0.02939007,-0.02719504,-0.01600315,0.09131423,0.08578294,0.07722125,0.05169521,0.0371461,0.05891996,0.04177735,0.02855994,0.03705872,-0.03011185,0.005048932,0.06588081,-0.007067457,-0.02654666,-0.04572003,-0.09853373,-0.06561342,-0.04967319,-0.06178085,-0.07160608,-0.1816812,-0.1936578,-0.1916655,-0.217583,-0.1741052,-0.165949,-0.2217948,-0.1947011,-0.1840912,-0.159044,-0.1759245,-0.2387644,-0.2382489,-0.198698,-0.137964,-0.1249755,-0.1300087,-0.1258144,-0.141877,-0.1311499,-0.1077578,-0.08709892,-0.1641087,-0.08238902,-0.06689444,-0.05764243,-0.0491087,-0.1236805,-0.136087,-0.1406851,-0.1103146,-0.09735931,-0.07681056,-0.08938658,-0.101281,-0.1255051,-0.2085215,-0.1713841,-0.1644425,-0.1807742,-0.1601206,-0.1715134,-0.1499056,-0.1289671,-0.1532279,-0.1201241,-0.1810084,-0.2471321,-0.2308424,-0.216115,-0.219439,-0.2039741,-0.2264138,-0.2516009,-0.2013876,-0.1741769,-0.1307497,-0.133899,-0.1441996,-0.133497,-0.1706082,-0.1261919,-0.07614471,-0.1144722,-0.06316847,-0.08316148,-0.08519574,-0.01467843,-0.03298147,-0.01176861,0.006523945,-0.03738378,-0.06694862,-0.0471461,-0.04012233,-0.05515205,-0.05513806,-0.08174764,-0.007184549,-0.009306188,0.01416812,0.03497728,-0.04688046,-0.03849878,-0.03499825,-0.06516603,-0.01630374,-0.03128976,-0.06244495,-0.01248864,-0.05824886,-0.0332611,-0.01039497,-0.07320168,-0.07102412,-0.07497553,-0.07504718,-0.06162181,-0.05437784,-0.03916113,-0.01788186,0.02298671,0.01124956,0.07031283,0.03424327,0.03971164,0.03512233,-0.02914715,0.02604509,0.02099965,0.04006816,0.08392695,0.07104683,0.06726844,0.100554,0.08466096,0.1605173,0.1586945,0.1291104,0.2076599,0.2562181,0.2630112,0.2961168,0.2267092,0.2880671,0.2741821,0.2687802,0.3232786,0.3187627,0.3238833,0.3357742
|
|
255
255
|
-0.1650489,-0.196517,-0.2072946,-0.1819906,-0.1744075,-0.1993429,-0.165554,-0.2048287,-0.2095264,-0.1327298,-0.1389252,-0.1563177,-0.1285931,-0.1762199,-0.1419609,-0.1280549,-0.1117284,-0.07004019,-0.1234568,-0.1791069,-0.1551835,-0.1319311,-0.1159629,-0.1033555,-0.1653775,-0.1424502,-0.120575,-0.1401171,-0.1251398,-0.1526983,-0.136884,-0.1136578,-0.193705,-0.1617931,-0.1361167,-0.1537312,-0.1201783,-0.1381108,-0.1306379,-0.121288,-0.1411797,-0.1706886,-0.171468,-0.1744512,-0.1680164,-0.1979063,-0.1751555,-0.1698445,-0.1585599,-0.1705627,-0.155942,-0.1484411,-0.1295823,-0.06555923,-0.1391856,-0.1536805,-0.2064435,-0.1709664,-0.129661,-0.1445474,-0.1640091,-0.1105557,-0.1370203,-0.1203006,-0.1129622,-0.1043359,-0.0767057,-0.05227892,-0.06947745,-0.02653443,-0.05717581,-0.06112199,-0.09538623,-0.141122,-0.06457882,-0.05721425,-0.06832926,-0.03610451,-0.09049633,-0.06062216,-0.01937959,-0.06977106,-0.03900035,-0.05112199,-0.05306886,-0.05325236,-0.02787487,-0.0323663,-0.04799546,-0.04728067,-0.05452114,-0.004007341,-0.008123037,0.007583012,0.004718632,-0.04589305,-0.01840091,0.003911218,0.009536878,0.02404229,0.01232961,-0.05338693,-0.3560993,-0.8724764,-0.7636019,-0.4879413,-0.3795683,-0.2338728,-0.1732174,-0.1481283,-0.119605,-0.07870675,-0.07265641,-0.05316498,-0.05477456,-0.02678609,0.00204474,-0.01984446,-0.03216183,-0.06187697,-0.04983922,0.001964348,-0.05634568,-0.03370674,0.006840266,0.07118315,0.1723086,0.2181755,0.302791,0.4116725,0.3965327,0.405388,0.4870989,0.4231667,0.3388588,0.2330182,0.06224747,-0.01240825,-0.1009857,-0.1436858,-0.2034429,-0.2965257,-0.3477281,-0.3574781,-0.3600385,-0.3434149,-0.2942625,-0.25795,-0.1725044,-0.1308196,-0.09700454,-0.01349878,-0.008173718,0.05013107,0.1462146,0.185173,0.2591454,0.2496068,0.2427351,0.2799144,0.2983817,0.3067441,0.3128661,0.2549231,0.2437731,0.2335792,0.2333572,0.1848707,0.1715257,0.1154124,0.06617442,0.01631248,0.01351276,-0.00357917,-0.0340353,-0.01500175,-0.04823488,-0.1076844,-0.09168997,-0.09321042,-0.0697064,-0.06882733,-0.09146977,-0.06756554,-0.04495456,-0.04793778,0.01120063,-0.01037225,-0.02693464,-0.002983223,-0.03659035,-0.01813702,0.02259,-0.004376095,0.0244058,0.03990912,0.01501573,0.04458755,0.02220902,0.01446697,0.001541417,-0.02606431,0.006920659,0.01034429,-0.04095596,-0.03468542,-0.07590702,-0.09892695,-0.07405977,-0.03662356,-0.09658162,-0.0719993,-0.07284167,-0.1154334,-0.107971,-0.1346732,-0.1262688,-0.1383537,-0.1938693,-0.1747221,-0.1903775,-0.1464628,-0.1425218,-0.1621636,-0.1736561,-0.1761814,-0.1792101,-0.1670587,-0.1777018,-0.207382,-0.2026267,-0.1768263,-0.1559402,-0.154654,-0.1743341,-0.1919067,-0.227368,-0.2669172,-0.2147483,-0.2459909,-0.2525568,-0.2420115,-0.2897308,-0.2690685,-0.2526389,-0.2968263,-0.2932017,-0.2882419,-0.2865851,-0.2344687,-0.283338,-0.3312496,-0.326648,-0.3315117,-0.3095089,-0.2747029,-0.2908354,-0.2971706,-0.2824275,-0.2962373,-0.2385425,-0.2758284,-0.2616707,-0.2525271,-0.2579116,-0.2220133,-0.2429832,-0.2489759,-0.2451136,-0.2405627,-0.2663666,-0.2627822,-0.2739951,-0.2892608,-0.2026424,-0.2401416,-0.2487574,-0.2336386,-0.2206886,-0.1864226,-0.2062129,-0.2268158,-0.2372527,-0.2747658,-0.2073331,-0.1248707,-0.1466655,-0.1675184,-0.1877822,-0.1968298,-0.1035984,-0.0686351,-0.08529884,-0.08495456,-0.127064,-0.1091489,-0.04444775,-0.01523243,-0.01251835,-0.01603286,-0.007645927,0.02810206,0.03847081,0.08432716,0.1035739,0.04875743,0.07158859,0.06182279,0.06461377,0.07103461,0.08957882,0.05347256,0.07058721,0.06751835,0.08853898,0.1437522,0.08747466,0.0920727,0.1032034,0.05447921,0.08348829,0.08043866,0.1052447,0.08386753,0.04493534,0.04957008,0.06452289,0.03661831,0.05840615,0.03635267,0.002436212,0.05326459,0.0248864,0.08073576,0.07801643,0.06423628,0.05398987,0.03427647,0.01002621,0.04961552,0.03942503,0.02065187,0.04072003,0.008199931,0.02023243,0.04641734,0.01750961,0.04541244,0.04716533,0.05547186,0.07288885,0.07674065,0.0700332,0.06072352,0.06967668,0.07904754,0.138497,0.1114435,0.1442677,0.1651887,0.1517861,0.2062041,0.211884,0.2476005,0.2691506,0.2581353,0.2564243,0.242431,0.2854543
|
|
256
|
-
-0.2039619,-0.1729937,-0.2072195,-0.2133345,-0.2013841,-0.2261587,-0.2266288,-0.1993796,-0.2069154,-0.2561587,-0.2229832,-0.2063771,-0.2105505,-0.1729325,-0.1798777,-0.1626354,-0.1609909,-0.2103722,-0.1980654,-0.165935,-0.1433729,-0.1748095,-0.1870063,-0.1882821,-0.1883083,-0.1937452,-0.230589,-0.2020675,-0.1787102,-0.1655785,-0.1681597,-0.194224,-0.1495841,-0.177943,-0.1861552,-0.1564453,-0.1903146,-0.1592031,-0.2057655,-0.1891297,-0.1786351,-0.1445124,-0.1561831,-0.1560329,-0.1839269,-0.147202,-0.1427141,-0.1660853,-0.1684533,-0.1575131,-0.1473628,-0.1585495,-0.1658424,-0.181704,-0.14687,-0.1423611,-0.1623453,-0.1822859,-0.1369102,-0.1252517,-0.08968892,-0.1342695,-0.1311115,-0.1148445,-0.1081894,-0.08446172,-0.06510486,-0.06935687,-0.07661307,-0.07469242,-0.05363335,-0.09621461,-0.01797623,-0.01884831,-0.06964523,-0.06984271,-0.04929745,-0.05722125,-0.02583537,-0.0347029,0.02548934,0.009542119,-0.03217931,0.01826459,0.01604334,-0.02217931,-0.0117057,-0.01964698,-0.0251066,0.02422754,0.02855995,0.02064488,0.02653792,0.04420832,0.00143132,0.03972562,0.04012758,0.04411569,0.03655016,0.05000524,0.09420482,0.08971339,0.112943,0.09030583,0.1590563,0.1043167,0.127438,0.1123383,0.1318595,0.1366358,0.1214785,0.1019311,0.1061884,0.1166393,0.1223785,0.08732261,0.07812478,0.07631598,0.0695561,0.1354317,0.09749039,0.08692765,0.1437924,0.1033345,0.1050402,0.1656449,0.246101,0.2914523,0.4137627,0.5178172,0.5758738,0.5965694,0.5960993,0.5587085,0.449848,0.2440615,0.1711325,0.05031108,-0.07290632,-0.1593761,-0.2498742,-0.2942101,-0.3204526,-0.3069434,-0.3391804,-0.3222475,-0.3028137,-0.2496522,-0.2197309,-0.1748305,-0.1034813,-0.04941978,-0.001906674,0.06047711,0.0807008,0.1329413,0.1801887,0.1728819,0.1985232,0.1527805,0.1379885,0.1675603,0.1897326,0.1758738,0.1595509,0.1290283,0.1066638,0.07573576,0.01503845,-0.04279448,-0.05342013,-0.05569207,-0.1158511,-0.1267529,-0.1655505,-0.1525149,-0.1582384,-0.1438273,-0.1676791,-0.1406728,-0.158179,-0.1191821,-0.06517302,-0.05724047,-0.03151171,-0.06027962,-0.02932192,-0.02852499,-0.009788535,0.03806711,0.09502622,0.07901433,0.07775253,0.1079623,0.104841,0.07824013,0.08788011,0.1037714,0.1104614,0.08266341,0.1030584,0.1133782,0.06260399,0.03075498,-0.0114418,-0.03457183,-0.02453688,-0.0519224,-0.09109927,-0.1757253,-0.09678259,-0.1513492,-0.1971094,-0.1756361,-0.2086875,-0.2298672,-0.2655243,-0.2669643,-0.261101,-0.2704666,-0.290367,-0.3348165,-0.3217564,-0.320886,-0.2995736,-0.3642031,-0.3502481,-0.3673086,-0.3792275,-0.3732454,-0.4186019,-0.4447134,-0.4230164,-0.4413352,-0.4447239,-0.4373541,-0.4463999,-0.4379028,-0.5254299,-0.532784,-0.5267127,-0.562064,-0.5010888,-0.5239112,-0.5292398,-0.5015239,-0.5207375,-0.5204579,-0.5083223,-0.5166725,-0.4867756,-0.4765589,-0.4761534,-0.4374991,-0.4386735,-0.4259717,-0.4341681,-0.4056274,-0.406655,-0.390353,-0.3998008,-0.3253216,-0.3450716,-0.3454072,-0.3613999,-0.372029,-0.3680741,-0.3644862,-0.3667197,-0.3419242,-0.3413981,-0.3374677,-0.3591786,-0.3380042,-0.368123,-0.3660853,-0.3761185,-0.3753076,-0.3273611,-0.3871985,-0.3410486,-0.3413579,-0.3485512,-0.3298759,-0.3562548,-0.3942922,-0.3628766,-0.3445072,-0.3629011,-0.3376529,-0.3396714,-0.356468,-0.3159857,-0.31626,-0.2517616,-0.2143569,-0.2102184,-0.2019609,-0.1905522,-0.1721374,-0.1506798,-0.1284394,-0.08528487,-0.1088134,-0.07046487,-0.03167249,-0.04762671,-0.03667599,-0.04718979,0.01947571,-0.02004369,0.02401608,0.03428871,0.02706047,0.01918385,0.0152936,0.07691891,0.04899161,0.01609752,0.04792205,0.0001730156,0.04134393,0.03944076,0.01549284,0.03501748,0.08159559,0.06962775,0.07845509,0.02842014,0.06174589,0.120028,0.04207969,0.06768787,0.02946697,0.04294652,0.03623733,0.07183851,0.1073698,0.1091017,0.06990912,0.07913492,0.08983048,0.1003513,0.09591751,0.09470814,0.1205715,0.1389776,0.1161045,0.1088518,0.09424326,0.1011901,0.1100612,0.138345,0.137798,0.1927141,0.1908546,0.1334918,0.2046697,0.2242083,0.261994,0.3102272,0.2826127,0.310942,0.2640615,0.30349,0.3224362,0.3284691,0.3694267,0.3726756
|
|
256
|
+
-0.2039619,-0.1729937,-0.2072195,-0.2133345,-0.2013841,-0.2261587,-0.2266288,-0.1993796,-0.2069154,-0.2561587,-0.2229832,-0.2063771,-0.2105505,-0.1729325,-0.1798777,-0.1626354,-0.1609909,-0.2103722,-0.1980654,-0.165935,-0.1433729,-0.1748095,-0.1870063,-0.1882821,-0.1883083,-0.1937452,-0.230589,-0.2020675,-0.1787102,-0.1655785,-0.1681597,-0.194224,-0.1495841,-0.177943,-0.1861552,-0.1564453,-0.1903146,-0.1592031,-0.2057655,-0.1891297,-0.1786351,-0.1445124,-0.1561831,-0.1560329,-0.1839269,-0.147202,-0.1427141,-0.1660853,-0.1684533,-0.1575131,-0.1473628,-0.1585495,-0.1658424,-0.181704,-0.14687,-0.1423611,-0.1623453,-0.1822859,-0.1369102,-0.1252517,-0.08968892,-0.1342695,-0.1311115,-0.1148445,-0.1081894,-0.08446172,-0.06510486,-0.06935687,-0.07661307,-0.07469242,-0.05363335,-0.09621461,-0.01797623,-0.01884831,-0.06964523,-0.06984271,-0.04929745,-0.05722125,-0.02583537,-0.0347029,0.02548934,0.009542119,-0.03217931,0.01826459,0.01604334,-0.02217931,-0.0117057,-0.01964698,-0.0251066,0.02422754,0.02855995,0.02064488,0.02653792,0.04420832,0.00143132,0.03972562,0.04012758,0.04411569,0.03655016,0.05000524,0.09420482,0.08971339,0.112943,0.09030583,0.1590563,0.1043167,0.127438,0.1123383,0.1318595,0.1366358,0.1214785,0.1019311,0.1061884,0.1166393,0.1223785,0.08732261,0.07812478,0.07631598,0.0695561,0.1354317,0.09749039,0.08692765,0.1437924,0.1033345,0.1050402,0.1656449,0.246101,0.2914523,0.4137627,0.5178172,0.5758738,0.5965694,0.5960993,0.5587085,0.449848,0.2440615,0.1711325,0.05031108,-0.07290632,-0.1593761,-0.2498742,-0.2942101,-0.3204526,-0.3069434,-0.3391804,-0.3222475,-0.3028137,-0.2496522,-0.2197309,-0.1748305,-0.1034813,-0.04941978,-0.001906674,0.06047711,0.0807008,0.1329413,0.1801887,0.1728819,0.1985232,0.1527805,0.1379885,0.1675603,0.1897326,0.1758738,0.1595509,0.1290283,0.1066638,0.07573576,0.01503845,-0.04279448,-0.05342013,-0.05569207,-0.1158511,-0.1267529,-0.1655505,-0.1525149,-0.1582384,-0.1438273,-0.1676791,-0.1406728,-0.158179,-0.1191821,-0.06517302,-0.05724047,-0.03151171,-0.06027962,-0.02932192,-0.02852499,-0.009788535,0.03806711,0.09502622,0.07901433,0.07775253,0.1079623,0.104841,0.07824013,0.08788011,0.1037714,0.1104614,0.08266341,0.1030584,0.1133782,0.06260399,0.03075498,-0.0114418,-0.03457183,-0.02453688,-0.0519224,-0.09109927,-0.1757253,-0.09678259,-0.1513492,-0.1971094,-0.1756361,-0.2086875,-0.2298672,-0.2655243,-0.2669643,-0.261101,-0.2704666,-0.290367,-0.3348165,-0.3217564,-0.320886,-0.2995736,-0.3642031,-0.3502481,-0.3673086,-0.3792275,-0.3732454,-0.4186019,-0.4447134,-0.4230164,-0.4413352,-0.4447239,-0.4373541,-0.4463999,-0.4379028,-0.5254299,-0.532784,-0.5267127,-0.562064,-0.5010888,-0.5239112,-0.5292398,-0.5015239,-0.5207375,-0.5204579,-0.5083223,-0.5166725,-0.4867756,-0.4765589,-0.4761534,-0.4374991,-0.4386735,-0.4259717,-0.4341681,-0.4056274,-0.406655,-0.390353,-0.3998008,-0.3253216,-0.3450716,-0.3454072,-0.3613999,-0.372029,-0.3680741,-0.3644862,-0.3667197,-0.3419242,-0.3413981,-0.3374677,-0.3591786,-0.3380042,-0.368123,-0.3660853,-0.3761185,-0.3753076,-0.3273611,-0.3871985,-0.3410486,-0.3413579,-0.3485512,-0.3298759,-0.3562548,-0.3942922,-0.3628766,-0.3445072,-0.3629011,-0.3376529,-0.3396714,-0.356468,-0.3159857,-0.31626,-0.2517616,-0.2143569,-0.2102184,-0.2019609,-0.1905522,-0.1721374,-0.1506798,-0.1284394,-0.08528487,-0.1088134,-0.07046487,-0.03167249,-0.04762671,-0.03667599,-0.04718979,0.01947571,-0.02004369,0.02401608,0.03428871,0.02706047,0.01918385,0.0152936,0.07691891,0.04899161,0.01609752,0.04792205,0.0001730156,0.04134393,0.03944076,0.01549284,0.03501748,0.08159559,0.06962775,0.07845509,0.02842014,0.06174589,0.120028,0.04207969,0.06768787,0.02946697,0.04294652,0.03623733,0.07183851,0.1073698,0.1091017,0.06990912,0.07913492,0.08983048,0.1003513,0.09591751,0.09470814,0.1205715,0.1389776,0.1161045,0.1088518,0.09424326,0.1011901,0.1100612,0.138345,0.137798,0.1927141,0.1908546,0.1334918,0.2046697,0.2242083,0.261994,0.3102272,0.2826127,0.310942,0.2640615,0.30349,0.3224362,0.3284691,0.3694267,0.3726756
|