-
Notifications
You must be signed in to change notification settings - Fork 1
set Filehandler
The Experiment Filehandler Window is used to set the Strukture of the Experiment. Mainly a new Filestrukture can initialiced for storage, which represents the Experiment. Furthermore it can be used to load pre-exising settings from the past which can be expanded on. It can also be used to add Comments to the Experiment in two areas. In the first field, comments on the Experiment itself, for example what was special about it and why it was done that way. In the second field, comments to the Data measured can be saved in the file strukture.
In the first Frame an Info of the set Experiment Filestruktur is presented. It will automatically update when a new Experiment cycle is initialized.
As a base setting all files will be generated in the relative Programfolder strukture in the foldername Storage_vault. If this is intendet to be changed, the Path is set in the module varibales.py as a classvariable in the class File_Settings. It can be changed to a relative path as intendet. For example /home/MR_Program_GUI/Storage_vault/TuGraz/... to bring it out of the source file Strukture.
- Sample Foldername
Example: TuGraz, Projekt MR, ...
In this level of file it is intended to name the projekt to what the Samples will be referenced.\1.1. Experiment foldername
Example: Bismut, Gadolinium , Manganese ...
In this level of file it is intended to name the material what is got tested.\1.1.1. Data foldername
Example: FID, SPin-Echo, Composit, ...
In this level of file it is intended to name the Sequenz what was delvelopd for the test.\
Both enterys should be used to add Infromation or make notes to what happend in the Experiment.
- The first area is arranged to be used for comments on the experiment. For example how the setup was altered or if alternative precautionn where taken.
- The second are is arranged to be used for comments on the Data which where gathered. For example if some intresting was seen in the Data. On the butten press save & close window the entery will be taken and if the corresponting .txt file exist the comment text will appendet. Otherwise if the file dose not exist a new file will be created inside the saved experiment file strukture.
On the buttenpress load pre_existing setting a file selecter will be opend. With this handler the setting.cfg of the intended experiment can the loaded. For referenz the loaded experiment settings will be presented in the first frame.
This last frame of this window is used to set up a new Experiment. It is able to recognise if a file leavel olready exists. On set Parameters the new settings will be loaded from the entery and saved to later.
On the butten press the comments will be saved to the Folder. For reading and editing a standart .txt reader can be used on the PC. It is not inteded to be able to that in this software. Additional before saving the comments it is checked for a minimum number of character and prompted with a popup.
On the butten press close window nothing will be saved or set. The Experiment Filehandler window will be closed.
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