Alle Datensätze werden innerhalb der trEPR-Toolbox in einem einheitlichen Format abgelegt und verarbeitet. Das TSim-Modul erweitert dieses Datenformat um eigene Felder.
Diese Seite dient der Dokumentation der Spezifikation dieser Erweiterungen des trEPR-Toolbox-Datenformates.
Ein kurzer Abriß über die Änderungen im Datenformat des TSim-Moduls der trEPR-Toolbox in absteigender Reihenfolge der Änderungen.
addsimpar unter simremarks mit Feldern purpose und commentfitini und fitoptroutine unter sim und fit
Im Wesentlichen werden alle Felder in einer Matlab®-Struktur mit dem Modulnamen (TSim) in der Wurzel der Datenstruktur der trEPR-Toolbox verankert. Darüber hinaus wird es ein zusätzliches, ebenfalls in der Wurzel der Datenstruktur der trEPR-Toolbox verankertes Feld geben, das zur Aufnahme der simulierten Spektren dient.
TSim - structsim - structSys - structS - scalarg - vector 3×1D - vector 3×1Exp - structmwFreq - scalarRange - vector 2×1nPoints - scalarHarmonic - scalarTemperature - vector 3×1addsimpar - cell arrayroutine - stringfit - structinipar - vectorfittedpar - vectorfitini - structfitpar - vectortofit - boolean vectorlb - vectorub - vectorfitparameters - cell arrayfitopt - structMaxIter - scalarTolFun - scalarroutine - stringremarks - structpurpose - stringcomment - cell arrayformat - structname - string
Es gibt eine Funktion trEPRTSim_dataStructure() – vergleichbar der Funktion trEPRdataStructure() der trEPR-Toolbox –, die den Umgang mit der für das Modul spezifischen Datenstruktur regelt. Aus der Hilfe zu dieser Funktion:
trEPRTSim_dataStructure Return data structure for trEPR TSim module, or
test compliance of given structure with the data structure of the module.
Usage
structure = trEPRTSim_dataStructure;
structure = trEPRTSim_dataStructure(<command>)
[missingFields,wrongType] = trEPRTSim_dataStructure(<command>,structure)
<command> - string
one of 'structure', 'model' or 'check'
'structure' - return (empty) trEPR toolbox data structure
'model' - return trEPR toolbox data structure with
field types as values
'check' - check given structure for compliance with the
toolbox data structure
structure - struct
either empty trEPR toolbox data structure or
trEPR toolbox data structure with field types as values
missingFields - cell array
List of fields missing in the structure with respect to
the toolbox data structure
wrongType - cell array
List of fields in structure having the wrong type with
respect to the toolbox data structure
See also trEPRload, trEPRdataStructure.