Skip to content

Latest commit

 

History

History
231 lines (158 loc) · 4.6 KB

guis.rst

File metadata and controls

231 lines (158 loc) · 4.6 KB

GUIs

These GUIs are part of the API package in order to bring some functionality to the user when working on the command line. Here, we solely use matloplib and Qt frontends. This is not the description of the main GUI, which can be found in ../../gui/gui.

rimseval.guis.mcal

Mass Calibration GUIs

Define the mass calibration by clicking on a plot.

CreateMassCalibration

CreateMassCalibration

create_mass_cal_app

create_mass_cal_app

find_closest_iso

find_closest_iso

rimseval.guis.integrals

Integrals & Background

Classes to define integrals and backgrounds. These are both very similar in nature, therefore, one superclass is created and individual routines subclass this one further.

DefineAnyTemplate

DefineAnyTemplate

DefineBackgrounds

DefineBackgrounds

DefineIntegrals

DefineIntegrals

define_backgrounds_app

define_backgrounds_app

define_integrals_app

define_integrals_app

tableau_color

tableau_color

rimseval.guis.mpl_canvas

Matplotlib Canvas Classes

These classes create spectra plotters and handling for theses specific tasks. Uses the matplotlib Qt5Agg backend.

PlotSpectrum

Plots the spectrum and serves it as a matplotlib figure. It adds toolbar and canvas (see below) plus makes two layouts available, a bottom layout and a right layout. This allows the addition to QWidgets into this layouts later on.

The plot widget adds one button in the bottom layout to toggle logarithmic axes for the vertical / signal axis.

PlotSpectrum

MplCanvasRightClick

Handle right-click on matplotlib canvas. Releases to signals: one on right mouse button press and one on right mouse button release. These signals send the x and y position where the mouse event took place.

MplCanvasRightClick

MyMplNavigationToolbar

Re-implementation of the matplotlib navigation toolbar. After zooming in, the zoom function is automatically deactivated.

MyMplNavigationToolbar

rimseval.guis.plots

Plots

These routines allow for specialty plots, i.e., to plot figures that are enot regularly used or needed during data evaluation but can give useful further information on the instrument, etc.

dt_ions

Create a PyQt app and run it.

dt_ions

integrals_packages

Create a PyQt app and run it.

integrals_packages

nof_ions_per_shot

Create a PyQt app and run it.

nof_ions_per_shot

PlotFigure

Class to plot a figure.

PlotFigure

DtIons

Matplotlib PyQt figure to plot histogram for arrival time differences between ions.

DtIons

IntegralsPerPackage

Matplotlib PyQt figure to integrals per package.

IntegralsPerPackage

IonsPerShot

Matplotlib PyQt figure to plot histogram of ions per shot.

IonsPerShot