gitignore update

This commit is contained in:
awe
2026-07-13 17:34:34 +03:00
parent 16b08403e9
commit 27cf4d1831
2 changed files with 9 additions and 4 deletions

6
.gitignore vendored
View File

@ -6,3 +6,9 @@ __pycache__/
.Python
my_picocom_logfile.txt
sample_data/
*.zip
*.docx
*.docx#
*.raw
*.svg
.codex

View File

@ -278,10 +278,9 @@ def make_update(reader, parser, assembler, curves, plots):
state["ref_phi0"] = ref_phase[0]
state["ref_phi1"] = ref_phase[-1]
# Compute frequency axis from reference signal phase (linear phase-freq model)
phi0, phi1 = state["ref_phi0"], state["ref_phi1"]
freqs_ghz = (F_START_HZ / 1e9) + (ref_phase - phi0) / (phi1 - phi0) * (BW_HZ / 1e9)
freqs_hz = freqs_ghz * 1e9
# Frequency axis: linear from F_START to F_STOP
freqs_hz = np.linspace(F_START_HZ, F_STOP_HZ, n)
freqs_ghz = freqs_hz / 1e9
# Fix reference phase from the first sweep
if state["ref_phase_first"] is None: