History

 Jan   February 2012   Mar

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
26272829 
SVTechie ESL

Syndicate

Advertisements

Health Stats Python Script PDF Print E-mail
Tuesday, 02 December 2008

Been awhile since I posted anything, but I have been busy. Anyway... I wrote a small script to do some basic health calculations. This script can be used as a module or stand alone. Functions so far.

BMI (Body mass index)

BMR (Basal metabolic rate), RMR (Resting metabolic rate), and TDEE (Total daily energy expenditure)

Maximum Heart Rate

Reserve Heart Rate

Target Heart Rate, both Karvonen and Zoladz methods

and also includes some basic conversions.

Convert height (feet and inches) to cm

Convert height (feet and inches) to inches

Convert weight (lbs) to kilo

TEF (Thermic Effect of Food)

Calories per day to fat per day  

DOWNLOAD Version 0.2 (GPL License)

Problems, complaints, or comments? Send me a message in contact section. I am not 100% sure on all the calculations, but they vary so much from every source I've looked at. Any accurate corrections will be greatly appreciated.  For usage you can run the program as is to see the results, pretty self explanatory by looking at the code. Enjoy

 
< Prev   Next >
Images ©Copyright 2009-2011 C. Nichols. Hosting by Dreamhost

download joomla cms download joomla cms