pyglaze 0.1.0__tar.gz → 0.1.1__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.1.0/src/pyglaze.egg-info → pyglaze-0.1.1}/PKG-INFO +1 -1
- {pyglaze-0.1.0 → pyglaze-0.1.1}/pyproject.toml +2 -2
- pyglaze-0.1.1/src/pyglaze/__init__.py +1 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/pulse.py +3 -11
- {pyglaze-0.1.0 → pyglaze-0.1.1/src/pyglaze.egg-info}/PKG-INFO +1 -1
- pyglaze-0.1.0/src/pyglaze/__init__.py +0 -1
- {pyglaze-0.1.0 → pyglaze-0.1.1}/LICENSE +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/MANIFEST.in +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/README.md +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/setup.cfg +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/waveform.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/carmen-nonuniform-2023-10-20.pickle +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g1-linearized-2023-04-04.pickle +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-linearized-2023-04-04.pickle +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-nonuniform-2023-04-04.pickle +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/mock_delay.pickle +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/ampcom.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/configuration.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/delayunit.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/identifiers.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/mock_device.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/thz_pulse.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/types.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/utilities.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/interpolation/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/interpolation/interpolation.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/py.typed +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/__init__.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/_asyncscanner.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/client.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/scanner.py +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/SOURCES.txt +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/dependency_links.txt +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/requires.txt +0 -0
- {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyglaze"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
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.1.
|
|
77
|
+
current_version = "0.1.1"
|
|
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.1.1"
|
|
@@ -35,18 +35,10 @@ class Pulse:
|
|
|
35
35
|
if not isinstance(obj, Pulse):
|
|
36
36
|
return False
|
|
37
37
|
|
|
38
|
-
# Check if shapes are equal before using np.all (will throw error on different shapes)
|
|
39
|
-
if obj.time.shape != self.time.shape:
|
|
40
|
-
return False
|
|
41
|
-
if obj.signal.shape != self.signal.shape:
|
|
42
|
-
return False
|
|
43
|
-
if not isinstance(obj.signal_err, type(self.signal_err)):
|
|
44
|
-
return False
|
|
45
|
-
|
|
46
38
|
return bool(
|
|
47
|
-
np.
|
|
48
|
-
and np.
|
|
49
|
-
and np.
|
|
39
|
+
np.array_equal(self.time, obj.time)
|
|
40
|
+
and np.array_equal(self.signal, obj.signal)
|
|
41
|
+
and np.array_equal(self.signal_err, obj.signal_err) # type: ignore[arg-type]
|
|
50
42
|
)
|
|
51
43
|
|
|
52
44
|
@cached_property
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "4.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g1-linearized-2023-04-04.pickle
RENAMED
|
File without changes
|
{pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-linearized-2023-04-04.pickle
RENAMED
|
File without changes
|
{pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-nonuniform-2023-04-04.pickle
RENAMED
|
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
|