Weegit
Introduction
Weegit is a cross-platform desktop application for viewing and labeling electrophysiology data
(EEG, patch-clamp, multielectrode recordings, and similar signals).
It supports Windows, macOS, and Linux.
Weegit stores data in its own folder layout:
$EXPERIMENT_weegit
├── header.json
├── data
│ ├── sweep_00000
│ │ ├── 0.wsd
│ │ ├── ...
├── sessions
│ ├── $SESSION_NAME.json
├── add_ons
│ ├── data
│ │ ├── $ADD_ON_MODULE_NAME
Run GUI
weegit
Main Features
- Open and switch Weegit experiments/sessions.
- View traces with per-group and per-channel configuration.
- Navigate time windows and sweeps.
- Add, remove, and label events and periods.
- Manage event/period vocabularies (name + color).
- Apply channel-group filters (low/high/band-pass, notch, etc.).
- Install/update/uninstall add-ons and run runnable add-ons.
- Export screenshots to PNG/SVG (save to file or copy to clipboard).
Right Panel Forms
Signal Settings
Time Settings
Current sweepStart point indexDuration (ms)Time step (ms)Auto-scroll interval (ms)Number of dots
Channel Management
Channels mapping image:Attach linkAttach file
Create channel groupSet units(opens channel units dialog)
Per Channel Group
NameViewGroup height ratioNumber to show(for non-auxiliary groups)Auxiliary channelsGroup filters:- filter selector
- filter params (
Cutoff,Low cut,High cut,Order,Ripple,Notch,Q factor,Enabled) Disable all
- Group common style (for non-auxiliary groups):
ScaleY offsetColor
- Group actions:
ReorderEnable allDisable allMove selected to+ target group +Move
- Per channel row:
- enabled checkbox
- channel label
Infofield (for example, channel area)- for auxiliary groups: per-channel
Scale,Y,Color
Information
- One large text field:
Experiment description.
Logs
- Real-time app logs list.
Filterby log level:ALL,DEBUG,INFO,WARNING,ERROR,CRITICAL.Clearbutton.
Add-ons
For each add-on module:
ViewcheckboxTransformcheckboxRunbutton
Popup Dialogs and Fields
File and Session
Convert to Weegit:- detected source type
- for RHS: optional
Group all RHS files into one sweep - conversion confirmation
Session Name:Enter unique session name
Select session:- sessions list
OK/Cancel
Labeling and Vocabulary
Eventsdialog (event vocabulary manager):- table columns:
ID,Name,Color,Num in sweep,Num in sweeps - buttons:
Add,Remove,Select - rename in-place by editing
Name - color pick on
Colordouble-click
- table columns:
Periodsdialog (period vocabulary manager):- table columns:
ID,Name,Color - buttons:
Add,Remove,Select - rename in-place by editing
Name - color pick on
Colordouble-click
- table columns:
Channel Configuration
Header units management:- table:
Index,Channel,Units - bulk action:
Selected rows unit+Set - buttons:
Save changes,Cancel
- table:
Reorder channels:- drag-and-drop list
- manual input format:
1,10,12,14-18,20 Reorder,Cancel
- Channels mapping preview:
- opens image preview for attached mapping image.
Add-ons
Add-ons(index manager):- left list with install state + name
- metadata on right:
Module name,Version,Description,Author,Keywords,Links - actions:
Install/Uninstall,Update
Create add-on template(Add-ons > Create):[project] name[project] descriptionauthorsrows (name,email)- feature flags:
viewable,transformation,runnable - output is generated to
./add_on_development
Generate Python script(Add-ons > Generate script):Weegit folderSession nameOutput scriptInclude events blockInclude periods block
Export
Screenshot options:Image format(png/svg)Copy to clipboardorSave as file
Developers
Convert source data to Weegit format
from pathlib import Path
from weegit.converter.weegit_io import WeegitIO
path_to_parent = Path("/path/to/parent/dir")
exp_name = "20252222"
exp_dir = path_to_parent / exp_name
out_weegit_folder = path_to_parent / f"{exp_name}_weegit"
for progress in WeegitIO.convert_from_source_to_weegit(exp_dir):
print(f"\rProgress: {progress}%", end="", flush=True)
print("Created:", out_weegit_folder)
Supported import formats include old Weegit and Intan RHS (XDAQ).
Create add-ons from GUI
- Open Weegit.
- Go to
Add-ons > Create. - Fill:
- project metadata (
name,description,authors) - capability flags (
viewable,transformation,runnable)
- project metadata (
- Click
Generate template. - Implement add-on logic in generated
add_on_development/example.py. - Add metadata/entry point in generated
add_on_development/pyproject.toml.
Generate a script with current Weegit API
- Go to
Add-ons > Generate script. - Fill:
Weegit folder(*_weegit)Session name(without.json)- output
.pyfile path - optional blocks (
events,periods)
- Run generated script with the same Python environment where Weegit is installed.
Generated script demonstrates:
- loading experiment data through
WeegitSessionManager - reading raw channel slices from
data_memmaps[sweep_idx][channel_idx] - conversion to voltage values via
from_int16_to_voltage_val(...) - loading a GUI session via
UserSession.session_name_to_filename(...) - iterating events through
session.user_session.events_table - iterating periods through
session.user_session.periods
License
The code and data files in this distribution are licensed under the terms of
GNU General Public License v3, as published by the Free Software Foundation.
See GNU licenses.
Metadata
Release files for weegit 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weegit-0.1.7.tar.gz | 124.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weegit-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 265.8 kB
Release files / weegit-0.1.7.tar.gz
| Download URL | weegit-0.1.7.tar.gz |
|---|---|
| Size | 124.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
666d2bdd925b88c13f922a6b95f37dd3e8cff73082e2b732d10960b1a9f5d031
|
|
BLAKE2b-256 checksum How to use checksums |
7329cb3beaae726a9779af1780ef133f92b82288930a9353fa08cd17e8b5437e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.10
|
Release files / weegit-0.1.7-py3-none-any.whl
| Download URL | weegit-0.1.7-py3-none-any.whl |
|---|---|
| Size | 141.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aee87506007fc1a96a967165d1141ef53b5ea53e587e2cecde4d4c4994911527
|
|
BLAKE2b-256 checksum How to use checksums |
ba7071b5a88d9126ef46c2d646e9c2d2d053945afc5f8acb9522ec09f59ecd1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.10
|