gitignore update
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@ -6,3 +6,9 @@ __pycache__/
|
||||
.Python
|
||||
my_picocom_logfile.txt
|
||||
sample_data/
|
||||
*.zip
|
||||
*.docx
|
||||
*.docx#
|
||||
*.raw
|
||||
*.svg
|
||||
.codex
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user