Skip to content

GUI for the StimJim Open Source electrophysiology stimulator

License

Notifications You must be signed in to change notification settings

MarinManuel/StimJimGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StimJimGUI

GUI for the StimJim Open Source electrophysiology stimulator

The GUI offers two modes:

Simple Mode

Screenshot 2024-02-06 230855

In "Simple Mode", a rising pulse on TRIG0 triggers the output of a train of stimuli on OUT0, while a rising pulse on TRIG1 triggers OUT1. You can adjust the number and frequency of the output, as well as its intensity and duration of the pulses.

Bipolar mode

Checking the "bipolar checkbox" creates a bipolar pulse such as each stimulus is immediately followed by a stimulus of opposite amplitude. Both pulses have equal duration and their combined duration is equal to the pulse duration shown in the corresponding box.

Threshold

Amplitudes can be expressed in V or A (depending on the chosen output mode), or can be expressed relative to a "threshold" value. When the threshold amplitude as been measured, click on the threshold button, the value of the threshold amplitude now appear next to the button, and the pulse amplitude is expressed as a multiple of the threshold value (e.g. If the threshold were 200mV, 1.5 xT would correspond to a pulse 300 mV in amplitude)

"Full Mode"

Screenshot 2024-02-06 233854

In "Full Mode", all the settings can be freely adjusted as described in the StimJim Documentation

Screenshot 2024-02-06 230539

Usage

Installation

  1. Create a python environment using the requirements.txt file

Running

  1. Activate the environment
  2. Launch the GUI: python StimJimGUI.py The software attempts to detect the serial port automatically, but you can also specify the port to use using the --port command line argument

Other command line arguments:

usage: StimJimGUI [-h] [-p PORT] [-l LOG] [-v]

This software provides a graphical user interface for controlling a StimJim, an open source electrophysiology stimulator for physiology and behavior

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  the serial port used to communicate with the StimJim. If not provided, then the software will try to find the port automatically, and/or offer a choice of possible ports
  -l LOG, --log LOG     save the log file to file FILENAME
  -v, --verbose         increase verbosity of output (can be repeated to increase verbosity further)

Acknowledgments

scientific_spinbox.py is from pyqt-labutils

Icons by Icons8

About

GUI for the StimJim Open Source electrophysiology stimulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages