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.
Files changed (39) hide show
  1. {pyglaze-0.1.0/src/pyglaze.egg-info → pyglaze-0.1.1}/PKG-INFO +1 -1
  2. {pyglaze-0.1.0 → pyglaze-0.1.1}/pyproject.toml +2 -2
  3. pyglaze-0.1.1/src/pyglaze/__init__.py +1 -0
  4. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/pulse.py +3 -11
  5. {pyglaze-0.1.0 → pyglaze-0.1.1/src/pyglaze.egg-info}/PKG-INFO +1 -1
  6. pyglaze-0.1.0/src/pyglaze/__init__.py +0 -1
  7. {pyglaze-0.1.0 → pyglaze-0.1.1}/LICENSE +0 -0
  8. {pyglaze-0.1.0 → pyglaze-0.1.1}/MANIFEST.in +0 -0
  9. {pyglaze-0.1.0 → pyglaze-0.1.1}/README.md +0 -0
  10. {pyglaze-0.1.0 → pyglaze-0.1.1}/setup.cfg +0 -0
  11. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/__init__.py +0 -0
  12. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/datamodels/waveform.py +0 -0
  13. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/__init__.py +0 -0
  14. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/carmen-nonuniform-2023-10-20.pickle +0 -0
  15. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g1-linearized-2023-04-04.pickle +0 -0
  16. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-linearized-2023-04-04.pickle +0 -0
  17. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/g2-nonuniform-2023-04-04.pickle +0 -0
  18. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/_delayunit_data/mock_delay.pickle +0 -0
  19. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/ampcom.py +0 -0
  20. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/configuration.py +0 -0
  21. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/delayunit.py +0 -0
  22. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/device/identifiers.py +0 -0
  23. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/__init__.py +0 -0
  24. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/mock_device.py +0 -0
  25. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/devtools/thz_pulse.py +0 -0
  26. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/__init__.py +0 -0
  27. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/types.py +0 -0
  28. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/helpers/utilities.py +0 -0
  29. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/interpolation/__init__.py +0 -0
  30. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/interpolation/interpolation.py +0 -0
  31. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/py.typed +0 -0
  32. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/__init__.py +0 -0
  33. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/_asyncscanner.py +0 -0
  34. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/client.py +0 -0
  35. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze/scanning/scanner.py +0 -0
  36. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/SOURCES.txt +0 -0
  37. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/dependency_links.txt +0 -0
  38. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/requires.txt +0 -0
  39. {pyglaze-0.1.0 → pyglaze-0.1.1}/src/pyglaze.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyglaze
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Pyglaze is a library used to operate the devices of Glaze Technologies
5
5
  Author: GLAZE Technologies ApS
6
6
  License: BSD 3-Clause License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyglaze"
3
- version = "0.1.0"
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.0"
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.all(obj.time == self.time)
48
- and np.all(obj.signal == self.signal)
49
- and np.all(obj.signal_err == self.signal_err)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyglaze
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Pyglaze is a library used to operate the devices of Glaze Technologies
5
5
  Author: GLAZE Technologies ApS
6
6
  License: BSD 3-Clause License
@@ -1 +0,0 @@
1
- __version__ = "4.2.0"
File without changes
File without changes
File without changes
File without changes
File without changes