-
Notifications
You must be signed in to change notification settings - Fork 1
set Sequence
Generate and save Parameter for a new sequence
- Calling the inteded sequenc in the main window.
- In the sequence window the parameters of the puls an the boundary conditions need to be filled in as the intended sequence wanted.
- With the butten [ Save ] the parameters will be saved to the sequnce.cfg file for preperations to [ RUN ] the sequence from the main window.
In the folder program the module "win_sequenz.py" contains all necessary classes and function needet to generate the setting_sequence.cfg file. The design initializes the class Window_seq and all default parameters are set. A predfined number of pulses for preconfigured sequences can be selected from like for example a FID sequnce.
On calling the sequenc window all parametes for the intended sequenc will be shown in the diagram of the sequenc with all its key paranetes specified. By filling in the entery field and pressing the save butten the all parameters are loaded and stored. Additionally the parameters will be updated in the experiment filestructure and for the "last run" option in the \program fillestrukture as well. \
For information, the set information is displayed in the upper left area of the window when the window is called. The plot to the right side visualises which sequence and its pulse number was selected. It give a representation of what parameters represent what values for correct timing. The timing of the pulse duration is set in µs and can be changed depending on the sample material.
All parameters should be entered in the mentioned unit. Spacing counts when there should be a array entered.
With the butten [ SDR settings hide ] the frame can be hidden for an clean praesentation
- RX gain (l.rgn) in dB
- TX gain (l.tgn) in dB
- RX lowpass filter bandwith (l.rlp) in Hz
- TX low_pass (l.tlp) in Hz
- correction_tx_i_dc (l.tdi) TX DC correction of I channel
- correction_tx_q_dc (l.tdp) TX DC correction of Q channel
- correction_tx_i_gain (l.tgi) TX Gain Correction I
- correction_tx_q_gain (l.tgp) TX Gain Correction Q
- correcion_tx_phase (l.tpc) Phase correction (I/Q)
- correction_rx_i_dc (l.rgi) RX DC correction of I channel
- correction_rx_q_dc (l.rgp) RX DC correction of Q channel
- correction_rx_i_gain (l.rdi) RX Gain Correction I
- correction_rx_q_gain (l.rdq) RX Gain Correction Q
- correcion_rx_phase (l.rpc) Phase correction (I/Q)
The number of offsets and pulses is generated automatically depending on the sequence. The first offset is set to 300 seconds, because otherwise hardware problems will occur, if the program is started immediately.
- Offsets Set the time of the offset intended in µsec.
- Pulse Set the time of the pulse intended in µsec.
- Repetition time in ms. It defines the break after the end of the previous to the following sequence
- Acquire time in ms.
- gate output signal (l.t3d) is an array of numbers and consits of 4 parameters
- "enable" = 1 ; "disable" = 0
- Start enfold signale of the rising edge of the pulse. Must be negative if the output is used for example a gate signal to aktivate an amplifier before the pulse arrives.
- The shifts between the signal and the pulse
- End enfold signal on the falling edge of the pulse. Can be negative but is positive for a extended trailing signal.
- Start acquisition time point in ms
- Stop acquition time point in ms
- number of averages made on the sample
- number of Repetition made on the sample
This will only be shown if it is inkludet in the sequence.
- phase_number array a list of integer for every puls
- phase_level array a list of integer for every puls
- phase_puls array a list of integer for every puls
- number_phase_level defallt set to 1
- puls_amplitude defallt set to 1
For a better overview and to reduce the window size, the option to hide certain frames has been implemented. In the following window the SDR settings can be toggeled with the press of the butten.
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