Fitting algorithm for running or cycling power data
pip install PDC_Utils
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