Paper: https://www.mdpi.com/1424-8220/25/15/4654
This project is a software package designed to work with the LibreVNA and the Measurement Computing USB-2001-TC using a Type T thermocouple.
There are a few entry points into the project, which are listed below:
This is the main window of the program. Running Gui.py allows the user to access several functionalities:
With a computer running LibreVNAGUI, and a connected LibreVNA and Measurement Computing USB-2001-TC, the user will arrive at this UI:
-
Analyze – Begins recording a
touchstoneListwith the provided parameters. If parameters are missing, an error will occur. -
Save Run – Saves the current
touchstoneListto a CSV in/data/timestamp/timestamp-csv.csv. - Pause Run – Halts the collection of touchstones until resumed.
- Open Saved CSV – Loads data from a previous recording instead of showing a figure of the currently collected data.
-
Take Screenshot – Records a single Touchstone file instead of one every 10 seconds. Useful for capturing individual
$S_{21}$ readings.
- A note section allows the user to enter run-specific notes.
freqStartfreqEndpointssignalName– Must match a signal name within LibreVNAGUI.maxDB– Sets the upper y-axis limit of the figures.minDB– Sets the lower y-axis limit of the figures.IFBWbufferSize– Deprecated; does nothing.distance– Distance from the sensor in mm.
- Error messages will appear here.
Entry point for Bayesian optimization of model parameters.
Helper Python file responsible for generating summary figures from a collection of datasets. Some of these figures include:
- Resonant Frequency vs Distance
- Accuracy vs Distance
- Initial Frequency vs Distance
-
$R^2$ Scores vs Dataset
When this script is run, all data in /data/ is used, and the figures are saved in /figures/timestamp/*.png.
Helper file that contains the final 28 datasets in a list called sensVsDist.
Responsible for plotting the hysteresis-over-time figure.
This file runs tests on a selection of models with a set of datasets. It performs:
- Preprocessing
- Model instantiation
- Training
- Performance analysis
Model results are output as figures to /figures/timestamp/*.png. These include:
- Model learning curves
- Predicted Temperature vs Real Temperature plots
Helper file responsible for creating the time-gating figures.