EMG Dataset and Processing Scripts for the Impriming Study (Pre-Publication Archive)
收藏资源简介:
# EMG Preprocessing and Visualization – IMPRIMING Study This repository contains raw and preprocessed electromyography (EMG) data, as well as scripts used for signal preprocessing and graphical illustration for the *IMPRIMING* project. --- ## Repository Contents ### 1. `***_raw.zip`- Contains the original `.csv` files recorded during the study for the different tasks (1RM, 5RM, endurance).- Each file corresponds to a single acquisition for one participant and includes three muscle channels: - **Vastus Medialis** - **Vastus Lateralis** - **Semitendinosus** NB. 1RM corresponds to maximal squat jumps. ### 2. `data_analysis_ready.csv` - Contains the anonymized analysis-ready dataset used in the manuscript.- Includes participant characteristics, group allocation, sex, body mass, height, maximal squat performance, MIQ-3 scores, subjective ratings, leg-extension power output, time-to-failure performance, and EMG-derived variables.- EMG variables include integrated EMG values for the vastus medialis, vastus lateralis, and semitendinosus muscles, together with normalized muscle-specific values and the normalized agonist-to-antagonist activity ratio.- Repeated-measures variables identify subject, session, set, and trial structure for the 5RM and time-to-failure analyses. ### 3. `scripts_R.zip`- Contains R scripts used for EMG preprocessing and graphical illustration: - `emg_preproc.R`: filters, rectifies, and extracts the EMG envelope. - `emg_graph.R`: generates ggplot2-based illustrations of raw and processed signals. ### 4. `biosignalemg_citation.bib`- BibTeX citation for the **biosignalEMG** R package used for signal processing. --- ## Signal Processing Workflow The preprocessing follows this sequence:1. **DC bias removal**2. **Band-pass filtering**: 20 Hz (high-pass) and 300 Hz (low-pass)3. **Full-wave rectification**4. **Envelope extraction** using a moving average (`window = 60` samples at 1926 Hz) --- ## Dependencies R (≥ 4.0) with the following packages:- [`biosignalEMG`](https://cran.r-project.org/package=biosignalEMG)- `ggplot2`- `gridExtra` To install: ```rinstall.packages(c("biosignalEMG", "ggplot2", "gridExtra"))



