FFT

This model shows the use of background process for long running tasks in the TM domain. There are two composite actors in this model, both implemented in SDF. One of them, the signal generator, has a short execution time, and is treated as an atomic execution. The other, implementing the FFT algorithm, has a long execution time, and is executed in a separate thread.

The FFT diagram model can be created in the Ptolemy II schematic editor called Vergil, as shown below:

The inside of the Atomic Composite Actor (Noisy Sine) is show below:

The inside of the TMCompositeFacade (FFT) is show below: