ephys-link 1.3.0__py3-none-any.whl → 1.3.0b2__py3-none-any.whl

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.
ephys_link/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.3.0"
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,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
@@ -1,11 +1,11 @@
1
- ephys_link/__about__.py,sha256=N53F87jnDXnPWTxIl8Act-J_9sVbOVV8kluLQav-f9o,23
1
+ ephys_link/__about__.py,sha256=G2LXGwvaI_1j2mcOG-ROOoWXJfdi2T32W0u5v4FMAh4,25
2
2
  ephys_link/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  ephys_link/__main__.py,sha256=N-vdBEDSdAJw8f3Xz8Ncwk_ymimgoC1I60qh75-uDno,2556
4
4
  ephys_link/common.py,sha256=QJPKIXmFwsMVSeEkKSkXSpyidgXpWWW2YIBd2yM1Itk,1302
5
5
  ephys_link/emergency_stop.py,sha256=Ngq5pqgFR4LKxb5AKwbYhItSRq87AjEZNoRi_fqr_co,2278
6
6
  ephys_link/gui.py,sha256=zt-Mpag35CSxsEc8QbBIUB7oDzIuy0BAtZGW_WGciak,5924
7
7
  ephys_link/platform_handler.py,sha256=3jF9Wi4OMc861VkoBNACfgGsbrQPgJrRkKIMOiNr8So,19432
8
- ephys_link/platform_manipulator.py,sha256=LVEqNdltwVB2z9A54SdBiOVRr7rGkmQ1jGfggVLmblo,956
8
+ ephys_link/platform_manipulator.py,sha256=AK9XTw1YzAUDhYXaZQxnfbuftBSXokeFkw-xq_n9q2Y,954
9
9
  ephys_link/server.py,sha256=RlxkjoHsLeaGlrW-NQ1VI1GFjPCKC_YhlFm7qwjvu5A,16641
10
10
  ephys_link/platforms/__init__.py,sha256=CbWkSRV0ERpUjcqNNslmf-YHSZpEyKJBDjOsV6_mhak,130
11
11
  ephys_link/platforms/new_scale_handler.py,sha256=x5ElQMYFi3SsK0cO0yoz2j5FRhGB0cnJ5JWCIDnQNMg,5205
@@ -13,14 +13,14 @@ ephys_link/platforms/new_scale_manipulator.py,sha256=AZO00XqWS7saueWQYeCI7FOU8Js
13
13
  ephys_link/platforms/new_scale_pathfinder_handler.py,sha256=cNT753Ex55F8PuQDeH7MlFObziTji8sHZmtlVdzwqaI,7692
14
14
  ephys_link/platforms/sensapex_handler.py,sha256=pok81D1vVEpoYcaMhXrsC0KTpeKftRMXWVditgRA3yw,5843
15
15
  ephys_link/platforms/sensapex_manipulator.py,sha256=gUWz7T-ZEn78opIVzDZEV0YsKcbCdZX7DI5YwGjDw9E,8303
16
- ephys_link/platforms/ump3_handler.py,sha256=Xq5ZTYBF0wLmyP7ZZsS88Uy8Gcop1RpoVycjuGVayB4,1875
16
+ ephys_link/platforms/ump3_handler.py,sha256=vzt2rFU-OMRQOoz887wW-J6phapCiuiSEjhQWRqk6uQ,1873
17
17
  ephys_link/platforms/ump3_manipulator.py,sha256=4It5pwMoyPRKIab0vraYanG5V2QJUrl8wHEpnca9JMg,5986
18
18
  ephys_link/resources/CP210xManufacturing.dll,sha256=aM9k_XABjkq0TOMiIw8HeteB40zqEkUDNO8wo91EdYI,810232
19
19
  ephys_link/resources/NstMotorCtrl.dll,sha256=Xtpr3vBcxhcsOUGvgVEwYtGPvKEqDctIUGCK36GfU2Q,155136
20
20
  ephys_link/resources/SiUSBXp.dll,sha256=187zlclZNNezCkU1o1CbICRAmKWJxbh8ahP6L6wo-_Y,469752
21
21
  ephys_link/resources/libum.dll,sha256=YaD4dwiSNohx-XxHjx2eQWPOBEVvUIXARvx37e_yqNw,316316
22
- ephys_link-1.3.0.dist-info/METADATA,sha256=6yTkQFcSiXI2GjOyrtxYPM6jxUM92HKQCJh9B4FpdDE,7833
23
- ephys_link-1.3.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
24
- ephys_link-1.3.0.dist-info/entry_points.txt,sha256=o8wV3AdnJ9o47vg9ymKxPNVq9pMdPq8UZHE_iyAJx-k,124
25
- ephys_link-1.3.0.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
26
- ephys_link-1.3.0.dist-info/RECORD,,
22
+ ephys_link-1.3.0b2.dist-info/METADATA,sha256=utAv_I0FyEsU0O5pe-2Da_YrdnWxArFoc0uaDZ-P7Nk,7835
23
+ ephys_link-1.3.0b2.dist-info/WHEEL,sha256=osohxoshIHTFJFVPhsi1UkZuLRGMHRXZzwEBW2ezjrc,87
24
+ ephys_link-1.3.0b2.dist-info/entry_points.txt,sha256=o8wV3AdnJ9o47vg9ymKxPNVq9pMdPq8UZHE_iyAJx-k,124
25
+ ephys_link-1.3.0b2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
26
+ ephys_link-1.3.0b2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.24.2
2
+ Generator: hatchling 1.24.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any