NI-DAQmx trigger generator for electrical stimulation with PyQt5 GUI
Project description
Electric stimulation
GUI to generate and modify a electric trigger send to a national instrument wich converts this to a electric stimulation signal designed for neurostimulation with a micro-electrode array.
Multi-platform: Windows, macOS, Linux.
The library is available on PyPI.
Installation (PyPI)
- Open terminal as administrator
- Run on terminal uv:
curl -LsSf https://astral.sh/uv/install.sh | sh(macOS/Linux) orpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"(Windows) - Install virtual environment : run in terminal
uv venv si_env --python 3.12 - Restart your terminal
- Allow script execution : run in terminal
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned - Activate virtual environment: run in terminal
source si_env/bin/activate(macOS/Linux) orsi_env\Scripts\activate(Windows) - Install library : run in terminal
uv pip install electric-stimulation
Run application
- Allow script execution : run in terminal
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned - Activate virtual environment: run in terminal
source si_env/bin/activate(macOS/Linux) orsi_env\Scripts\activate(Windows) - Run in terminal
trigger-generator
Build a standalone executable (Windows: .exe, macOS/Linux: binary):
- Allow script execution : run in terminal
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned - Activate virtual environment: run in terminal
source si_env/bin/activate(macOS/Linux) orsi_env\Scripts\activate(Windows) - Using the command-line terminal, navigate to the folder where you want the .exe file to be located.
- Build the executable in currentfolder/dist : run in terminal
trigger-generator-build
The executable will be in dist/ (in the current directory).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file electric_stimulation-0.3.1.tar.gz.
File metadata
- Download URL: electric_stimulation-0.3.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25b4e5c16582359f191dce0ec11acde803ba8ff5967ff4d5aa999e83cdb1f551
|
|
| MD5 |
893663751dc04df0d7aa2a1ab95fbf14
|
|
| BLAKE2b-256 |
305f10db4a88ded8e66a841c959892c847256b9479573faf037da5e7607e9811
|
Provenance
The following attestation bundles were made for electric_stimulation-0.3.1.tar.gz:
Publisher:
publish_pypi.yml on Wireless-Neural-Interface-Team/electric_stimulation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
electric_stimulation-0.3.1.tar.gz -
Subject digest:
25b4e5c16582359f191dce0ec11acde803ba8ff5967ff4d5aa999e83cdb1f551 - Sigstore transparency entry: 1262674902
- Sigstore integration time:
-
Permalink:
Wireless-Neural-Interface-Team/electric_stimulation@50e71e0af5abaf51133268b81f6bfb9a90d2a03a -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Wireless-Neural-Interface-Team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@50e71e0af5abaf51133268b81f6bfb9a90d2a03a -
Trigger Event:
release
-
Statement type:
File details
Details for the file electric_stimulation-0.3.1-py3-none-any.whl.
File metadata
- Download URL: electric_stimulation-0.3.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d13b55a2d02597f73c8bffeaa4166817c7df2080db7634b7177853b75704ec6a
|
|
| MD5 |
0d1ad99fe55b0a17624ac0c3eaaf3b36
|
|
| BLAKE2b-256 |
f43e9ab0367b7afbbd7032bcba588eb50deb72e922420a792ddcc2d04633870c
|
Provenance
The following attestation bundles were made for electric_stimulation-0.3.1-py3-none-any.whl:
Publisher:
publish_pypi.yml on Wireless-Neural-Interface-Team/electric_stimulation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
electric_stimulation-0.3.1-py3-none-any.whl -
Subject digest:
d13b55a2d02597f73c8bffeaa4166817c7df2080db7634b7177853b75704ec6a - Sigstore transparency entry: 1262674923
- Sigstore integration time:
-
Permalink:
Wireless-Neural-Interface-Team/electric_stimulation@50e71e0af5abaf51133268b81f6bfb9a90d2a03a -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/Wireless-Neural-Interface-Team
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yml@50e71e0af5abaf51133268b81f6bfb9a90d2a03a -
Trigger Event:
release
-
Statement type: