Skip to main content

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)

  1. Open terminal as administrator
  2. Run on terminal uv: curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" (Windows)
  3. Install virtual environment : run in terminal uv venv si_env --python 3.12
  4. Restart your terminal
  5. Allow script execution : run in terminal Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
  6. Activate virtual environment: run in terminal source si_env/bin/activate (macOS/Linux) or si_env\Scripts\activate (Windows)
  7. Install library : run in terminal uv pip install electric-stimulation

Run application

  1. Allow script execution : run in terminal Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
  2. Activate virtual environment: run in terminal source si_env/bin/activate (macOS/Linux) or si_env\Scripts\activate (Windows)
  3. Run in terminal trigger-generator

Build a standalone executable (Windows: .exe, macOS/Linux: binary):

  1. Allow script execution : run in terminal Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
  2. Activate virtual environment: run in terminal source si_env/bin/activate (macOS/Linux) or si_env\Scripts\activate (Windows)
  3. Using the command-line terminal, navigate to the folder where you want the .exe file to be located.
  4. Build the executable in currentfolder/dist : run in terminal trigger-generator-build

The executable will be in dist/ (in the current directory).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

electric_stimulation-0.3.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

electric_stimulation-0.3.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

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

Hashes for electric_stimulation-0.3.1.tar.gz
Algorithm Hash digest
SHA256 25b4e5c16582359f191dce0ec11acde803ba8ff5967ff4d5aa999e83cdb1f551
MD5 893663751dc04df0d7aa2a1ab95fbf14
BLAKE2b-256 305f10db4a88ded8e66a841c959892c847256b9479573faf037da5e7607e9811

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file electric_stimulation-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for electric_stimulation-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d13b55a2d02597f73c8bffeaa4166817c7df2080db7634b7177853b75704ec6a
MD5 0d1ad99fe55b0a17624ac0c3eaaf3b36
BLAKE2b-256 f43e9ab0367b7afbbd7032bcba588eb50deb72e922420a792ddcc2d04633870c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page