The KiwiSDR 2 online store is open for orders! Please visit kiwisdr.nz
AGC control
what time constants does kiwirecorder uses for AGC when in IQ mode?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Kiwiclient (kiwirecorder et al) allows you to turn AGC on and use a fixed set of parameter values (set in the Python code) or turn AGC off and set a manual gain, all via the
--agc-gain (or -g) [gain]
argument. The fixed values as defined in the file kiwiclient/kiwi/client.py are: So Kiwiclient is using -100 dB as the threshold which is at odds with the current browser default. Although not with what some people may have it set to. There is for example no Kiwiclient--agc-threshold
argument, but it would be trivial to add. If you peruse the code you will see other references to "thresholds" but those are for NBFM squelch and RSSI thresholds.It looks like things are tailing for a few ten's of ms, not certain that this relates directly to your question exactly though.
Found it
var default_agc = 1;
var default_hang = 0;
var default_manGain = 50;
var default_thresh = -130;
var default_slope = 6;
var default_decay = 1000;
def set_agc(self, on=False, hang=False, thresh=-100, slope=6, decay=1000, gain=50):
So
set_agc(True)
corresponds to parameterson=True, hang=False, thresh=-100, slope=6, decay=1000, gain=50