Skip to content

BMClab/HDsEMGbias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HD-sEMG decomposition bias Analysis

Python NEURON

👥 Contributors

  • Renato Watanabe
  • Rebeka Batichotti
  • Marcos Duarte

📋 Overview

A computational model for motoneuron simulation.

⚙️ Setup Environment

1. Install uv (Dependency Manager)

Get the latest version of uv from the official documentation.

💻Windows Installation
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
🐧 Linux/MacOS Installation
curl -LsSf https://astral.sh/uv/install.sh | sh

2. Install Dependencies

uv sync

2.1 Windows NEURON Installation

Important

On Windows, NEURON must be installed separately as it cannot be installed via pip.

Configure the PYTHONPATH environment variable for your IDE:

IDE Configuration
VSCode PYTHONPATH environment variable preset automatically
Others Set PYTHONPATH to: C:\nrn\lib\python

📝 Run Marimo Notebooks

uv run marimo edit NOTEBOOK_NAME.py

Diabetes neuropathy codes and results in diabetes folder

Place the results folder with the data inside the diabetes folder

Simulations can be run with the following command:

./run_trials.sh

The marimo notebook for analysis can be run with the following command:

uv run marimo edit diabetes/analysis.py

About

Study of HD-sEMG decomposition bias

Resources

License

Stars

Watchers

Forks

Contributors