Comments (7)
Im not super sure what you are refering too, if you want to paste your print line here I may be able to help more. But anticipate the raw value to bg conversion to be around ((raw/100)*1.05) - 28 or so, these numbers depend on the age of your sensor and the sensor itself, this is why a calibration algorithm is needed
from wixel-xdrip.
Those were the print lines! Just added a field, and put the actual value to
the left of the colon. Where did you get that fit? Where can I find the
calibration algorithm? Is it in the xDrip source?
On Monday, June 8, 2015, Stephen Black [email protected] wrote:
Im not super sure what you are refering too, if you want to paste your
print line here I may be able to help more. But anticipate the raw value to
bg conversion to be around ((raw/100)*1.05) - 28 or so, these numbers
depend on the age of your sensor and the sensor itself, this is why a
calibration algorithm is needed—
Reply to this email directly or view it on GitHub
#34 (comment)
.
from wixel-xdrip.
xdrip has its own algorithm that can be found in the calibration model, its a weighted least squares linear regression (weights are age of calibration(linear but should be exponential in the future), sensor confidence(parabolic) and slope confidence(linear)), its split up using LaGrange interpolation because Its the only way I could figgure to write it out in java
from wixel-xdrip.
So raw/1000 is always used, but the coefficients (1.05 and -28) are calculated for the individual using least squares. It's usually a linear fit then? Or did you say exponential was better?
from wixel-xdrip.
Also, is the 1.05, -28 the inital approx, for low numbers of values?
from wixel-xdrip.
yeah I always divide by 1000 first to get the numbers more familiar, but you dont have to, you could just have your slope account for that.
I find there is some curvature at the higher end but its fairly linear, and yeah the 1.05 and the -28 are just rough approximations, a slope of around 1 is fairly common and -30ish seems to be the default intercept, though its not always a good fit, its a good way to estimate if you dont have any calibration data yet
from wixel-xdrip.
I can't believe I thought I would avoid using statistics in this project of mine :) Thanks, you've been helpful as always.
from wixel-xdrip.
Related Issues (20)
- Buffer missed packets HOT 5
- Disable usb support if usb is unplugged HOT 1
- Port wixel-DexDrip onto Android phone's native bluetooth chip... HOT 9
- Where is the wixel in the data abstraction? HOT 2
- BLE stopped working HOT 4
- What are acceptable values of the elements of Dexcom_packet? HOT 6
- fault during compiling apps in command prompt HOT 2
- Voltage mensurement not showing on Nightscout HOT 36
- Dexcom transmission HOT 2
- A little guidance? HOT 4
- Cant pair with bluetooth HOT 7
- xdrip usb only HOT 1
- sdcc El Capitan
- Help with Wixel app HOT 6
- Compile Issue HOT 5
- Caching sensor readings
- Parakeet - data roaming problem
- MAKE error
- thanks for the setup steps HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wixel-xdrip.