Fix RTA peak hold and FFT band energy
This commit is contained in:
@@ -22,6 +22,9 @@ const forced = context.buildRtaRuntimeConfig({
|
||||
RTA_FREQ_RANGE: 'lf',
|
||||
RTA_IIR_ORDER: 2,
|
||||
RTA_DETECTOR: 'peak',
|
||||
RTA_PEAK_HOLD_MODE: 'manual',
|
||||
RTA_PEAK_HOLD_SEC: 4,
|
||||
RTA_PEAK_RESET_TOKEN: 9,
|
||||
CORR_RESPONSE_S: 2.5,
|
||||
CORR_RESET_TOKEN: 7,
|
||||
XY_POINTS: 256,
|
||||
@@ -31,6 +34,9 @@ assert.equal(forced.bpo, '1_12');
|
||||
assert.equal(forced.freqRange, 'norm');
|
||||
assert.equal(forced.order, 6);
|
||||
assert.equal(forced.detector, 'peak');
|
||||
assert.equal(forced.rtaPeakHoldMode, 'manual');
|
||||
assert.equal(forced.rtaPeakHoldSeconds, 4);
|
||||
assert.equal(forced.rtaPeakResetToken, 9);
|
||||
assert.equal(forced.tauFast, 0.125);
|
||||
assert.equal(forced.rtwCenters.length, 121);
|
||||
assert.equal(forced.correlationResponseS, 2.5);
|
||||
|
||||
Reference in New Issue
Block a user