#cycling #zone #power #calculating #formula #hunter #allen

powerzones

A utility library for calculating cycling power zones using Hunter Allen's formula

1 unstable release

0.1.0 Nov 5, 2022

#25 in #calculating

27 downloads per month

MIT license

4KB

powerzones

A utility library for calculating cycling power zones using Hunter Allen's formula.

Usage

Add this to your Cargo.toml:

[dependencies]
powerzones = "0.1.0"

Example

let ftp: u32 = 200;
let zones = calc_power_zones(ftp);

Tests

cargo test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

Powerzones is distributed under the terms of the MIT license.

Dependencies

~0.4–1MB
~24K SLoC