Update README.md

This commit is contained in:
2025-09-24 15:44:14 +00:00
parent c332161a5e
commit f8a60576e5

View File

@ -5,6 +5,30 @@
- `plot_meditation_data.py`: per-recording plots (raw + moving averages + segment boxplots) - `plot_meditation_data.py`: per-recording plots (raw + moving averages + segment boxplots)
- `aggregate_segments_analysis.py`: aggregate metrics/plots across recordings with exactly 4 marks (conditions) - `aggregate_segments_analysis.py`: aggregate metrics/plots across recordings with exactly 4 marks (conditions)
# Results
| Condition | HR (bpm) | RR (ms) | RMSSD (ms) |
|-------------------|----------|---------|------------|
| Breathing Scene 1 | 72.61 | 843.33 | 52.70 |
| Spring Scene | 72.33 | 860.78 | 56.95 |
| Summer Scene | 72.50 | 862.00 | 41.15 |
| Autumn Scene | 72.89 | 850.44 | 41.89 |
| Breathing Scene 2 | 73.78 | 839.94 | 42.59 |
## Plots
### Aggregate Boxplots
![HR Boxplot Across Conditions](Plots/Aggregate/HR_boxplot_conditions.png)
![RR Boxplot Across Conditions](Plots/Aggregate/RR_boxplot_conditions.png)
![RMSSD Boxplot Across Conditions](Plots/Aggregate/RMSSD_boxplot_conditions.png)
### Aligned Average Curves
![Aligned Average Heart Rate (HR)](Plots/Aggregate/HR_average_aligned.png)
![Aligned Average RR Interval](Plots/Aggregate/RR_average_aligned.png)
![Aligned Average RMSSD](Plots/Aggregate/RMSSD_average_aligned.png)
## How calculations are done ## How calculations are done
- HR and RR loading - HR and RR loading
@ -38,27 +62,3 @@
- Only recordings with exactly 4 marks are used. - Only recordings with exactly 4 marks are used.
- For each recording, durations of the five segments are measured; median segment proportions across recordings define a normalized 01 time axis with aligned boundaries. - For each recording, durations of the five segments are measured; median segment proportions across recordings define a normalized 01 time axis with aligned boundaries.
- Each recordings series is piecewise-linearly time-normalized to this axis, interpolated to a common grid, and then averaged (mean ± 1 SD). For RMSSD, a 30 s rolling RMSSD is used before alignment. - Each recordings series is piecewise-linearly time-normalized to this axis, interpolated to a common grid, and then averaged (mean ± 1 SD). For RMSSD, a 30 s rolling RMSSD is used before alignment.
# Results
| Condition | HR (bpm) | RR (ms) | RMSSD (ms) |
|-------------------|----------|---------|------------|
| Breathing Scene 1 | 72.61 | 843.33 | 52.70 |
| Spring Scene | 72.33 | 860.78 | 56.95 |
| Summer Scene | 72.50 | 862.00 | 41.15 |
| Autumn Scene | 72.89 | 850.44 | 41.89 |
| Breathing Scene 2 | 73.78 | 839.94 | 42.59 |
## Plots
### Aggregate Boxplots
![HR Boxplot Across Conditions](Plots/Aggregate/HR_boxplot_conditions.png)
![RR Boxplot Across Conditions](Plots/Aggregate/RR_boxplot_conditions.png)
![RMSSD Boxplot Across Conditions](Plots/Aggregate/RMSSD_boxplot_conditions.png)
### Aligned Average Curves
![Aligned Average Heart Rate (HR)](Plots/Aggregate/HR_average_aligned.png)
![Aligned Average RR Interval](Plots/Aggregate/RR_average_aligned.png)
![Aligned Average RMSSD](Plots/Aggregate/RMSSD_average_aligned.png)