validation: add checkCounterSamples and verify capture up to 1024 frames on ZCU111
Created checkCounterSamples.m to validate sample continuity, counter wraps, and frame index progression. Verified counter bypass, sine bypass, and channelizer modes up to nFrames=1024 across 10 DPWs on ZCU111.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
%% =========================================================
|
||||
% Data
|
||||
% =========================================================
|
||||
X = single(complex_out.Data);
|
||||
X = single(raw_DPW.Data);
|
||||
X = X(:,:,2:end); % first DPW useless (zeroed)
|
||||
|
||||
%% =========================================================
|
||||
% Parameters
|
||||
@@ -72,7 +73,7 @@ title('3D FFT evolution');
|
||||
% Single frame debug (optional)
|
||||
% =========================================================
|
||||
figure;
|
||||
x_dbg = X(:,1,1);
|
||||
x_dbg = X(:,end,end);
|
||||
Xf_dbg = fftshift(fft(x_dbg));
|
||||
|
||||
plot(f_axis, 20*log10(abs(Xf_dbg)+1e-12));
|
||||
|
||||
Reference in New Issue
Block a user