====== Physiological monitoring ====== https://gist.github.com/rtrhd/6172344