corbolais / cms50dplus Goto Github PK
View Code? Open in Web Editor NEWThis project forked from atbrask/cms50dplus
Python code for downloading data from a Contec CMS50D+ pulse oximeter
License: BSD 2-Clause "Simplified" License
This project forked from atbrask/cms50dplus
Python code for downloading data from a Contec CMS50D+ pulse oximeter
License: BSD 2-Clause "Simplified" License
Contec CMS50D+ Pulse Oximeter Data Downloader ============================================= This python script can download both live data and recorded data from a Contec CMS50D+ pulse oximeter into a standard CSV file for further analysis. In live data mode the device will sample at 60 Hz. Each sample is saved to CSV along with the current wallclock time (in UTC). For recorded data you'll have to provide a start time as the device doesn't provide any historic timestamps at all. In this mode we assume a sample rate of 1 Hz. For more details, see my blog post at http://www.atbrask.dk/?p=244 History ------- 1.0 (2015-03-24) Uploaded initial version to GitHub 1.1 (2015-03-26) Added support for downloading recorded data 1.2 (2015-09-28) Added time column to output CSV for both modes Syntax ------ usage: cms50dplus.py [-h] [-s STARTTIME] {LIVE,RECORDED} serialport output cms50dplus.py v1.2 - Contec CMS50D+ Data Downloader (c) 2015 atbrask positional arguments: {LIVE,RECORDED} Specify LIVE for live data or RECORDED for recorded data. serialport The device's virtual serial port. output Output CSV file. optional arguments: -h, --help show this help message and exit -s STARTTIME, --starttime STARTTIME The start time for RECORDED mode data. Example ------- If you have the device connected as /dev/ttyUSB0 and want live data saved as foo.csv, then the program can be run like this: ./cms50dplus.py LIVE /dev/ttyUSB0 foo.csv Likewise for recorded data: ./cms50dplus.py RECORDED /dev/ttyUSB0 foo.csv -s "2015-01-01 12:34:56"
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.