-
Notifications
You must be signed in to change notification settings - Fork 1
Main window
The Main window is subdivided in different frames according to the different functional categories. All Frames are dynamically resized depending on the size of the window.

In this frame the desired frequency band to be scanned and the step size are defined. With the Setup described the minimum frequency is defined as 30 MHz and the maximum frequency is defined as 300 MHz. For single frequency NQR/NMR measurements the frequency is specified in the field 'start frequency'. In addition, the frequency step must be set to less than two.
The start frequency defines the first frequency of the spectrum. The unit of the input value happens in mega heart (MHz).
The end frequency defines the last frequency of the spectrum. The unit of the input value happens in mega heart (MHz).
'frequency steps' defines the number of points of the spectrum. The span will be linearly spaced between the start and end frequency. It will be entered in positive integer number (uint16).
'averages' is the number of repetitions for averaging the signal. It will be entered in positive integer number (uint16).
'SAVE all' saves the sequence parameters entered in the main window to the file setting_last_run.cfg .
'load saved settings' will prompt a file handler window for selecting a saved setting.cfg file from a previous experiment. After selection and confirmation the file is loaded and the respective parameters are set.
In this Frame the parameters for automatic tuning and matching of electronically tuneable probeheads are defined. As the hardware is still partially under development, the software still contains some placeholders for future adaptations. The voltages refer to the reverse bias of varactor diodes in the probeheads for controlling tuning and matching when varying the frequency.
Maximum tuning voltage at the end of the sweep. Sweeping will always be started from 0V.
Maximum matching voltage at the end of the sweep. Sweeping will always be started from 0V.
The step size of the frequency. Must be selected sufficiently enough for an detaild measurment.
Is the look up table size of the resolution for the voltages of the tune and match file matrix. It generates the matrix from 0 volts up to the sepified maximum voltages to be set for tune and match circuit.
This butten will prompt a file handler window for selecting a tune_match.csv file and load the respective parameters.
This button initializes the transmission of the tuning and matching parameters to the Microcontroller over a serial port. While the ongoing Measurement the represented values will be set on the matching network. The MC will control the respective voltages multi frequency measurment.
Used to set the communication port for the microcontroller. The respective port name must be set according to the availablity from the system. A change of the controller may also require a change of the port.
In this frame all vital informations are summarized. These informationa are updated in a iterative routine from the set parameters in the system files to keep the presented information up to date.
All data, settings and logs concerning a particular experiment are stored according to a defined file structure within individual folders, one for for each experiment. Each experiment folder is organized in subfolders called Sample, Experiment and Data. For more information go to set Filehandler
This register presents a short summary of the Sequence settings.
This will launch the set Sequence Window. The FID Sequence consist of one pulse and all of its trailing parameters. This trailing parameters are for example the amplitude but also can be hardware specifi amplification values.
This will launch the set Sequence Window. The Spin-Echo Sequence consist of two pulses and all of its trailing parameters.
This will launch the set Sequence Window. The composite Echo Sequence consist of two pulses and all of its trailing parameters.
This will launch the set Sequence Window. With this Sequence a arbitrary number of now limited to ten pulses and all of its trailing parameters can be generated.
Load all parameters from settings_last_run.cfg. This can be helpful if the settings of the last experiment should be restored.
This button will call the function def: send_sdr() in the module run_external. With the set Parameters from it will select what sequence it will run. ##?? sentence reads horrible - what does it mean ? (HS) ??## After completion of the measurement the data will be plotted in the main window.
This button calls the set Filehanlder for updating the experiment file structure.
This calls a new window for plotting the acquired data. !! room for expansion !! More development needs to be invested
This button will save all entered parameters and close all windows. This can be helpful if you close the Program and later reload all saved parameters with load last run.
A blank button for testing and extension of the program. This can also be used for debugging.
In the right bottem corner, the Plot shows the data what is acquirer in the last experiment. With the toolbar a quick data analysis will be possible.
The time domain signal will be taken from the .../prgram/scan_data_time.csv file and plot the time course of the NMR/NQRsignal.
The frequency domain singal will take the .../prgram/scan_data_freq.csv file and plot the spectrum of the NMR/NQR signal.
This button will start an automatic timed iteration of loading the plotted information from the files.
This frame can be scrolled. Information of the tasks during a runtime of a sequence is presented. Additionally also a logfile will be written in the background for later debugging. This File can also be used to check if all parameters have been set correctly.
Graphical user interface for File and Sequenz handling by Philipp
- Pull repo to local PC
- open cmd
- run start.py
- GUI should start
- set experiment file structure
- add comments to the Experiment and Data
- "save and close"
- select type of sequence
- save parameter
- questioned material
- Arduino connections
- tune and match
- SDR connections
- first run
- plot data
- save to file structure
- develop GUI