Curve editor fitting

Select an option from the Curve Editor tab > Edit panel> Curve Fitting menu to convert the selected curve segments to a specific type of curve: