Hello, 2011/8/14 David García Granda <dgra...@gmail.com>
> Sure, I fully agree, but until we have this formula, I would rely on > end users the task of finding the right one ;) > I am not sure if this is very reliable and will provide accurate results. I found tables with MET values for running and cycling at different speeds: https://sites.google.com/site/compendiumofphysicalactivities/Activity-Categories/running https://sites.google.com/site/compendiumofphysicalactivities/Activity-Categories/bicycling > >From your comment I think I didn't explain it well: my proposal is to > have a default one for each sport as it is now, but add the chance for > end user to introduce a customized (by him/herself) MET value when > calculating calories (default way is relying on what ir comes from the > HRM) so pytrainer does calculation based in the value entered for the > session. > I understand what you mean. The above cited documents indicate clearly how the MET depends on the speed. So in my opinion one should take into account at least the average speed of an activity. I think it depends on accuracy: is it your gps receiver accurated > enough?. I agree we should try to be as much accurated as possible. > What do you mean by accurate enough? What matters is the average speed and (when taking this into account) the heights (in fact, only the differences). You are already calculating average speeds in pytrainer. For the first approximation (ignoring the incline), this value could be used. > > I think it should not be too complex to implement once one knows a > formula > > for the MET depending for example on speed and incline (and these can be > > calculated from the GPS data). A quick search provided this: > > http://www.exrx.net/Calculators/WalkRunMETs.html > > > > This calculator demonstrates also that MET depends on speed and incline > > (grade). > > > > There is no formula written there, but it can be derived from the > JavaScript > > code. I did not check the references he provides. Maybe a formula can be > > found there. > > It would be great if you can provide mentioned formula. > I could. But there are some coefficients, which I do not know what they mean. Probably they are related to different systems of units (miles/km, etc.). If not really understanding such a formula, I would prefer not to introduce it into a software. I propose to ask the author of this website for a reference. Best regards, skew41
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel