Skip to content

jpequegn/PDC-Utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDC-Utils

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