Skip to main content

A performance modeling package that provides various tools to predict energy expenditure and recovery dynamics of an athlete

Project description

pypermod

PyPI

This python package provides various tools to predict energy expenditure and recovery dynamics of an athlete. The name pypermod stands for Python Performance Modeling.

More details on the purpose of this package can be found in our manuscript A hydraulic model outperforms work-balance models for predicting recovery kinetics from intermittent exercise. You can find the preprint on arXiv.

You may also want to check our detailed video presentation at STARS.

If you make use of this project, we would be grateful if you star the repository and/or cite our paper.

@misc{weigend2021hydraulic,
      title={A hydraulic model outperforms work-balance models for predicting recovery kinetics from intermittent exercise}, 
      author={Fabian C. Weigend and David C. Clarke and Oliver Obst and Jason Siegler},
      year={2021},
      eprint={2108.04510},
      archivePrefix={arXiv},
      primaryClass={cs.OH}
}

Setup

If you aim to use the package for your own analysis you may want to install it via pip3 install pypermod without the need for a manual download.

If you aim to work on the source code you may clone the GitHub_repository. You can install the files from the repository by running pip3 install -e <path_to_project_root>.

Usage

Please see the scripts in the example_scripts folder of our GitHub_repository for example applications on how to use the package. Three types of example scripts are available:

Compare to Data

Scripts that have a name that starts with compare recreate comparison plots of the manuscript. You may use them to investigate the data we extracted from other studies or to see examples for how to use pypermod agents to predict recovery ratios.

Fitting Tau

Scripts that have a name that starts with fitting recreate the fitting process of time constants for W'bal-weig and Chidnok comparisons in our manuscript. You may use them to further investigate our approaches to derive these time constants and how fitted models perform.

Simulate

Scripts that have a name that starts with simulate use one or several models to simulate energy dynamics of an athlete during exercise. Use these scripts as examples for how to use pypermod for predictions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypermod-1.0.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

pypermod-1.0.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file pypermod-1.0.1.tar.gz.

File metadata

  • Download URL: pypermod-1.0.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pypermod-1.0.1.tar.gz
Algorithm Hash digest
SHA256 97d1c24abd0a796097816a54c7f83da31a47ec434de529852e5c3e9646a71625
MD5 90a6ae21ced13d8bbcf3e9cc4ace8f0e
BLAKE2b-256 51792efcd273a4d48688a2ecc0589af95d1f6e35de9a510c7fe2947fb4bac468

See more details on using hashes here.

File details

Details for the file pypermod-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pypermod-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for pypermod-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd81a5201e4df8bbbffeb1c77c56ce9cbed48f8ad1b48f0240a32a6c53a48736
MD5 0ec74390eda01e30ebc45c35ce33f8e2
BLAKE2b-256 658508e1ab850f4a5f66a8acfba6308b754baab7ae36541addda1599a9560616

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page