ephys-link 2.1.2__tar.gz → 2.1.3__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.
- {ephys_link-2.1.2 → ephys_link-2.1.3}/PKG-INFO +1 -1
- {ephys_link-2.1.2 → ephys_link-2.1.3}/ephys_link.spec +5 -1
- {ephys_link-2.1.2 → ephys_link-2.1.3}/pyproject.toml +8 -8
- ephys_link-2.1.3/scripts/jackhammer.py +29 -0
- ephys_link-2.1.3/src/ephys_link/__about__.py +1 -0
- ephys_link-2.1.2/src/ephys_link/__about__.py +0 -1
- {ephys_link-2.1.2 → ephys_link-2.1.3}/.gitignore +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/LICENSE +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/README.md +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/mkdocs.yml +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/scripts/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/scripts/gen_ref_pages.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/scripts/logger_test.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/scripts/move_tester.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/scripts/server_tester.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/__main__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/back_end/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/back_end/platform_handler.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/back_end/server.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/bindings/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/bindings/fake_binding.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/bindings/mpm_binding.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/bindings/ump_binding.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/front_end/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/front_end/cli.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/front_end/console.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/front_end/gui.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/utils/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/utils/base_binding.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/utils/constants.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/utils/converters.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/src/ephys_link/utils/startup.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/back_end/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/back_end/test_platform_handler.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/back_end/test_server.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/conftest.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/utils/__init__.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/utils/test_converters.py +0 -0
- {ephys_link-2.1.2 → ephys_link-2.1.3}/tests/utils/test_startup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ephys-link
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.3
|
|
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
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# -*- mode: python ; coding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
from argparse import ArgumentParser
|
|
4
|
+
from importlib import resources
|
|
4
5
|
|
|
5
6
|
from PyInstaller.utils.hooks import collect_submodules
|
|
6
7
|
|
|
@@ -15,11 +16,14 @@ FILE_NAME = f"EphysLink-v{version}"
|
|
|
15
16
|
# Collect binding modules.
|
|
16
17
|
bindings = [binding for binding in collect_submodules("ephys_link.bindings") if binding != "ephys_link.bindings"]
|
|
17
18
|
|
|
19
|
+
# Collect Sensapex SDK.
|
|
20
|
+
ump_sdk_path = str(resources.files('sensapex').joinpath('libum.dll'))
|
|
21
|
+
|
|
18
22
|
# noinspection PyUnresolvedReferences
|
|
19
23
|
a = Analysis(
|
|
20
24
|
['src\\ephys_link\\__main__.py'],
|
|
21
25
|
pathex=[],
|
|
22
|
-
binaries=[],
|
|
26
|
+
binaries=[(ump_sdk_path, 'sensapex')],
|
|
23
27
|
datas=[],
|
|
24
28
|
hiddenimports=['engineio.async_drivers.aiohttp'] + bindings,
|
|
25
29
|
hookspath=[],
|
|
@@ -59,12 +59,12 @@ exclude = ["/.github", "/.idea", "/docs"]
|
|
|
59
59
|
installer = "uv"
|
|
60
60
|
python = "3.13"
|
|
61
61
|
dependencies = [
|
|
62
|
-
"pyinstaller==6.
|
|
63
|
-
"basedpyright==1.
|
|
64
|
-
"pytest==8.4.
|
|
65
|
-
"pytest-cov==6.
|
|
66
|
-
"pytest-mock==3.
|
|
67
|
-
"pytest-asyncio==1.
|
|
62
|
+
"pyinstaller==6.15.0",
|
|
63
|
+
"basedpyright==1.31.4",
|
|
64
|
+
"pytest==8.4.2",
|
|
65
|
+
"pytest-cov==6.3.0",
|
|
66
|
+
"pytest-mock==3.15.0",
|
|
67
|
+
"pytest-asyncio==1.1.0"
|
|
68
68
|
]
|
|
69
69
|
[tool.hatch.envs.default.scripts]
|
|
70
70
|
exe = "pyinstaller.exe ephys_link.spec -y -- -d && pyinstaller.exe ephys_link.spec -y"
|
|
@@ -79,8 +79,8 @@ installer = "uv"
|
|
|
79
79
|
python = "3.13"
|
|
80
80
|
skip-install = true
|
|
81
81
|
dependencies = [
|
|
82
|
-
"mkdocs-material==9.6.
|
|
83
|
-
"mkdocstrings-python==1.
|
|
82
|
+
"mkdocs-material==9.6.19",
|
|
83
|
+
"mkdocstrings-python==1.18.2",
|
|
84
84
|
"mkdocs-gen-files==0.5.0",
|
|
85
85
|
"mkdocs-literate-nav==0.6.2",
|
|
86
86
|
"mkdocs-section-index==0.3.10"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from ctypes import c_char, c_int
|
|
2
|
+
|
|
3
|
+
from sensapex import UMP
|
|
4
|
+
|
|
5
|
+
# Edit these parameters:
|
|
6
|
+
DEVICE_ID = 3 # Manipulator ID.
|
|
7
|
+
AXIS = 3 # Axis (0=X, 1=Y, 2=Z, 3=D).
|
|
8
|
+
|
|
9
|
+
NUMBER_OF_CYCLES = 20 # Number of time the first and second stage are repeated.
|
|
10
|
+
|
|
11
|
+
NUMBER_OF_STEP_IN_FIRST_STAGE = 10
|
|
12
|
+
FIRST_STAGE_THRUST_LENGTH = 15 # +/- 0 - 100
|
|
13
|
+
|
|
14
|
+
NUMBER_OF_STEP_IN_SECOND_STAGE = 5
|
|
15
|
+
SECOND_STAGE_THRUST_LENGTH = -15 # +/- 0 - 100
|
|
16
|
+
|
|
17
|
+
# Do not edit below this line.
|
|
18
|
+
um = UMP.get_ump()
|
|
19
|
+
|
|
20
|
+
um.call(
|
|
21
|
+
"um_take_jackhammer_step",
|
|
22
|
+
c_int(DEVICE_ID),
|
|
23
|
+
c_char(AXIS),
|
|
24
|
+
c_int(NUMBER_OF_CYCLES),
|
|
25
|
+
c_int(NUMBER_OF_STEP_IN_FIRST_STAGE),
|
|
26
|
+
c_int(FIRST_STAGE_THRUST_LENGTH),
|
|
27
|
+
c_int(NUMBER_OF_STEP_IN_SECOND_STAGE),
|
|
28
|
+
c_int(SECOND_STAGE_THRUST_LENGTH),
|
|
29
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.1.3"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.1.2"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|