Returns the best parameters (y_offset, amplitude, and phase) to a regular
sinusoidal function.
- Parameters:
- t
Iterable list of input values
- y0
float The midpoint of the sine curve
- A
float The amplitude of the sine curve
- per
float The period of the sine curve
- phi
float The phase angle of the sine curve
- Returns:
- sin_fit_per
list A list of sin curve values.