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
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
- * positions
numpy.ndarray
Position of each axis at tai_time.
- * velocities
numpy.ndarray
Velocity of each axis at tai_time.
- * tai_time
float
Current time + advance_time (TAI unix seconds).
- * positions