pvsfreeze

pvsfreeze —
Freeze the amplitude and frequency time functions of a pv stream according to a control-rate
trigger.

Description

This opcodes 'freezes' the evolution of pvs stream by locking into steady amplitude and/or
frequency values for each bin. The freezing is controlled, independently for amplitudes and
frequencies, by a control-rate trigger, which switches the freezing 'on' if equal to or above
1 and 'off' if below 1.

Syntax

fsig pvsfreeze fsigin, kfreeza, kfreezf

Performance

fsig -- output pv stream

fsigin -- input pv stream.

kfreeza -- freezing switch for amplitudes. Freezing is on if above or equal to 1 and off if below 1.

kfcf -- freezing switch for frequencies. Freezing is on if above or equal to 1 and off if below 1.

Warning

It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode.