Sweep Plaback

An algorithm to play back an UltrasoundSweep as separate ImageStream and TrackingStream. This algorithm enables replaying a recorded UltrasoundSweep as if it were live.

This is specially useful to simulate scenarios where one does not have access to the hardware, but would still want to have input streams as if were coming from live hardware.

Input

The algorithm requires an UltrasoundSweep as input.

Output

An ImageStream and a TrackingStream playing back the sweep frames synchronously.

Description

After running the algorithm, the ImageStream and TrackingStream will start playing back immediately. The streams will loop around when the frames end.

The algorithm controller has the follwing widgets:

  • Playback Speed: slider controls the playback speed.

  • Jump to focus: makes the stream start at the focus frame in the input sweep.

  • Play/Pause: sets both streams to playing or paused, similary to the StreamControls

../../_images/sweep_playback.png