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.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pypermod-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ec79096c0805ab39b468bfd675c104bb8045313e6470fe88f1e26d03268732cb
MD5 14fcf1b8b9de45d65eb33d393c2180e6
BLAKE2b-256 de92f36df24f9f528ab5da035069506d4fcc29d069ba74ec1fd06b1391a840d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypermod-1.0.0-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.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for pypermod-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4a1e89dd7194e97be805e903f5cce3ef35186bf3f81176fc80435838434c493
MD5 fd068137332a99e31becf633d4a630d6
BLAKE2b-256 d5742b48cb7ce6cc5ade7587b53092e3f0bfdb27964956632a96d1c275a2ce65

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