Add whole decoding line to max_iter plot
This commit is contained in:
@@ -129,6 +129,24 @@ sp="/-\|"
|
||||
# done
|
||||
# done
|
||||
|
||||
# Copy whole BP over max iter. results
|
||||
|
||||
echo -e "\rCopying whole over max_iter simulation results..."
|
||||
echo -n ' '
|
||||
for decoder in "SyndromeMinSumDecoder"; do
|
||||
for p in 0.001 0.0025 0.004; do
|
||||
SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bp,decoder.class_name=${decoder},simulation.phy_err_rate=${p}/"
|
||||
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
DEST_DIR="res/sim/max_iter/${decoder}/p_${p}/"
|
||||
mkdir -p ${DEST_DIR}
|
||||
DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
cp ${SRC_FILE} ${DEST_FILE}
|
||||
post_process_LERs ${DEST_FILE}
|
||||
printf "\b${sp:i++%${#sp}:1}"
|
||||
done
|
||||
done
|
||||
|
||||
# # Copy BPGD decimation passing
|
||||
#
|
||||
# echo -e "\rCopying BPGD param exploration results..."
|
||||
@@ -151,20 +169,20 @@ sp="/-\|"
|
||||
|
||||
# Copy BPGD with decimation info passing over max iter. results
|
||||
|
||||
echo -e "\rCopying BPGD over max. iter. results..."
|
||||
echo -n ' '
|
||||
for pass_soft_info in "True" "False"; do
|
||||
for F in 1 2 3; do
|
||||
for W in 3 4 5; do
|
||||
SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd_pass_channel,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=0.0025,system.F=${F},system.W=${W}/"
|
||||
LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoderPassDecimation/p_0.0025/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
|
||||
mkdir -p ${DEST_DIR}
|
||||
DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
cp ${SRC_FILE} ${DEST_FILE}
|
||||
post_process_LERs ${DEST_FILE}
|
||||
printf "\b${sp:i++%${#sp}:1}"
|
||||
done
|
||||
done
|
||||
done
|
||||
# echo -e "\rCopying BPGD over max. iter. results..."
|
||||
# echo -n ' '
|
||||
# for pass_soft_info in "True" "False"; do
|
||||
# for F in 1 2 3; do
|
||||
# for W in 3 4 5; do
|
||||
# SRC_PATH="${BASE_PATH}+rust_exp=max_iter_bpgd_pass_channel,decoder.class_name=WindowingSyndromeSpaGdDecoder,decoder.pass_soft_info=${pass_soft_info},simulation.phy_err_rate=0.0025,system.F=${F},system.W=${W}/"
|
||||
# LATEST_RESULTS_DIR=$(ls -t ${SRC_PATH} | head -1)
|
||||
# SRC_FILE="${SRC_PATH}/${LATEST_RESULTS_DIR}/LERs.csv"
|
||||
# DEST_DIR="res/sim/max_iter/WindowingSyndromeSpaGdDecoderPassDecimation/p_0.0025/pass_soft_info_${pass_soft_info}/F_${F}/W_${W}"
|
||||
# mkdir -p ${DEST_DIR}
|
||||
# DEST_FILE="${DEST_DIR}/LERs.csv"
|
||||
# cp ${SRC_FILE} ${DEST_FILE}
|
||||
# post_process_LERs ${DEST_FILE}
|
||||
# printf "\b${sp:i++%${#sp}:1}"
|
||||
# done
|
||||
# done
|
||||
# done
|
||||
|
||||
Reference in New Issue
Block a user