perceptus / glucosym Goto Github PK
View Code? Open in Web Editor NEWGlucoSym is an open-source simulator aimed to help in the testing and development of insulin delivery automation systems.
Home Page: http://perceptus.org
GlucoSym is an open-source simulator aimed to help in the testing and development of insulin delivery automation systems.
Home Page: http://perceptus.org
We should be able to modify and set this time on a post request...
The issue is also at the patient set level on "patient_parameters" variable
I would expect the following json to start BG to start rising well after 25 minutes. length
doesn't seem to have an impact either.
{ "index": 0, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 25, "amt": 100, "length": 10 }] } }
{ "index": 1, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 2, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 3, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 4, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 5, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 6, "time": 60, "dt": 5, "dose": 0.0, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
Here's the output:
I would expect the following JSON
{ "index": 0, "time": 60, "dose": 0.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 100, "length": 10 }] } }
{ "index": 1, "time": 60, "dose": 0.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 2, "time": 60, "dose": 5.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 3, "time": 60, "dose": 0.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 4, "time": 60, "dose": 0.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ "index": 5, "time": 60, "dose": 0.0, "dt": 10, "events": { "carb": [{ "start": 0, "amt": 0, "length": 0 }] } }
{ }
to result in a graph with 60 minutes on the x axis. Have I misunderstood something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.