API Reference
This page provides an auto-generated reference of all DAMARIS classes, functions, and modules. It is built from docstrings using Sphinx autodoc and autosummary.
Data Module
The data module contains result types, data handling, and signal processing classes.
|
|
|
Represents an accumulation of sampled data with various attributes and methods for data manipulation, analysis, and exporting. |
|
|
dictionary with sending change events |
|
|
Specialised class of Resultable Contains error-messages from the core |
|
plottable fit curve belonging to a MeasurementResult |
|
|
Experiments Module
The experiments module contains the Experiment class and related utilities for defining pulse sequences.
|
Class holding the complete state tree for a single experiment. |
This module holds everything connected with the DAC and PFG |
GUI Module
The GUI module contains the graphical interface, backend driver, and experiment/result handling.
This class handles the backend driver |
|
Temperature monitoring thread. |
|
Unified logging for DAMARIS. |
A short usage example for the font helper of the GUI module (the non-deprecated
replacement for the removed Widget.modify_font()):
from damaris.gui.DamarisGUI import apply_font_css
apply_font_css(textview, "Monospace 10") # pango style font description
apply_font_css(label, "sans bold 16")
The font string is converted into a CSS rule (font-family/font-size/
font-weight) which is applied to the widget’s style context with a
Gtk.CssProvider.
Tools Module
The tools module contains hardware driver interfaces and utility functions.
Temperature controller interface and base classes. |
|
Simulated temperature controller for testing. |