Coder Social home page Coder Social logo

iob-calculator's Introduction

IOB-calculator

Simple app for calculating Insulin on Board.

Assumptions

Insulin activity data function is the function from Fiasp calculated in this thread LoopKit/Loop#388 (comment).

Technology and security

Site is static and saves everything locally in the device.

Disclaimer

Please use this just for demonstration purposes. This is not a medical software and should not be used in medical applications.

Demo

Hosted on https://iob.kalhama.fi/

IOB graph

IOB Graph

bolus calculator

Bolus calculator

Known issues

  1. Graph zoom doesn't work on mobile
  2. useIOBCurve vois laskee mieluummin minuutin etukätee ku et säädetään aikaa millon insuliini laitetaan siellä ja täällä
  3. there is slight jitter in graph when zooming in and out.
  4. Cant scroll main page sometimes
  5. there was bug in COB-plot at least once where plot jumped between 0 and actual balue

Roadmap

  1. BGPrediction refactoring
    • vähä harmittaa käyttää IOB ja COB, kun jos ennustusperiodin aikana jommassa kummassa on entry niin koko ennustus hyppää ihan pieleen
    • pitää miettii onks lineaarinen carb model oikeesti hyvä
    • olis cool ku bgpredictionis olis kolme käppyrää: insuliinille, carbeille ja yhteensä.
    • olis cool ku predictionin kellonajan voi valita. vois tarkastella esim ruokailun alkuajankohdasas ja todellisen BG kehitystä
  2. Main pagen työstö
    • Innovaatiota Loopista? ...
  3. Integrate BG from libre Network sync - hyvä puoli et voi droppaa localstoragen jollon datamigraatiot helpottuu ...
  4. When performing calculations option to consider BG to be past (like 15 mins) ...
  5. Data migrations
    • bolusReducer -> bolus
    • round all dates to 60 seconds
    • store data in redux in epoch

iob-calculator's People

Contributors

kalhama avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.