FourierSeries

class lsst.ts.mthexapod.FourierSeries(coeffs: list[float])

Bases: object

A real-valued Fourier series.

The equation is:

f(angle) = C0 + C1 sin(angle) + C2 cos(angle)
           + C3 sin(2 angle) + C4 cos(2 angle) + ...
Parameters:
coeffslist [float]

Polynomial coefficients C0, C1, …

Methods Summary

__call__(angle)

Compute the value of the function.

Methods Documentation

__call__(angle: float) float

Compute the value of the function.

Parameters:
anglefloat

Angle, in degrees.