musredit 1.0.0
Loading...
Searching...
No Matches
PTheory Struct Reference

Structure holding information about a musrfit theory function. More...

#include <PAdmin.h>

Public Attributes

QString name
 Internal function name used in msr files (e.g., "asymmetry", "simplExpo").
 
QString comment
 Human-readable description of the theory function.
 
QString label
 Short label for GUI menus and buttons.
 
QString pixmapName
 Filename of the pixmap image showing the mathematical formula.
 
QPixmap pixmap
 Loaded pixmap image of the mathematical formula.
 
int params
 Number of parameters required by this theory function.
 

Detailed Description

Structure holding information about a musrfit theory function.

This structure contains all necessary information to represent a theory function in the musredit GUI. Theory functions are mathematical models used to fit muon spin rotation/relaxation data (e.g., exponential relaxation, Gaussian Kubo-Toyabe, etc.).

Each theory function has:

  • A unique name identifier used in msr files
  • A human-readable comment/description
  • A short label for GUI display
  • An optional pixmap showing the mathematical formula
  • The number of parameters the function accepts
See also
https://lmu.web.psi.ch/musrfit/user/html/user-manual.html#the-theory-block Theory block documentation

Definition at line 90 of file PAdmin.h.

Member Data Documentation

◆ comment

QString PTheory::comment

Human-readable description of the theory function.

Definition at line 92 of file PAdmin.h.

◆ label

QString PTheory::label

Short label for GUI menus and buttons.

Definition at line 93 of file PAdmin.h.

◆ name

QString PTheory::name

Internal function name used in msr files (e.g., "asymmetry", "simplExpo").

Definition at line 91 of file PAdmin.h.

◆ params

int PTheory::params

Number of parameters required by this theory function.

Definition at line 96 of file PAdmin.h.

◆ pixmap

QPixmap PTheory::pixmap

Loaded pixmap image of the mathematical formula.

Definition at line 95 of file PAdmin.h.

◆ pixmapName

QString PTheory::pixmapName

Filename of the pixmap image showing the mathematical formula.

Definition at line 94 of file PAdmin.h.


The documentation for this struct was generated from the following file: