CosineGenerator

class lsst.ts.simactuators.CosineGenerator(center_positions: Sequence[float], amplitudes: Sequence[float], max_speeds: Sequence[float], advance_time: float = 0.1, nextra: int = 5)

Bases: object

Attributes Summary

duration

Methods Summary

__call__()

Generator of positions, velocities and time.

Attributes Documentation

duration

Methods Documentation

__call__() Generator[Tuple[ndarray, ndarray, float], None, None]

Generator of positions, velocities and time.

Returns
* positionsnumpy.ndarray

Position of each axis at tai_time.

* velocitiesnumpy.ndarray

Velocity of each axis at tai_time.

* tai_timefloat

Current time + advance_time (TAI unix seconds).