# Post-stroke Cylinder Rearing Dataset
## Overview
This dataset includes longitudinal data from 59 mice assigned to four drug treatment groups, assessed at five timepoints: baseline (pre-treatment), maximal deficit (post-stroke 48 hours), and weeks 2, 4, and 8 post-treatment. Designed to evaluate drug efficacy over time, the dataset captures functional or physiological changes across stroke acute and recovery phases via the behavioral test of cylinder rearing.
The dataset contains video recordings of the experiments along with frame-by-frame annotation scores.
## Directory Structure and File Contents
The dataset is organized as a single directory structure.
### Root Directory files
* `all_scores.csv`: Aggregated frame-based (consecutive) scores for all recordings.
* `all_scores_nonconsecutive.csv`: Aggregated event-based (nonconsecutive) scores for all recordings.
* `drug_group_assignments.csv`: Assignments of each mouse (identified by eartag) to their respective treatment group.
### Subdirectories
The data is further organized into subdirectories based on timepoints and mouse IDs following the pattern: `dataset/[timepoint]/[eartag]/`
**Timepoint Abbreviations:**
* `bsl`: Baseline (pre-treatment)
* `md`: Maximal deficit (48 hours post-stroke)
* `wk2`: 2 weeks post-treatment
* `wk4`: 4 weeks post-treatment
* `wk8`: 8 weeks post-treatment
**File Contents per Directory:**
* `[timepoint]_[eartag].mp4`: The video recording of the cylinder rearing test (capped at 5 minutes, 15 FPS).
* `[timepoint]_[eartag]_score.csv`: The annotation file for that recording.
## Data formats
### Score Files (.csv)
The score files contain the following columns:
* `label`: Frame-by-frame classification.
* `l`: Left paw usage.
* `r`: Right paw usage.
* `b`: Both paws usage.
* **n**: Neither (no contact/obstruction).
**In individual score files:**
The first two data rows provide summary statistics:
1. **Frame-based counts (1st data row):** The total number of frames assigned to each category.
2. **Event-based counts (2nd data row):** The number of distinct functional events (consecutive frames with the same label count as a single event).
### Drug Group Assignments
In `drug_group_assignments.csv`, the experimental groups are mapped as follows:
* **Vehicle**: Control (10 mL/kg 0.5% methylcellulose 400)
* **Zolpidem**: 30 mg/kg (GABA-A receptor agonist)
* **LEM10**: Lemborexant 10 mg/kg (Dual Orexin Receptor Antagonist)
* **LEM30**: Lemborexant 30 mg/kg (Dual Orexin Receptor Antagonist)
## Usage Notes
This dataset is intended to be used for ML model training on cylinder rearing recording to potentially address the problem of automated scoring.
## Citation
When using this resource, please cite:
Jiang, Y., Landsness, E., Jung, H. R., Venkitaraman, S., Blackwood, S., Lee, J., Ajay Jadav, A., Lee, D., & Kamal, A. (2026). Post-stroke Cylinder Rearing (version 1.0.0). *PhysioNet*.