FourierSeries#

class lsst.ts.mthexapod.FourierSeries(coeffs)#

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:

coeffs (list [float]) – Polynomial coefficients C0, C1, …

Methods Summary

__call__(angle)

Compute the value of the function.

Methods Documentation

__call__(angle)#

Compute the value of the function.

Parameters:

angle (float) – Angle, in degrees.

Return type:

float