pyExSi 0.43.2__tar.gz → 0.43.3__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.
- {pyexsi-0.43.2 → pyexsi-0.43.3}/.github/workflows/python-package.yml +2 -2
- {pyexsi-0.43.2 → pyexsi-0.43.3}/PKG-INFO +2 -2
- {pyexsi-0.43.2 → pyexsi-0.43.3}/pyExSi/__init__.py +1 -1
- {pyexsi-0.43.2 → pyexsi-0.43.3}/pyExSi/signals.py +5 -3
- {pyexsi-0.43.2 → pyexsi-0.43.3}/pyproject.toml +1 -1
- {pyexsi-0.43.2 → pyexsi-0.43.3}/.github/workflows/release-and-publish-to-pypi.yml +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/.gitignore +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/CONTRIBUTING.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/LICENSE +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/Showcase.ipynb +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/Makefile +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/make.bat +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/requirements.txt +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/code.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/conf.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/examples/example_nonstationarity.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/examples/example_signals.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/examples.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/getting_started.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/docs/source/index.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/example/example_nonstationarity.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/example/example_signals.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/readme.rst +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/readthedocs.yaml +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/requirements.dev.txt +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/requirements.txt +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/setup.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/tests/generate_freezed_data.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/tests/test_basic.py +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/tests/test_data_nonstationarity.pkl +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/tests/test_data_signals.pkl +0 -0
- {pyexsi-0.43.2 → pyexsi-0.43.3}/tests/test_scipy_chirp.py +0 -0
|
@@ -8,7 +8,7 @@ jobs:
|
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
python-version: ["3.
|
|
11
|
+
python-version: ["3.11", "3.12", "3.13"]
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
14
|
- uses: actions/checkout@v3
|
|
@@ -29,4 +29,4 @@ jobs:
|
|
|
29
29
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
30
30
|
- name: Test with pytest
|
|
31
31
|
run: |
|
|
32
|
-
pytest
|
|
32
|
+
pytest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyExSi
|
|
3
|
-
Version: 0.43.
|
|
3
|
+
Version: 0.43.3
|
|
4
4
|
Summary: Excitation signals as used in structural dynamics and vibration fatigue.
|
|
5
5
|
Project-URL: homepage, https://github.com/ladisk/pyExSi
|
|
6
6
|
Project-URL: documentation, https://pyexsi.readthedocs.io/en/latest/index.html
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = '0.43.
|
|
1
|
+
__version__ = '0.43.3'
|
|
2
2
|
from .signals import *
|
|
@@ -74,13 +74,15 @@ def pseudo_random(N, rg=None):
|
|
|
74
74
|
"""
|
|
75
75
|
Pseudorandom distribution.
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Generated random data has amplitude spectrum of magnuted 1 and
|
|
78
|
+
uniformly distributed phase.
|
|
78
79
|
|
|
79
80
|
:param N: Number of points.
|
|
80
81
|
:type N: int
|
|
81
82
|
:param rg: Initialized Generator object
|
|
82
83
|
:type rg: numpy.random._generator.Generator
|
|
83
|
-
:returns: Random samples
|
|
84
|
+
:returns: Random samples with amplitude spectrum of magnuted 1 and
|
|
85
|
+
uniformly distributed phase.
|
|
84
86
|
|
|
85
87
|
Example
|
|
86
88
|
--------
|
|
@@ -849,4 +851,4 @@ def get_kurtosis(signal):
|
|
|
849
851
|
if __name__ == "__main__":
|
|
850
852
|
time = np.arange(1000)/10000
|
|
851
853
|
burst = sine_sweep(time=time, freq_start=3000, freq_stop=15000, mode='logarithmic')
|
|
852
|
-
print(burst)
|
|
854
|
+
print(burst)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyExSi"
|
|
7
|
-
version = "0.43.
|
|
7
|
+
version = "0.43.3"
|
|
8
8
|
authors = [{name = "Aleš Zorman, Domen Gorjup, Janko Slavič", email = "janko.slavic@fs.uni-lj.si"}]
|
|
9
9
|
maintainers = [{name = "Janko Slavič, Domen Gorjup, Aleš Zorman", email = "janko.slavic@fs.uni-lj.si"}]
|
|
10
10
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|