Hi Hans,

> Hi pytrainer developers,
>
> I am a new user of pytrainer and I like what I see this far. However,
> I stumbled across a rather weird calorie counting result, which I
> wanted to report back to you.

Thanks for feedback and sorry for not showing up earlier.

> I use the version of pytrainer that comes with Debian (stable), 1.7.2
> that is.

Great. Just to let you know, there has been lot of changes, fixes and
improvements since 1.7.2 was released (16 months ago).

> I have set the MET of bicykling to 9.0 after considering
> https://sites.google.com/site/compendiumofphysicalactivities/Activity-Categories/bicycling
>
> However, the MET value is not per training session but per sport, which is 
> problematic.

That's right. To be honest it looks pretty complex to change MET's
value according how hard sessions are, not really sure which way to go
in order to overcome the issue...

> Another problem is that the calorie counter function seems to use the
> total time, not excluding pauses recorded by Forerunner 305.

For tracking purposes, following link leads to how Calories (kcal) are
currently calculated in pytrainer:
http://sourceforge.net/apps/trac/pytrainer/browser/pytrainer/trunk/pytrainer/gui/windowrecord.py#L647

> When I compare the calorie counts of two training sessions, I got weird 
> results:
>
> Case 1. bicykling, duration 1:42, 44 km, average pulse rate 144 => 594 Cal
> Case 2. bicykling, duration 2:32, 39 km, average pulse rate 130 => 1188 Cal
>
> Case 2 had a reported total time of 1:55 according to Forerunner 305.
>
> 1. Is the duration problem due to my use of garmin-forerunner-tools as
> import plugin? Should I use something else instead?

I would say the issue is not on your side, but on pytrainer's one. As
far as I understand the way Calories are being calculated (see link
above), it takes the complete activity duration and this is not
correct.

Newer versions do show workout's status in register tab
("active/paused" I guess, not sure since I have it ES localized) so it
shouldn't be too difficult to retrieve those values and compute more
accurated energy value.

> 2. It seems as if the average pulse rate is not taken into account
> when the Calories are calculated, but why is that?

To be honest, I don't know. I guess somehow pulse should be included
in MET when calculating energy using basic formula, but as we have
just one MET per sport so far, then it would be congruent to have
another variable to stress intensity. Any ideas or written literature
about how to tune MET based in average heartbeat? I think it would be
the simplest approach here.

> I don't want to sound ungrateful, but rather I would like to enhance
> the program by reporting back.

No worries, not at all. Feedback and improvements are always welcome;
problem is lack of time to implement everything besides coding skills!
;)

> Thanks for pytrainer and kind regards,

Thanks again for your comments and for using pytrainer.

Best regards,

David

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to