pyglaze 0.4.4__tar.gz → 0.4.6__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.
- {pyglaze-0.4.4/src/pyglaze.egg-info → pyglaze-0.4.6}/PKG-INFO +1 -1
- {pyglaze-0.4.4 → pyglaze-0.4.6}/pyproject.toml +2 -2
- pyglaze-0.4.6/src/pyglaze/__init__.py +1 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/datamodels/pulse.py +2 -2
- {pyglaze-0.4.4 → pyglaze-0.4.6/src/pyglaze.egg-info}/PKG-INFO +1 -1
- pyglaze-0.4.4/src/pyglaze/__init__.py +0 -1
- {pyglaze-0.4.4 → pyglaze-0.4.6}/LICENSE +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/MANIFEST.in +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/README.md +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/setup.cfg +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/datamodels/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/datamodels/waveform.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/device/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/device/ampcom.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/device/configuration.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/devtools/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/devtools/mock_device.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/devtools/thz_pulse.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/helpers/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/helpers/_types.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/helpers/utilities.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/interpolation/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/interpolation/interpolation.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/py.typed +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/scanning/__init__.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/scanning/_asyncscanner.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/scanning/_exceptions.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/scanning/client.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze/scanning/scanner.py +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze.egg-info/SOURCES.txt +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze.egg-info/dependency_links.txt +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze.egg-info/requires.txt +0 -0
- {pyglaze-0.4.4 → pyglaze-0.4.6}/src/pyglaze.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyglaze"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.6"
|
|
4
4
|
description = "Pyglaze is a library used to operate the devices of Glaze Technologies"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { file = "LICENSE" }
|
|
@@ -74,7 +74,7 @@ convention = "google"
|
|
|
74
74
|
]
|
|
75
75
|
|
|
76
76
|
[tool.bumpver]
|
|
77
|
-
current_version = "0.4.
|
|
77
|
+
current_version = "0.4.6"
|
|
78
78
|
version_pattern = "MAJOR.MINOR.PATCH[-TAG]"
|
|
79
79
|
commit_message = "BUMP VERSION {old_version} -> {new_version}"
|
|
80
80
|
tag_message = "v{new_version}"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.6"
|
|
@@ -62,7 +62,7 @@ class Pulse:
|
|
|
62
62
|
@property
|
|
63
63
|
def fft(self: Pulse) -> ComplexArray:
|
|
64
64
|
"""Return the Fourier Transform of a signal."""
|
|
65
|
-
return np.fft.rfft(self.signal, norm="forward")
|
|
65
|
+
return np.fft.rfft(self.signal, norm="forward", axis=0)
|
|
66
66
|
|
|
67
67
|
@property
|
|
68
68
|
def frequency(self: Pulse) -> FloatArray:
|
|
@@ -174,7 +174,7 @@ class Pulse:
|
|
|
174
174
|
"""
|
|
175
175
|
extrema = [scan._get_min_or_max_idx(wrt_max=wrt_max) for scan in scans] # noqa: SLF001
|
|
176
176
|
n_before = min(extrema)
|
|
177
|
-
n_after = min(len(scan) - index
|
|
177
|
+
n_after = min(len(scan) - index for scan, index in zip(scans, extrema))
|
|
178
178
|
roughly_aligned = [
|
|
179
179
|
cls._from_slice(scan, slice(index - n_before, index + n_after))
|
|
180
180
|
for index, scan in zip(extrema, scans)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.4"
|
|
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
|