aboutsummaryrefslogtreecommitdiff
path: root/center_fw/match_test.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'center_fw/match_test.ipynb')
-rw-r--r--center_fw/match_test.ipynb21
1 files changed, 21 insertions, 0 deletions
diff --git a/center_fw/match_test.ipynb b/center_fw/match_test.ipynb
index f23d127..9b5d9f2 100644
--- a/center_fw/match_test.ipynb
+++ b/center_fw/match_test.ipynb
@@ -1569,6 +1569,27 @@
"1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0110001011 1000111010 0001011110 1000011001 0111001011 0010010111\n",
"1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 1100101001 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0101001110 0110001011 1000111010 0001011110 1000011001 0111001011 1100000110"
]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 221,
+ "id": "bfd80ba5-b943-4eaa-894c-f87c30ab7735",
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;2m11\u001b[38;5;3m00 0\u001b[38;5;2m11\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;2m11\u001b[38;5;1m0\u001b[38;5;3m1 11\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;2m00 \u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;2m11\u001b[38;5;1m0\u001b[38;5;2m11\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0 \u001b[38;5;1m1\u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;3m000\u001b[38;5;4m1111 \u001b[38;5;1m0\u001b[38;5;1m1\u001b[38;5;1m0"
+ ]
+ }
+ ],
+ "source": [
+ "bits = np.fromfile('/tmp/dump_bit.bin', dtype=np.uint8)\n",
+ "pos, = np.fromfile('/tmp/dump_bit_idx.bin', dtype=np.uint32)\n",
+ "bits = bits[:pos]\n",
+ "print_rl(*bits, break_groups={'00000', '11111'}, split_each=10, split_offset=0)"
+ ]
}
],
"metadata": {