pub fn compute_weekly_heatmap(
samples: &[SleepNightSample],
target_min: f64,
) -> SleepHeatmapReportExpand description
Build a 7-cell heatmap from the most recent samples (newest last).
pub fn compute_weekly_heatmap(
samples: &[SleepNightSample],
target_min: f64,
) -> SleepHeatmapReportBuild a 7-cell heatmap from the most recent samples (newest last).