PDC-Utils

Utilities to manage power duration curves

Fitting algorithm for running or cycling power data

Install

pip install PDC_Utils

How to use

Uses a MMP curve based on best power efforts. An example of such input is in the data directory

df = pd.read_csv("../data/mmpcurve.csv")
pdc = PDC(df['Secs'], df['Watts'])
result = pdc.fit()
result.best_values['ftp']
247.97104270072407