Toolbars - josalggui/MaRGE GitHub Wiki
Toolbars
MaRCoS Toolbar (2)
Before executing any sequence, the user must establish a connection between the GUI and the Red Pitaya. This connection can be initiated through the MaRCoS toolbar (2) or via the scanner menubar. The MaRCoS toolbar consists of four distinct action buttons, from left to right:
-
: This button executes a sequence of actions in the following order: MaRCoS initialization, starting the MaRCoS server, and initializing the GPA board.
-
: This button initialize the bitstream in the red pitaya..
-
: Use this button to connect to or disconnect from the MaRCoS server. After connection attempt, it runs a short sequence to check that the connection succeeded.
-
: Clicking this button triggers a code execution to initialize the GPA board. It's important to note that the GUI must be connected to the server before initializing the GPA board. In case an interlock (under development) is connected to GPA and RFPA from Barthel, it also enables the power modules remotely.
Upon executing MaRCoS server
button remains pressed, and the sequence buttons become enabled. It's worth mentioning that this state remains even if the connection to the server fails (under development).
However, if connection is done, a terminal will show the information shown in Figure 4.
Sequence Toolbar (3)
The Sequence toolbar is at the heart of the GUI, allowing users to run sequences efficiently. Sequence execution can be initiated through the Sequence toolbar (3) or the Sequence menubar. From left to right, the Sequence toolbar offers the following options:
-
: This button automatically runs a series of sequences and uses the results to calibrate the system. The calibration process includes Larmor calibration, RF coil impedance matching, noise measurement, Rabi flops, and shimming.
-
: Use this button to execute a quick RARE sequence with low resolution, helping users select the field of view (FOV) for subsequent sequences.
-
: Clicking this button adds the current sequence configuration to the waiting list. This feature allows you to continue working in the GUI while sequences are running.
-
: This button directly runs the current sequence configuration. Note that when a new sequence is selected and the
Acquire
button is clicked, the GUI may appear frozen. Please be aware that this button is slated for deprecation in future versions. -
: Activate this mode for sequences that support it, such as Larmor or noise measurements. Sequences that acquire images do not support iterative mode, and this button will be automatically toggled after the sequence ends.
-
: This button places all the sequences contained in the selected protocol into the history list.
-
: It generates a visualization of the instructions that will be sent to the Red Pitaya.
-
: Use this button to save the sequence parameters to a CSV file located at
experiments/parameterisations/SequenceNameInfo.year.month.day.hour.minutes.seconds.milliseconds.csv
. -
: Load input parameter files and update the sequence parameters to the current sequence.
-
: This button saves the sequence parameters in the
calibration
folder. If the sequence is intended for autocalibration, it will automatically load parameters from thecalibration
folder.
These options within the Sequence toolbar provide users with the flexibility and control needed to execute various sequences and manage their parameters effectively.
Figures Toolbar (4)
The Figures toolbar provides quick access to two essential functions:
-
: Clicking this button expands the image area to full-screen mode for a more detailed view.
-
: Use this button to capture a snapshot of the GUI. The captured image is saved in the
screenshots
folder. -
: Open the postprocessing toolbox.
These functions enhance the user experience by allowing for better visualization and documentation of the GUI's interface.
Protocols Toolbar (5)
The Protocols toolbar facilitates the management of protocols within the GUI. It includes the following options:
-
: Clicking this button creates a new protocol, enabling users to organize and categorize their sequences.
-
: Use this button to delete a protocol that is no longer needed.
-
: Adding a custom sequence to the selected protocol is made easy with this button.
-
: Clicking this button removes a sequence from the currently selected protocol.
The Protocols toolbar streamlines the organization and customization of your workflow, making it easier to work with sequences and protocols.