added noise measurements
All checks were successful
Git Backup to WebDAV / print-content (push) Successful in 16s
All checks were successful
Git Backup to WebDAV / print-content (push) Successful in 16s
This commit is contained in:
parent
a1798d1a29
commit
bc7cb4d360
1 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ from datetime import datetime
|
|||
import yaml
|
||||
import os
|
||||
|
||||
VersionScripSoftware = "2026-03-17"
|
||||
VersionScripSoftware = "2026-05-18"
|
||||
VersionDspSoftware = "Unknown"
|
||||
|
||||
data_rows = [] # global 2-D list
|
||||
|
|
@ -79,12 +79,12 @@ def dump_into_database():
|
|||
if state["noise_scan"]==False:
|
||||
# regular scan data
|
||||
formatted_rows = [
|
||||
[sweep_insert_time, r[0], r[5], r[6], r[1], r[2], r[3], r[4]]
|
||||
[sweep_insert_time, r[0], r[5], r[6], r[1], r[2], r[3], r[4], r[11], r[12]]
|
||||
for r in data_rows
|
||||
]
|
||||
sql = """
|
||||
INSERT INTO SequenceValues (StartTimeOfSweep, Freq, ZR, ZX, Vampl, Vphase, Iampl, Iphase)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?) \
|
||||
INSERT INTO SequenceValues (StartTimeOfSweep, Freq, ZR, ZX, Vampl, Vphase, Iampl, Iphase, Vnoise, Inoise)
|
||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) \
|
||||
"""
|
||||
else:
|
||||
# noise scan data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue