minor fixes and changes

This commit is contained in:
Joseph Hopfmüller
2024-11-29 15:49:10 +01:00
parent b156b9ceaf
commit ff32aefd52
3 changed files with 22 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ import time
from matplotlib import pyplot as plt # noqa: F401
import numpy as np
import path_fix
import add_pypho # noqa: F401
import pypho
default_config = f"""
@@ -497,18 +497,18 @@ def plot_eye_diagram(
if __name__ == "__main__":
path_fix.show_log()
add_pypho.show_log()
config = get_config()
length_ranges = [1000, 10000]
length_scales = [1, 2, 3, 4, 5, 6, 7, 8, 9]
# length_ranges = [1000, 10000]
# length_scales = [1, 2, 3, 4, 5, 6, 7, 8, 9]
lengths = [
length_scale * length_range
for length_range in length_ranges
for length_scale in length_scales
]
lengths.append(max(length_ranges)*10)
# lengths = [
# length_scale * length_range
# for length_range in length_ranges
# for length_scale in length_scales
# ]
# lengths.append(max(length_ranges)*10)
# length_loop(config, lengths)