data: 增加814幅相相关测试数据,包括国产调零板的测试数据

This commit is contained in:
2024-11-14 18:03:29 +08:00
parent 8662ef0ed8
commit f3f1e44d41
447 changed files with 2862 additions and 0 deletions
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:03a99ac4456eaef04869b9416d6a2c6aee782cb9a7293c5317bb8a5015848fe6
3 size 553713
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:5d2a53da1fd413ecb5c59bb663c758f29cbe475bf38362e7bcc92e80f213a1f9
3 size 9489183
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:24590cdc8969ef8d93c4ef768fb63aa4351b1f0616e42515240746dfa87f81e1
3 size 40002
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2b2536694788ce3ca1ab40dd55f0e91426473e87b26e86badb408e7e4abbc945
3 size 1817670
@@ -0,0 +1,49 @@
rxRaw = readmatrix("iladata_rx.csv");
rx = [rxRaw(:, 4)+1i*rxRaw(:, 5),rxRaw(:, 6)+1i*rxRaw(:, 7),...
rxRaw(:, 8)+1i*rxRaw(:, 9),rxRaw(:,10)+1i*rxRaw(:,11)];
wx_16b = [-17479 + 27717i; 31421 - 3885i; 31472 + 3727i; -17615 - 27560i];
s = wx_16b'*rx.';
% plot(real(s))
streamRaw = readmatrix("iladata_weight.csv");
accor_stream_bit_num = (4*4*2+2)*32;
accor_stream_valid = streamRaw(:,5);
accor_stream_data = streamRaw(:,6);
weight_stream_data = streamRaw(:,7);
if (find(accor_stream_valid==1,1) == 1)
accor_stream_data_index = find(accor_stream_valid==1,2);
else
accor_stream_data_index = find(accor_stream_valid==1,1);
end
accor_stream_data_str = num2str(reshape(accor_stream_data((1:accor_stream_bit_num)+...
accor_stream_data_index-1),32,[])');
accor_stream_data_one_hop = zeros(1,32);
for i=1:32
tmp = bin2dec(erase(convertCharsToStrings(accor_stream_data_str(i+2,:))," "));
if (tmp >= 2^31-1)
accor_stream_data_one_hop(i) = tmp - 2^32;
else
accor_stream_data_one_hop(i) = tmp;
end
end
weight_stream_data_index = 1;
flag = 1;
while (flag)
weight_stream_data_str = num2str(weight_stream_data((1:32)+weight_stream_data_index-1)');
tmp = bin2dec(erase(convertCharsToStrings(weight_stream_data_str)," "));
if (tmp == hex2dec("7E7E7E7E"))
flag = 0;
else
weight_stream_data_index = weight_stream_data_index + 1;
end
end
@@ -0,0 +1,49 @@
rxRaw = readmatrix("iladata_rx.csv");
rx = [rxRaw(:, 4)+1i*rxRaw(:, 5),rxRaw(:, 6)+1i*rxRaw(:, 7),...
rxRaw(:, 8)+1i*rxRaw(:, 9),rxRaw(:,10)+1i*rxRaw(:,11)];
wx_16b = [-17479 + 27717i; 31421 - 3885i; 31472 + 3727i; -17615 - 27560i];
s = wx_16b'*rx.';
% plot(real(s))
streamRaw = readmatrix("iladata_weight.csv");
accor_stream_bit_num = (4*4*2+2)*32;
accor_stream_valid = streamRaw(:,5);
accor_stream_data = streamRaw(:,6);
weight_stream_data = streamRaw(:,7);
if (find(accor_stream_valid==1,1) == 1)
accor_stream_data_index = find(accor_stream_valid==1,2);
else
accor_stream_data_index = find(accor_stream_valid==1,1);
end
accor_stream_data_str = num2str(reshape(accor_stream_data((1:accor_stream_bit_num)+...
accor_stream_data_index-1),32,[])');
accor_stream_data_one_hop = zeros(1,32);
for i=1:32
tmp = bin2dec(erase(convertCharsToStrings(accor_stream_data_str(i+2,:))," "));
if (tmp >= 2^31-1)
accor_stream_data_one_hop(i) = tmp - 2^32;
else
accor_stream_data_one_hop(i) = tmp;
end
end
weight_stream_data_index = 1;
flag = 1;
while (flag)
weight_stream_data_str = num2str(weight_stream_data((1:32)+weight_stream_data_index-1)');
tmp = bin2dec(erase(convertCharsToStrings(weight_stream_data_str)," "));
if (tmp == hex2dec("7E7E7E7E"))
flag = 0;
else
weight_stream_data_index = weight_stream_data_index + 1;
end
end