|RESPITE: The CASA Toolkit Page: Documentation: Block Library Index:ImpulseWave|
ImpulseWave is a periodic signal generator block that generates a signal composed of regularly spaced impulses. There are 5 controlling parameters: SAMPLE_RATE, DURATION, FREQ, AMP and PHASE.
SAMPLE_RATE is in units of samples per second, DURATION is measured in seconds, FREQ in cycles per second and PHASE in radians. The impulses have an amplitude of +AMP, elsewhere the signal rests at 0. The initial PHASE is specified in radians where one complete cycle of the signal (i.e. the distance between the impulses) is 2 Pi radians (see diagram below).
|Inputs||Meaning||Sample||1-D frame||2-D frame|
|SAMPLE_RATE||Float||-||Number of samples per second|
|DURATION||Float||-||Duration in seconds of signal to generate|
|FREQ||Float||-||The frequency of the impulses|
|AMP||Float||1.0||The size of the impulse|
|PHASE||Float||0.0||The initial phase in radians - The first impulse occurs at 2Pi Radians|