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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypermod-1.0.3.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pypermod-1.0.3.tar.gz
Algorithm Hash digest
SHA256 144b8c1bb90b0c92c693a2c0e008db7bab02f14bb16ef4a7c2aa49426f246217
MD5 a1ce42470a7258790440883c7d07f24b
BLAKE2b-256 62c90ab0586f7700cf9ed594183b0cb2541898dca69479222ed48876078b5f5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypermod-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pypermod-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c79c7d0ed3a104c30429f42d95f1e332a29db1aec30da99d62a57dae564a653c
MD5 93802a2b7120d16ad862aa8a6acf74f6
BLAKE2b-256 71c638224365ee6d04cc744fa05fa6a1c19ce5d178cc927fdd371004ad32cd3e

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