spectrochempy-hypercomplex 0.1.2__tar.gz → 0.1.4__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.
- spectrochempy_hypercomplex-0.1.4/PKG-INFO +43 -0
- spectrochempy_hypercomplex-0.1.4/README.md +33 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/pyproject.toml +3 -2
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex/__init__.py +379 -338
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex/_quaternion.py +189 -189
- spectrochempy_hypercomplex-0.1.4/src/spectrochempy_hypercomplex.egg-info/PKG-INFO +43 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex.egg-info/SOURCES.txt +1 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex.egg-info/requires.txt +1 -1
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/tests/test_hypercomplex.py +241 -126
- spectrochempy_hypercomplex-0.1.2/PKG-INFO +0 -8
- spectrochempy_hypercomplex-0.1.2/src/spectrochempy_hypercomplex.egg-info/PKG-INFO +0 -8
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/setup.cfg +0 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex.egg-info/dependency_links.txt +0 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex.egg-info/entry_points.txt +0 -0
- {spectrochempy_hypercomplex-0.1.2 → spectrochempy_hypercomplex-0.1.4}/src/spectrochempy_hypercomplex.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: spectrochempy-hypercomplex
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
Summary: Hypercomplex / quaternion support plugin for SpectroChemPy
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: spectrochempy<0.11,>=0.9
|
|
8
|
+
Requires-Dist: numpy
|
|
9
|
+
Requires-Dist: numpy-quaternion>=2024.0.7
|
|
10
|
+
|
|
11
|
+
# spectrochempy-hypercomplex
|
|
12
|
+
|
|
13
|
+
Hypercomplex / quaternion support plugin for SpectroChemPy.
|
|
14
|
+
|
|
15
|
+
Provides quaternion-based dataset types, quaternion-aware processing
|
|
16
|
+
operations, and utilities for working with hypercomplex NMR data.
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pip install spectrochempy[hypercomplex]
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
import spectrochempy as scp
|
|
28
|
+
|
|
29
|
+
# Enable hypercomplex support.
|
|
30
|
+
dataset = scp.read_topspin("path/to/2rr")
|
|
31
|
+
dataset.set_quaternion()
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
This plugin requires SpectroChemPy.
|
|
35
|
+
|
|
36
|
+
## Development
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install -e .
|
|
40
|
+
pip install -e plugins/spectrochempy-hypercomplex
|
|
41
|
+
cd plugins/spectrochempy-hypercomplex
|
|
42
|
+
python -m pytest tests/
|
|
43
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# spectrochempy-hypercomplex
|
|
2
|
+
|
|
3
|
+
Hypercomplex / quaternion support plugin for SpectroChemPy.
|
|
4
|
+
|
|
5
|
+
Provides quaternion-based dataset types, quaternion-aware processing
|
|
6
|
+
operations, and utilities for working with hypercomplex NMR data.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
pip install spectrochempy[hypercomplex]
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import spectrochempy as scp
|
|
18
|
+
|
|
19
|
+
# Enable hypercomplex support.
|
|
20
|
+
dataset = scp.read_topspin("path/to/2rr")
|
|
21
|
+
dataset.set_quaternion()
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
This plugin requires SpectroChemPy.
|
|
25
|
+
|
|
26
|
+
## Development
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
pip install -e .
|
|
30
|
+
pip install -e plugins/spectrochempy-hypercomplex
|
|
31
|
+
cd plugins/spectrochempy-hypercomplex
|
|
32
|
+
python -m pytest tests/
|
|
33
|
+
```
|
|
@@ -4,11 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "spectrochempy-hypercomplex"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "Hypercomplex / quaternion support plugin for SpectroChemPy"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
|
+
readme = "README.md"
|
|
10
11
|
dependencies = [
|
|
11
|
-
"spectrochempy>=0.9,<0.
|
|
12
|
+
"spectrochempy>=0.9,<0.11",
|
|
12
13
|
"numpy",
|
|
13
14
|
"numpy-quaternion>=2024.0.7",
|
|
14
15
|
]
|