ephys-link 1.3.0__tar.gz → 1.3.0b2__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 (32) hide show
  1. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/PKG-INFO +4 -4
  2. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/pyproject.toml +3 -3
  3. ephys_link-1.3.0b2/src/ephys_link/__about__.py +1 -0
  4. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platform_manipulator.py +0 -1
  5. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/ump3_handler.py +14 -14
  6. ephys_link-1.3.0/src/ephys_link/__about__.py +0 -1
  7. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/.gitignore +0 -0
  8. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/LICENSE +0 -0
  9. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/README.md +0 -0
  10. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/assets/icon.ico +0 -0
  11. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/ephys_link.spec +0 -0
  12. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/scripts/__init__.py +0 -0
  13. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/scripts/move_tester.py +0 -0
  14. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/__init__.py +0 -0
  15. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/__main__.py +0 -0
  16. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/common.py +0 -0
  17. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/emergency_stop.py +0 -0
  18. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/gui.py +0 -0
  19. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platform_handler.py +0 -0
  20. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/__init__.py +0 -0
  21. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/new_scale_handler.py +0 -0
  22. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/new_scale_manipulator.py +0 -0
  23. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/new_scale_pathfinder_handler.py +0 -0
  24. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/sensapex_handler.py +0 -0
  25. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/sensapex_manipulator.py +0 -0
  26. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/platforms/ump3_manipulator.py +0 -0
  27. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/resources/CP210xManufacturing.dll +0 -0
  28. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/resources/NstMotorCtrl.dll +0 -0
  29. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/resources/SiUSBXp.dll +0 -0
  30. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/resources/libum.dll +0 -0
  31. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/src/ephys_link/server.py +0 -0
  32. {ephys_link-1.3.0 → ephys_link-1.3.0b2}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ephys-link
3
- Version: 1.3.0
3
+ Version: 1.3.0b2
4
4
  Summary: A Python Socket.IO server that allows any Socket.IO-compliant application to communicate with manipulators used in electrophysiology experiments.
5
5
  Project-URL: Documentation, https://virtualbrainlab.org/ephys_link/installation_and_use.html
6
6
  Project-URL: Issues, https://github.com/VirtualBrainLab/ephys-link/issues
@@ -26,14 +26,14 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
26
26
  Classifier: Programming Language :: Python :: Implementation :: PyPy
27
27
  Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
28
28
  Requires-Python: <3.13,>=3.8
29
- Requires-Dist: aiohttp==3.9.5
30
- Requires-Dist: platformdirs==4.2.1
29
+ Requires-Dist: aiohttp==3.9.4
30
+ Requires-Dist: platformdirs==4.2.0
31
31
  Requires-Dist: pyserial==3.5
32
32
  Requires-Dist: python-socketio==5.11.2
33
33
  Requires-Dist: pythonnet==3.0.3
34
34
  Requires-Dist: requests==2.31.0
35
35
  Requires-Dist: sensapex==1.400.0
36
- Requires-Dist: vbl-aquarium==0.0.13
36
+ Requires-Dist: vbl-aquarium==0.0.12
37
37
  Description-Content-Type: text/markdown
38
38
 
39
39
  # Electrophysiology Manipulator Link
@@ -30,14 +30,14 @@ classifiers = [
30
30
  "Topic :: Scientific/Engineering :: Medical Science Apps.",
31
31
  ]
32
32
  dependencies = [
33
- "aiohttp==3.9.5",
34
- "platformdirs==4.2.1",
33
+ "aiohttp==3.9.4",
34
+ "platformdirs==4.2.0",
35
35
  "pyserial==3.5",
36
36
  "python-socketio==5.11.2",
37
37
  "pythonnet==3.0.3",
38
38
  "requests==2.31.0",
39
39
  "sensapex==1.400.0",
40
- "vbl-aquarium==0.0.13"
40
+ "vbl-aquarium==0.0.12"
41
41
  ]
42
42
 
43
43
  [project.urls]
@@ -0,0 +1 @@
1
+ __version__ = "1.3.0b2"
@@ -3,7 +3,6 @@
3
3
  Most functionality will be implemented on the platform handler side. This is mostly
4
4
  for enforcing implementation of the stop method and hold common properties.
5
5
  """
6
-
7
6
  from abc import ABC, abstractmethod
8
7
 
9
8
  # Constants
@@ -28,30 +28,30 @@ class UMP3Handler(SensapexHandler):
28
28
 
29
29
  self.manipulators[manipulator_id] = UMP3Manipulator(self.ump.get_device(int(manipulator_id)))
30
30
 
31
- def _platform_space_to_unified_space(self, platform_position: Vector4) -> Vector4:
31
+ def _platform_space_to_unified_space(self, platform_position: list[float]) -> list[float]:
32
32
  # unified <- platform
33
33
  # +x <- +y
34
34
  # +y <- -x
35
35
  # +z <- -z
36
36
  # +d <- +d/x
37
37
 
38
- return Vector4(
39
- x=platform_position.y,
40
- y=self.dimensions.x - platform_position.x,
41
- z=self.dimensions.z - platform_position.z,
42
- w=platform_position.w,
43
- )
38
+ return [
39
+ platform_position[1],
40
+ self.dimensions[0] - platform_position[0],
41
+ self.dimensions[2] - platform_position[2],
42
+ platform_position[3],
43
+ ]
44
44
 
45
- def _unified_space_to_platform_space(self, unified_position: Vector4) -> Vector4:
45
+ def _unified_space_to_platform_space(self, unified_position: list[float]) -> list[float]:
46
46
  # platform <- unified
47
47
  # +x <- -y
48
48
  # +y <- +x
49
49
  # +z <- -z
50
50
  # +d/x <- +d
51
51
 
52
- return Vector4(
53
- x=self.dimensions.y - unified_position.y,
54
- y=unified_position.x,
55
- z=self.dimensions.z - unified_position.z,
56
- w=unified_position.w,
57
- )
52
+ return [
53
+ self.dimensions[1] - unified_position[1],
54
+ unified_position[0],
55
+ self.dimensions[2] - unified_position[2],
56
+ unified_position[3],
57
+ ]
@@ -1 +0,0 @@
1
- __version__ = "1.3.0"
File without changes
File without changes
File without changes
File without changes
File without changes