Skip to content

Switch carb absorption model to Parabolic#2

Merged
Rdeboer180 merged 1 commit intoRdeboer180-patch-ATfrom
work/initial-setup
Apr 15, 2026
Merged

Switch carb absorption model to Parabolic#2
Rdeboer180 merged 1 commit intoRdeboer180-patch-ATfrom
work/initial-setup

Conversation

@Rdeboer180
Copy link
Copy Markdown
Owner

Summary

  • Change default carbohydrate absorption model from PiecewiseLinear to Parabolic (Scheiner GI curve)
  • This provides a smoother, more natural glucose spike curve that better matches physiological carbohydrate absorption

Details

Updated CarbStore.swift in LoopKit submodule to use ParabolicAbsorption() instead of PiecewiseLinearAbsorption().

The parabolic model creates:

  • A gentler initial rise (vs. aggressive two-phase spike)
  • More natural peak curve
  • Smoother decline after peak

Testing

  • Review glucose prediction outputs with real patient data
  • Compare spike profiles before/after for accuracy
  • Validate against continuous glucose monitor readings

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@Rdeboer180 Rdeboer180 merged commit cd4feee into Rdeboer180-patch-AT Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant