The function momo
is the main entry point for calling the
program MoMo (note the different spelling). At first momo
parses the input arguments, afterwards either a session is processed by calling
the engine of MoMo, or different management tasks can be performed, e.g. for
momo version
or momo cleanup
.
MoMo's engine is called directly by some other functions also:
momoSet
(average a set of sessions),
momoNorm
(create norm data from set of sessions) and
momoRapid
(process a list of sessions separately).
In addition MoMo has functions to control its source code, the integrity of
model scripts, the license and some preferences. Sheets are created by
moSheet
, which can be called by external programs also (e.g.
ShowGLA
), because it has just a weak connection to MoMo.
The graphical user interface
MoMoG creates
a list of input arguments for
momo
. MoMoG has influence to
parameters needed for daily routine only. To access the "expert"
parameters
momo
must be called through the command line. MoMoG
writes the calling sequence to the command window, so the user can expand it
using copy&paste.
Beside this document, MoMo displays several help topics in the command
window: momo help
. This creates a list similar to the following:
Table of inputs: | momo inputs |
Explain all inputs: | momo help inputs |
Explain one input: |
momo help <name_of_input> |
Find in explanations: |
momo lookfor <word> |
How to pass inputs: | momo help passinputs |
User guide: | momo doc |
User notes: | momo usernotes |
Release notes: | momo releasenotes |
Version: | momo version |
Open GUI: | momog |
Preferences (paths): | momo prefs |
Debug Job struct: | momo showjob |
Examples:
If you look for a special feature, e.g. how to influence colors, and do not
know the name of the argument, try momo lookfor color
. This
displays all arguments, which contain the word "color" in the name or
description.
If the name of the argument is known, the help can be shown directly:
momo help ColorType
.
The help sections of the M-files contain detailed instructions about inputs
and outputs. For functions, which are called by users, further help can be
found there using Matlab's help <FunctionName>
command.
Examples: momo, momog, momoSet, momoNorm,
ShowC3D, ShowC4D, MoMo_local, MoMo_localDlg, moSessionSet, moCacheFile,
moEngineHelp, moUserNotes, moResearchModel, GetASC, PutASC, GetC3D, ParseC3D,
FPLift, BugReport, ShowGLA
and the model scripts.
The processing of MoMo can be controlled with a variety of
input arguments. There are three types of arguments:
- Flags: A leading '+' (optional) or '-' enables/disables a flag.
E.g.
momo('Sheet')
and momo('+Sheet')
enable the
creation of sheets, momo('-Sheet')
disables sheets.
- Arguments needing a parameter: e.g.
momo('NormFile', 'FileName')
uses the file
"<MoMoData>\Norm\FileName.mom" as norm data,
momo('Ignore', [4, 7])
ignores the trials with indices 04 and
07.
- Commands: a task is performed without processing a session. For example
momo version
shows just the current version of MoMo,
momo help
displays a list of help functions. Usually MoMo
considers the first command in the list of input arguments only and stops
afterwards.
General tips:
- MoMo accepts synonyms for some input arguments, e.g. "Sheet",
"Sheets" and "Graph" are equivalent.
- The arguments are not sensitive for case:
momo('PDF')
and
momo('pdf')
are equivalent.
- The list of inputs is processed sequentially from left to right. The
rightmost occurrence of an argument matters, e.g.:
momo('Sheet', 'ColorBar', '-Sheet')
does not draw sheets.
- Help concerning input arguments of MoMo can be found in this document and
by
momo help
.
- If all arguments are strings, Matlab accepts an abbreviated style as
command:
momo('ModelScript', 'Foot19')
can be written as
momo ModelScript Foot19
.
For numerical input or cells
abbreviations are not valid: momo Ignore 1
- MoMoG writes the created calling sequence to the command window. This can
be used as start point to learn something about input arguments.
Inside the program, all features of MoMo are controlled by a struct called
Job. It is created by the function moIni
and
adding or removing fields elsewhere is not allowed. The field data are modified
according to the input arguments (in moInput
), the examination
info file (in moExamInfo
), the model script (in
moModelParam
) and parameters concerning the computation (in
moEngine
). For all other functions Job is
read-only.
It is unlikely, that the default values of
Job need
to be changed in the file moIni.m! Nevertheless, the local MoMo-administrator
can edit this file according to the demands of the laboratory, e.g. for
BiasAnalogEvent, LogSesENF,
NormalTick.
Note: Editing moIni.m can have unexpected
effects and damage measurement data! Do not modify functions
of MoMo if you are not sure, what you are doing! Follow the
instructions of the author!
Note:
- This list is created automatically from MoMo's source code:
24-Nov-2018, MoMo 5.1.34
- "±Name" means a flag: "-Name" disables the
feature, "+Name" and "Name" enables it.
- Argument names are not case-sensitive and some synonyms are accepted, e.g.
"sheets", "Sheet" and "Graph" are equivalent.
- Parameters of arguments are enclosed in < and >.
- Related commands are appended in brackets.
- Click on the argument name to show the full description.
- See also: momo help.
- ±AllScalar:
Display all scalar variables
(ShowScalar)
- ±Analog:
Evaluate data with analog frequency
(Dynamics,
EMG,
Scalar,
ShowHidden)
- ±Anonymous:
Encrypted person name on sheets
(ExamInfo)
- ±AutoFPlate:
MoMo searches force plate contacts
(FPSafeBorder)
- BBAccept <string/cell string>:
Accepted BodyBuilder scripts
(MarkerAccept,
ModelScript,
ModelClass,
ModelFlag)
- ±BiasAnalogEvent:
Smart analog event: half frame before video event
- BlackOnWhite:
Color scheme for black/white printer
(ColorOnWhite,
ColorOnBlue,
ColorType)
- C3DFile <cell string>:
Specify used C3D files
(Ignore,
SubSession)
- C4D <[Trial indices]>:
Show trial as 3D movie, no sheets
(C4Dadd)
- C4Dadd <[Trial indices]>:
Show trial as 3D movie
(C4D)
- Cert:
Check integrity of MoMo's scripts
(UserNotes)
- ±ClassEvent:
Draw event frame (e.g. ToeOff) into the plot
(ShowEvent,
ShowDev,
ShowNorm,
SampleEvent)
- ClassExport <[index]/struct/cell>:
Export class to other sessions
(ClassImport)
- ClassImport <{index, FileName}/struct>:
Import evaluated class from other session
(ClassExport)
- CleanUp:
Update MoMo's resource files (Admin only)
(Doc,
Version,
ReleaseNotes,
Help)
- Clear:
Clear persistently stored data
(Version,
Prefs)
- ±ColorBar:
Sheets with variables normalized to norm data
- ColorOnBlue:
Color scheme for PowerPoint slides
(BlackOnWhite,
ColorOnWhite,
ColorType)
- ColorOnWhite:
Color scheme for color printers
(BlackOnWhite,
ColorOnBlue,
ColorType)
- ColorType <string>:
Color type: BlackOnWhite/ColorOnBlue/ColorOnWhite
(BlackOnWhite,
ColorOnBlue,
ColorOnWhite)
- DBCrop <string>:
Crop trajectories in ASCII files before and after events
(DBExport,
DBExportFcn)
- DBDest <path name>:
Destination folder for exported ASC files
(DBExport,
DBExportFcn,
DBTrial,
DBSession,
PicDest)
- DBExport:
Standard data base export
(DBCrop,
DBTrial,
DBSession,
DBExportFcn,
DBDest,
DBReplace)
- DBExportFcn <function name or handle>:
Function for ASC export
(DBExport,
DBDest,
DBTrial,
DBSession,
DBTrialExt,
DBSessionExt)
- ±DBReplace:
Replace existing database files without asking
(DBExport,
DBTrial,
DBSession,
DBExportFcn,
DBDest)
- ±DBSession:
Export averaged session as ASC file
(DBExport,
DBTrial,
DBExportFcn,
DBDest,
DBReplace)
- DBSessionExt <string>:
Extension of exported Session files
(DBTrialExt,
DBExportFcn)
- ±DBTrial:
Single trials in ASC format
(DBExport,
DBSession,
DBTrialExt,
DBExportFcn,
DBDest,
DBReplace)
- DBTrialExt <string>:
Extension of exported Trial files
(DBExport,
DBTrial,
DBSession,
DBSessionExt,
DBExportFcn,
DBDest)
- Debug <integer 0:4>:
Detail level of messages and warnings
(DebugDeep,
GUI,
Fast)
- ±DebugDeep:
Debug=4 and forward it to subfunctions
(Debug,
GUI)
- ±DenseColor:
Colors for existing groups only
- ±Desc:
Draw description pictures of current model
(ModelScript)
- Doc:
Show the HTML doc
(Help,
Inputs,
ShowJob,
ReleaseNotes,
TextDoc)
- ±DownFilter:
Apply filter for downsampling (nTick < nFrame)
(BiasAnalogEvent)
- ±Dynamics:
Evaluate dynamics (video-frequency)
(Analog,
EMG,
ShowScalar,
AllScalar,
ShowHidden)
- ±EMG:
Evaluate EMG
(Analog,
Dynamics)
- ±ExamInfo:
Edit the patient/examination information
(ExamInfoOnly)
- ±ExamInfoOnly:
Editing ExamInfo without starting MoMo
(ExamInfo)
- ±ExternDisp:
Allow external SuDisp channels
(LogFile,
Fast)
- ±Fast:
Faster processing by collecting the output
(Debug,
ExternDisp)
- FPSafeBorder <double [mm]>:
Safety distance to force plate margins
- ±FullCycle:
Dynamic trials must have all variables
- ±GUI:
Dialogs for user interaction
- Help <argument>:
Display MoMo's help
(Doc,
Inputs,
ReleaseNotes)
- HideClass <[indices]>:
Hide classes on the diagrams
- Ignore <[indices]>:
Indices of trials to ignore
(IgnoreClear)
- ±IgnoreClear:
Clear current list of ignored trials in ExamFile
(Ignore)
- Inputs:
Show the possible input arguments
(Help,
ShowJob,
Doc)
- Install:
Install MoMo license
(License,
LicenseLog,
Cert)
- License:
Check current license
(Install,
Cert)
- LicenseDoc:
Show license document
(Install,
License,
LicenseLog)
- LicenseLog:
Show license log (Administrator only)
(Install,
License,
LicenseDoc)
- LogFile <file>:
File name of process protocol
- LookFor <string>:
Search string in MoMo's help text
(Help,
Doc)
- MarkerAccept <cell string of names>:
Accepted marker-sets of trials
(ModelClass,
ModelFlag,
ModelScript,
BBAccept)
- ModelClass <class name>:
Specify the ModelClass
(ModelFlag,
ModelScript,
MarkerAccept,
BBAccept)
- ModelFlag <flags as cell string>:
Set ModelFlag
(ModelClass,
ModelScript,
MarkerAccept,
BBAccept)
- ModelScript <script name>:
Specify the model script
(ModelClass,
ModelFlag,
MarkerAccept,
BBAccept)
- ±NewCache:
Allow creation/updating the cache file
(UseCache)
- NoMetaCommand:
Reject calls of external commands
- ±Normalized:
Export time-normalized trajectories
- NormDev <string>:
Type of norm data deviation
(ShowNorm,
NormFile)
- NormFile <file>:
File with norm data
(ShowNorm,
NormDev)
- ±OpenGL:
Use OpenGL as renderer of diagrams
- ±PDF:
Copy diagrams to PDF file
(PDFFile,
SheetClose)
- PDFFile <file>:
File name for PDFs
(PDF,
DBDest)
- PersonPic <file>:
Graphics file in the session folder, any format
- PicDest <folder name>:
Destination for saved diagrams
(PicSave,
PicFmt,
DBDest)
- PicFmt <PNG, EPS, BMP, TIF, JPG...>:
Format or exported pics
(PicDest,
PicSave,
PicSize,
PicTransp)
- ±PicSave:
Export pictures of single diagrams
(PicFmt,
PicSize,
PicTransp,
PicTitle,
SheetClose)
- PicSize <integer [Width, Height]>:
Size of saved diagrams
(PicSave,
PicFmt,
PicTitle)
- ±PicTitle:
Titles over saved diagrams
(PicSave,
PicSize,
PicFmt)
- ±PicTransp:
Transparent background of saved diagrams
(PicSave,
PicFmt,
PicSize)
- ±PlaneChar:
Plane character in diagram titles
- ±Please:
Polite mode
- Prefs:
Dialog to define preferences
(Install)
- ReleaseNotes:
Display the current release notes
(Help,
Doc)
- ±Rubber:
Rubber-banding for mean trajectories (future)
(Normalized,
Ticks)
- ±Run:
Start engine
(Help)
- RunLog:
Display MoMo log file
- ±SampleEvent:
Show events of each sample
(ClassEvent,
ShowEvent,
ShowDev,
ShowNorm)
- ±Scalar:
Calculate scalar variables
(ShowScalar,
AllScalar,
ColorBar)
- SelfTest:
Start the self test
- SessionPath <path name>:
Path of session folder
- ±Sheet:
Display diagram sheets
- ±SheetClose:
Close sheets automatically
(Sheet,
PDF,
PicSave)
- ±ShowDev:
Show (standard) deviations in diagrams
(HideClass,
ShowNorm)
- ±ShowEvent:
Class and sample events in diagrams
(ClassEvent,
SampleEvent)
- ±ShowHidden:
Show even diagrams of type [hide]
(ShowEvent,
ShowDev,
ShowNorm)
- ShowJob:
Show initial settings of MoMo's Job struct
(Inputs,
Help)
- ±ShowNorm:
Show norm values in diagrams
(NormFile,
ShowEvent,
ShowDev)
- ±ShowScalar:
Show scalar values
(ShowDev,
ShowNorm)
- ±SingleStack:
One SingleTrial figure for each variable
(SingleTrial)
- ±SingleTrial:
Sheets with lines for each trial
(SingleStack)
- ±SloppyMarker:
Set all markers to optional
(FullCycle)
- SubPlots <integer [Cols Rows]>:
Number of diagrams per page
(Sheet,
ColorType)
- SubSession <+/-, {folder names}>:
Include/exclude subsession folders
(C3DFile,
Ignore)
- TextDoc:
Show the help text
(Doc,
Help,
Inputs,
ShowJob,
ReleaseNotes)
- Ticks <integer>:
Number of interpolation ticks
(BiasAnalogEvent,
DownFilter)
- ±UseCache:
Use C3D file caching
(NewCache)
- UserFcn <string, @, struct>:
User-defined hack function
- UserNotes:
Read and edit notes of users
- Version:
Show version of MoMo
(ReleaseNotes)
- ±XLabel:
[% Gait Cycle] under each plot
- YLimFile <file>:
File for Y-limits of plots
(YLimMode)
- YLimMode <string>:
'compact', 'loose' or 'preset' Y-limits of plots
(YLimFile)
Note:
- This list is created automatically from MoMo's source code:
24-Nov-2018, MoMo 5.1.34
- "±Name" means a flag: "-Name" disables the
feature, "+Name" and "Name" enables it.
- Argument names are not case-sensitive and some synonyms are accepted, e.g.
"sheets", "Sheet" and "Graph" are equivalent.
- Parameters of arguments are enclosed in < and > here.
- See also: momo help.
- ±AllScalar:
Display all scalar variables
Usually only these variables are shown in the command window, which have the
output type 'sheet' defined in the model script.
Default: -AllScalar
See also: ShowScalar.
- ±Analog:
Evaluate data with analog frequency
If the active model script replies data with analog frequency in the output,
e.g. forces, they can be suppressed by -Analog. NOTE: Forces of the PlugInGait model have
video-frequency, so they are not concerned by -Analog.
Default: +Analog
See also: Dynamics,
EMG,
Scalar,
ShowHidden.
- ±Anonymous:
Encrypted person name on sheets
Instead of the person's name only its CRC32 checksum is displayed. This might
be useful for public presentations.
Default: -Anonymous
See also: ExamInfo.
- ±AutoFPlate:
MoMo searches force plate contacts
Usually the force plate contacts are defined in Vicon-WorkStation by
corresponding [FP*] fields in the trial-ENF. If the value of these fields is
set to 'auto' or with enabled AutoFPlate, MoMo tries to locate the stride and the
plate automatically. This is performed in the dynamic section of the model
script by calling the function moFPContact
(see there for more
help). This search is time-consuming, so it is recommended to do it once and
copy the results to the corresponding [FP*] fields.
Default: -AutoFPlate
See also: FPSafeBorder.
- BBAccept <string/cell string>:
Accepted BodyBuilder scripts
Specify accepted BodyBuilder script(s). This is useful, if the C3Ds have been
processed by several BodyBuilder scripts accidentally. Use 'any' or
'$anyBBScript' to accept everything. For more than one BB script use a cell
string. File extensions are ignored. Usually the model script determines
accepted models, so the command BBAccept
is for experts only.
Default: {}
See also: MarkerAccept,
ModelScript,
ModelClass,
ModelFlag.
- ±BiasAnalogEvent:
Smart analog event: half frame before video event
Use a smart guess for the initial analog event frame for normalization: The
video frequency, which is used for the event detection, is usually lower than
the analog frequency. Therefore the most likely event frame for analog data is
the half analog rate before the video-event. This frame is used, if it is
available. Since MoMo R4.02 analog biasing is enabled as default.
Default: +BiasAnalogEvent
- BlackOnWhite:
Color scheme for black/white printer
Background is white, foreground is black, lines in the diagrams get different
styles and patterns.
Default: ColorType = 'ColorOnWhite'
See also: ColorOnWhite,
ColorOnBlue,
ColorType.
- C3DFile <cell string>:
Specify used C3D files
C3D-Files to work with as cell string. Usually all files found in the current
folder are used. Rarely needed and tested. Better use a repelling list with Ignore.
Default: {}
See also: Ignore,
SubSession.
- C4D <[Trial indices]>:
Show trial as 3D movie, no sheets
If implemented in the model script, the trial data can be exported to ShowC4D
and displayed as 3D movie. Additional 3D-objects created in the model script
can be shown together with the usual markers, connections and so on. To save
time, calculations of means and standard deviations, creation of sheets and
log files are suppressed. Use C4Dadd if
the standard processing is wanted. The C4D
command leaves the session in the unsuccessful status "interrupted
(unknown)", because it is not sure if errors occur in standard
processing.
Default: [ ]
See also: C4Dadd.
- C4Dadd <[Trial indices]>:
Show trial as 3D movie
Same as the command C4D, but the standard
statistics, sheets and loggings are created in addition.
Default: C4DTrial = [ ]
See also: C4D.
- Cert:
Check integrity of MoMo's scripts
If MoMo passes the test functions CheckSyntax
,
UnitTest
and SelfTest, the
source code gets a certification. If any script is touched afterwards, this
certification expires. The command Cert show
the status of certification and a list of touched files. MoMo can run even
with an expired certification, but the author refuses any support of MoMo in
this case independent from the individual license conditions! Scripts in the
User-folder are not concerned in this mechanism.
See also: UserNotes.
- ±ClassEvent:
Draw event frame (e.g. ToeOff) into the plot
The average events for each measurement class are drawn as vertical lines in
the diagrams.
Default: +ShowCEvent
See also: ShowEvent,
ShowDev,
ShowNorm,
SampleEvent.
- ClassExport <[index]/struct/cell>:
Export class to other sessions
The values of evaluated classes can be exported to another session, e.g. for a
comparison between different examinations. Three types of parameters are
accepted: 1. A vector of class indices. 2. A struct with fields [Index],
[File] and [Title]. [Index] is a vector of class indices, [File] a cell string
with names of the exported files (default: empty string uses the name of the
class), [Title] a cell string with modified names (default: * is the class
name, so '*post' appends the string 'post' for example). 3. The fields as
described under 2. can be delivered as {N x 3} cell: {Index1, File1, Title1;
Index2, File2, Title2; ...}. Exported classes can be imported as a different
class index. Examples can be found in the text displayed by Doc.
Default: [ ]
See also: ClassImport.
- ClassImport <{index, FileName}/struct>:
Import evaluated class from other session
Exported class values can be added to the values of the current session. This
allows pre/post-OP comparisons, for example. The [index] need not equal the
original class index and it determines the color of lines in the diagrams. The
[FileName] can be relative or absolute. To import more than one class, create
a {n x 2} cell: {index1, FileName1; index2, FileName2; ...} an so on. A struct
with fields [Index] and [File] is also accepted, whereby [Index] is a double
vector and [File] a cell string. It is easier to export a session to the data
base and call ShowGLA
afterwards! (NOTE: ShowGLA
is
not included in each distribution)
Default: [ ]
See also: ClassExport.
- CleanUp:
Update MoMo's resource files (Admin only)
This command updates headers, dates and the contents of some resource files,
e.g. the list of arguments in the documentation. Because this can modify the
source code of MoMo, this command is reserved for the author and the local
MoMo administrator only.
See also: Doc,
Version,
ReleaseNotes,
Help.
- Clear:
Clear persistently stored data
Several functions of MoMo keep data specific to the running MoMo issue or user
defined settings, e.g. the current research model pointer and release and
version number inside MoMoG. If the user switches between different issues of
MoMo belonging to the same release (RX.Y.a to RX.Y.b) or changes the path of
the user-defined models with inigl
, some of these persistent data
can be corrupted. The Clear command resets
the corresponding functions after changing the path. Clearing is not necessary
usually and has no influence on the stability of MoMo. The Matlab function
'clear all' can be used alternatively without hurting MoMo, but other tools
could miss their initialization afterwards.
See also: Version,
Prefs.
- ±ColorBar:
Sheets with variables normalized to norm data
This command creates sheets containing variables normalized to norm data: c =
(Value - Value_norm) / Std_norm. These values are drawn as color-coded bars.
The values of static trials and ROM are displayed also.
Default: -ColorBar
- ColorOnBlue:
Color scheme for PowerPoint slides
The best readability for projected slides uses a blue background and light
foreground.
Default: ColorType = 'ColorOnWhite'
See also: BlackOnWhite,
ColorOnWhite,
ColorType.
- ColorOnWhite:
Color scheme for color printers
This uses a white background and colored lines in the diagrams. This is the
default scheme.
Default: ColorType = 'ColorOnWhite'
See also: BlackOnWhite,
ColorOnBlue,
ColorType.
- ColorType <string>:
Color type: BlackOnWhite/ColorOnBlue/ColorOnWhite
The fore- and background colors of the diagram sheets are adjusted for
printers/screen or presentations. The key-strings BlackOnWhite, ColorOnBlue, ColorOnWhite can be used directly without the ColorType command.
Default: 'ColorOnWhite'
See also: BlackOnWhite,
ColorOnBlue,
ColorOnWhite.
- DBCrop <string>:
Crop trajectories in ASCII files before and after events
Crop the trajectories of trajectories in ASCII trials before the first and
after the last events by a specified number of frames or seconds. The
parameter is a combination of the number and type: '5 frame', '0.1 sec',
'off'. If cropping is disabled by setting the type to 'off', the number is
ignored and the complete trial is exported.
Default: DBCropType = 'off'
See also: DBExport,
DBExportFcn.
- DBDest <path name>:
Destination folder for exported ASC files
Destination folder for output files produced by DBTrial and DBSession. If DBDest is empty (the default), the standard database
folder is used.
Default: ''
See also: DBExport,
DBExportFcn,
DBTrial,
DBSession,
PicDest.
- DBExport:
Standard data base export
Trials and the averages session are exported as ASC files for to the data
base. Therefore the function moCallExport
calls either the
generic function moDBExport
or any function defined by the
current model script or user input (see DBExportFcn). Use DBReplace to replace existing files without questions.
DBTrial and DBSession export trials or averaged sessions to DBDest.
See also: DBCrop,
DBTrial,
DBSession,
DBExportFcn,
DBDest,
DBReplace.
- DBExportFcn <function name or handle>:
Function for ASC export
The function for the ASC file export is specified skipping the standard
function defined in the model script. MoMo's built-in function
moDBExport
can be accessed as '$builtin'. A generic function
moDBExportGen
is called if neither the model nor the input
arguments defined a function, but this function has more experimental
character. It can be addressed also as '$generic'. The export of trials and
averaged sessions is activated by DBTrial
and DBSession. The destination folder
is set by DBDest. The command DBExport starts a standard data base
export.
Default: [ ]
See also: DBExport,
DBDest,
DBTrial,
DBSession,
DBTrialExt,
DBSessionExt.
- ±DBReplace:
Replace existing database files without asking
If this flag is enabled, during export of files to the database existing files
are replaced without confirmation.
Default: -DBReplace
See also: DBExport,
DBTrial,
DBSession,
DBExportFcn,
DBDest.
- ±DBSession:
Export averaged session as ASC file
Mean and standard deviations over all trials are written to an ASC file, if
this flag is enabled. The function for ASC export is determined in the model
script or by the input argument DBExportFcn. Single trials are exported by the flag
DBTrial.
Default: -DBSession
See also: DBExport,
DBTrial,
DBExportFcn,
DBDest,
DBReplace.
- DBSessionExt <string>:
Extension of exported Session files
There are 3 methods to define the file extensions for the data base export: 1.
in the model script, 2. by this input argument or 3. in a specific export
function defined by the model script or with DBExportFcn - with increasing precedence. If the
value is the empty string '', the default '.session' is used.
Default: ''
See also: DBTrialExt,
DBExportFcn.
- ±DBTrial:
Single trials in ASC format
Trials are exported in ASC format, if this flag is enabled. The function for
ASC export is determined in the model script or by the input argument DBExportFcn. The averaged session is
exported with the flag DBSession. To
export time-normalized cycles, use the DBExportFcn '$builtin', an output folder DBDest outside the database folders and the
Normalized flag.
Default: -DBTrial
See also: DBExport,
DBSession,
DBTrialExt,
DBExportFcn,
DBDest,
DBReplace.
- DBTrialExt <string>:
Extension of exported Trial files
There are 3 methods to define the file extensions for the data base export: 1.
in the model script, 2. by this input argument or 3. in a specific export
function defined by the model script or with DBExportFcn - with increasing precedence. If the
value is the empty string '', the default '.trial' is used.
Default: ''
See also: DBExport,
DBTrial,
DBSession,
DBSessionExt,
DBExportFcn,
DBDest.
- Debug <integer 0:4>:
Detail level of messages and warnings
The debug level can be an integer from 0 to 4. For 0 only necessary messages
and warnings are displayed. For higher levels standard settings are displayded
and the integrity of the evaluations are checked in addition. Warnings
appearing in a higher debug level only are usually not serious, but can help
to identify the source of problems.
Default: 0
See also: DebugDeep,
GUI,
Fast.
- ±DebugDeep:
Debug=4 and forward it to subfunctions
Usually the highest debug level 4 is not forwarded to the C3D routines to
reduce the number of messages. For extreme debugging DebugDeep sets Debug to 4 and enables exhaustive debugging in the fC3D
functions.
Default: -DebugDeep
See also: Debug,
GUI.
- ±DenseColor:
Colors for existing groups only
If this flag is enabled, only existing classes are considered in the colormap
of the sheets. E.g. if one side was not measured, a dense colormap may look
better.
Default: [ ]
- ±Desc:
Draw description pictures of current model
Sheets similar to the diagram sheets with a descriptive picture for each
variable are created. Therefore a valid session with the wanted model must be
chosen - a poor method, but it works and is seldom needed. The program
momoShowVars
displays some text as information about a model
script, e.g. names of input and output variables, flags and the version.
Default: -DescSheet
See also: ModelScript.
- Doc:
Show the HTML doc
The help text is shown in a web browser.
See also: Help,
Inputs,
ShowJob,
ReleaseNotes,
TextDoc.
- ±DownFilter:
Apply filter for downsampling (nTick < nFrame)
Trajectories are normalized to a specific number of ticks (e.g. 101). If a
cycle has -according to a high video frequency- more frames than ticks, noise
might be overemphasized by the usual linear interpolation. A soft filter is
recommended and enabled as default. DownFilter is of interest for video frequencies of
250Hz and cycles of about 1 second. A simple moving mean filter with a window
of 3 frames is applied currently.
Default: +DownFilter
See also: BiasAnalogEvent.
- ±Dynamics:
Evaluate dynamics (video-frequency)
"Dynamics" are all variables, which are processed with video
frequency. Depending on the model, forces can be sampled with analog or video
frequency. If only variables with analog frequency are of interest, use -Dynamics to disable the
"Dynamics".
Default: +Dynamics
See also: Analog,
EMG,
ShowScalar,
AllScalar,
ShowHidden.
- ±EMG:
Evaluate EMG
Allow/suppress calculation of EMG values. The model script must evaluate EMG
to use this feature.
Default: +EMG
See also: Analog,
Dynamics.
- ±ExamInfo:
Edit the patient/examination information
A dialog is opened to define the patient name, date of birth, date of
examination, weight, height and some notes. In addition the
"BaseName" is defined here, which is needed to recognize trial
files.
Default: -Edit
See also: ExamInfoOnly.
- ±ExamInfoOnly:
Editing ExamInfo without starting MoMo
This equals ExamInfo, but MoMo doesn't
process the session after editing the patient and examination information.
Default: -Stop
See also: ExamInfo.
- ±ExternDisp:
Allow external SuDisp channels
The output of MoMo is done by SuDisp
, which writes to logfile(s)
and the command window at the same time. Therefore SuDisp
opens
files and the screen as so called channels. Usually MoMo closes all open
SuDisp-channels on startup, to avoid writing to channels, which are not closed
by accident or after a crash. To allow some meta programs like
momoRapid
, momoSet
and SelfTest to keep their own active logfiles, the flag +ExternDisp disables the initial closing
of channels. Additionally warning
is enabled and
format
is set to a suiting values on disabled ExternDisp. See also: help SuDisp
.
Default: -ExternDisp
See also: LogFile,
Fast.
- ±Fast:
Faster processing by collecting the output
Matlab takes about 50% less time for processing a session, if the output to
the command window is written at once instead of showing it line by line. The
drawback o this fast mode is, that nothing is displayed in case of a crash.
Therefore Fast is disabled as default and if
any Debug level is set (even 0).
momoRapid
, momoSet
and momoNorm
enable
the fast mode usually, because the warnings are collected separately and a
crash needs a serious debugging at all.
Default: -Fast
See also: Debug,
ExternDisp.
- FPSafeBorder <double [mm]>:
Safety distance to force plate margins
If MoMo detects the cycle and plate of a force plate contact, this length in
mm is used as minimal distance between the force plates margins and all foot
markers. A contact is accepted if all foot markers are inside a rectangle of
the plate margins decreased by the value defined here. The default value is 10
mm. If the examiner is really sure, that a plate was hit, this can be reduced.
Considering that the markers have a certain distance from the skin, even -5 mm
could be valid, but a friendly warning will appear for negative length. A
model script can trust the [FP*] fields in the trial-ENF. If the C3D has only
one stride, this setting can be accepted without tests of the safe border (for
example the Elefant model). For multiple strides the check is necessary ever.
Default: [ ]
- ±FullCycle:
Dynamic trials must have all variables
A cycle of a dynamic trial is accepted only, if all dynamics variables are
valid (means existing and finite from initial to final frame of this cycle).
Actually it is safer to disable cycles with any gaps. But for some models
forces are copied to the dynamics section of C3Ds and it would be a shame to
ignore real dynamics data if the force plate wasn't touched. Therefore model
scripts of MoMo using the PlugInGait model of Vicon allow invalid trajectories
in cycles: FullCycle is [off].
Default: [ ]
- ±GUI:
Dialogs for user interaction
-GUI suppresses unnecessary dialog windows,
progress bars and so on. Some dialogs cannot be disabled, e.g. sheets. This
flag accelerates MoMo.
Default: +GUI
- Help <argument>:
Display MoMo's help
Without <argument>, this command displays a short menu with links to a
list of input arguments, help text, release notes and some other supporting
information. If <argument> is specified, a detailed description of the
input argument is shown.
See also: Doc,
Inputs,
ReleaseNotes.
- HideClass <[indices]>:
Hide classes on the diagrams
The values of all classes are calculated, but hidden classes are not shown in
the diagrams. The sheets offer a similar mechanism in the MoMo-menu.
Default: [ ]
- Ignore <[indices]>:
Indices of trials to ignore
Trials can be disabled by entries in the Trial-ENF (Class=Not For Use), by
renaming the file (e.g. 'Igno_Trial 15.c3d') or by appending the index (in
this case 15) to the vector defined here. When using MoMoG the variable Ignore is set by the buttons in the 'Trial'
section. Without +IgnoreClear the
values defined here are appended to the existing list of ignored trials. This
list is store in the ExamInfo file.
Default: [ ]
See also: IgnoreClear.
- ±IgnoreClear:
Clear current list of ignored trials in ExamFile
Use this with the Ignore command to save a
new list of ignored trials. If Ignore is
used without IgnoreClear, the new
indices are appended to the existing list.
Default: -IgnoClear
See also: Ignore.
- Inputs:
Show the possible input arguments
A list of input arguments is displayed.
See also: Help,
ShowJob,
Doc.
- Install:
Install MoMo license
MoMo needs an installation before running the first time on a certain
computer. For the first time MoMo is installed on a hard disk, the admin
password is needed. Afterwards the client password allows to add new clients
for a multi-user license. In case of a single-user license the client password
is needed to enable the license for a period of 3 months.
See also: License,
LicenseLog,
Cert.
- License:
Check current license
MoMo is no free software. It is distributed together with a license for a
specific location, number of users or temporal limit. This command answers the
conditions of the current license.
See also: Install,
Cert.
- LicenseDoc:
Show license document
Display the license document and customer information.
See also: Install,
License,
LicenseLog.
- LicenseLog:
Show license log (Administrator only)
All actions of the installation procedure are recorded in a log file. The
command LicenseLog show this log file
in the Windows Explorer (or a similar tool under Unix).
See also: Install,
License,
LicenseDoc.
- LogFile <file>:
File name of process protocol
During processing a session MoMo writes a copy of the output to the command
window to a log file in the session folder. The user can redirect this file to
another file name. The creation of the, log file can be suppressed by setting
the file name to the empty string ''.
Default: 'momoLog.txt'
- LookFor <string>:
Search string in MoMo's help text
If you look for a specific task for MoMo without knowing the command name, try
momo LookFor <string>
. This searches the help texts of all
commands and displays all matching command names. Another way would be
searching the documentation in an editor with Doc.
See also: Help,
Doc.
- MarkerAccept <cell string of names>:
Accepted marker-sets of trials
If the marker-set of a Trial matches one of the strings in this list, the
Trial is accepted. Usually this is defined by the model script, but this
argument allows to skip this. Use the string 'any' or '$anyMarker' to accept
any marker-set - but this doesn't seem to be useful.
Default: {}
See also: ModelClass,
ModelFlag,
ModelScript,
BBAccept.
- ModelClass <class name>:
Specify the ModelClass
MoMo can find the best matching model for a session by names of applied
marker-sets, BodyBuilder scripts and Subjects of C3D files. This
auto-detection starts either the first time a session is processed or if the
key '$auto' is used as class name with the ModelClass command. This command can set the model
class of a session to any class recognized by the function
moModelManager
. After successful processing MoMo writes the model
class in the status file for future access of the session. Specification of a
ModelScript implicitly set the ModelClass according to the corresponding
value of this script. The model class 'Research' is not connected to a
specific model script, but the user can choose an (experimental) script. See:
help moResearchModel
.
Default: ''
See also: ModelFlag,
ModelScript,
MarkerAccept,
BBAccept.
- ModelFlag <flags as cell string>:
Set ModelFlag
Each model can define a set of flags, e.g. [Force], [EMG] and so on. The user
can switch these flags according to special questions or properties of a
session. For the Gait model, upper body and forces can be disabled for
example. To enable one flag, e.g. [Force], use: momo ModelFlag
+Force
. If more flags are wanted, use a cell string as parameter:
momo('ModelFlag', {'+Force', '-Trunk'})
. A struct is also
possible: momo('ModelFlag', struct('Force', 1, 'Trunk', 0))
. The
flag 'default_' enables the default values of the model script, 'clear_'
removes flags, which are not known by the current model. Flags set once are
saved in the status file MoMoStatus.mom and influence all following accesses
to this session.
Default: [ ]
See also: ModelClass,
ModelScript,
MarkerAccept,
BBAccept.
- ModelScript <script name>:
Specify the model script
Usually MoMo find a suiting model script for a session based on marker sets
and BodyBuilder models of each trial. But the user can instruct MoMo to use
another script instead. Defining the ModelClass is possible also.
Default: ''
See also: ModelClass,
ModelFlag,
MarkerAccept,
BBAccept.
- ±NewCache:
Allow creation/updating the cache file
MoMo's cache file stores the contents of C3D and ENF files to accelerate the
program execution, see UseCache. With -NewCache existing cache files are
imported, but not updated and new cache files are not created. This is useful
e.g. in momoRapid, which processes a large number of sessions and creation of
cache files would be a waste of time. To force MoMo to recreate a cache file,
call MoMo with +NewCache (this is the
default) after deleting the cache file: moCacheFile('Delete',
<session path>)
. Further help: help moCacheFile
.
Default: +NewCache
See also: UseCache.
- NoMetaCommand:
Reject calls of external commands
Some arguments do not start MoMo's engine to process a session, but external
programs, e.g. Version, Cert, Install. If
called from MoMoG in the expert mode, this would lead to confusions and NoMetaCommand disables the execution
of such special functions.
- ±Normalized:
Export time-normalized trajectories
Usually the normalized trajectories are not exported, because they're not
needed after calculating mean and standard deviations. But if normalized
trajectories are wanted in the ASC files, this can be done with the commands
Normalized and DBTrial. This can have side-effects, so use it with
care.
Default: -Normalized
- NormDev <string>:
Type of norm data deviation
The norm data can be displayed with different deviations on the sheets: Std,
Std2, Uncert, Range, Mean.
Default: 'std'
See also: ShowNorm,
NormFile.
- NormFile <file>:
File with norm data
Usually the model script defines a suiting norm data file, but the user can
skip this. The norm data file can be created with a different model, but only
variables with matching names will have areas with norm value in the diagrams
in this case. Use momoNorm
to create a norm data file.
Default: ''
See also: ShowNorm,
NormDev.
- ±OpenGL:
Use OpenGL as renderer of diagrams
OpenGL as renderer allows transparent areas for standard deviations on the
sheets. This looks nice but it has some drawbacks: drawing and resizing the
window is relative slow, PDFs cannot be scaled, printing can fail. The exact
behavior depends on the versions of Matlab and GhostScript, the used drivers
for printer and graphic card. Matlab has a built-in software OpenGL renderer
if the driver of the operating system fails: feature('UseGenericOpenGL',
1)
. Due to this eventual problems, the author cannot guarantee, that
MoMo can create OpenGL graphics!
Default: -OpenGL
- ±PDF:
Copy diagrams to PDF file
The sheets are saved as a PDF file. The command PDFFile defines the name of the PDF files. MoMo asks for
a name, if it was not specified. GhostScript must be installed and its path
defined by GhostScript_local('$edit')
to allow PDF creation.
Default: -PDF
See also: PDFFile,
SheetClose.
- PDFFile <file>:
File name for PDFs
If PDFs are exported by the command PDF the user can specify a file name. The
default name is 'Diagrams.pdf' in the current session folder.
Default: ''
See also: PDF,
DBDest.
- PersonPic <file>:
Graphics file in the session folder, any format
MoMo can print a picture on the diagram sheets under certain circumstances.
This command can specify a picture, otherwise the file 'PersonPic.jpg' inside
the current session folder is used if existing.
Default: 'PersonPic'
- PicDest <folder name>:
Destination for saved diagrams
Saved diagrams are written into this folder. Saving is activated either by the
input PicSave or manually in the sheet
menu. The initial string '*\' in the folder name is replaced by the standard
folder, which is the session folder usually, and <MoMoData>\Results or
the Results\ folder in <MoMoData>\<Sets> for sessions-sets like
norm data (see MoMo_local
).
Default: '*\Diagrams'
See also: PicSave,
PicFmt,
DBDest.
- PicFmt <PNG, EPS, BMP, TIF, JPG...>:
Format or exported pics
This determines the file format of saved diagrams for the PicSave command. All formats supported by Matlab can be
used: see Matlab's imformats
. The author prefers and recommends
PNGs: small file size, high compatibility and transparent background.
Default: 'png'
See also: PicDest,
PicSave,
PicSize,
PicTransp.
- ±PicSave:
Export pictures of single diagrams
The saved files can be imported for papers or presentations. The file format
is determined with PicFmt, the size with
PicSize. Transparent background can be
enabled with PicTransp. The sheets
offer a menu to save single diagrams, too.
Default: -Pic
See also: PicFmt,
PicSize,
PicTransp,
PicTitle,
SheetClose.
- PicSize <integer [Width, Height]>:
Size of saved diagrams
[360, 240] yield nice small plots. Smaller sizes can crop some text.
Default: [360, 240]
See also: PicSave,
PicFmt,
PicTitle.
- ±PicTitle:
Titles over saved diagrams
On saved diagram files it is sometimes nicer to avoid titles. E.g. if graphics
are included in a Word table, the documents font looks better.
Default: +PicTitle
See also: PicSave,
PicSize,
PicFmt.
- ±PicTransp:
Transparent background of saved diagrams
It is nice to let PowerPoint import diagrams with transparent background. If
transparency is available for a specific file format can be checked by the
flag [Alpha] in Matlab's imformats
. EPS files use transparent
background ever.
Default: -PicTransp
See also: PicSave,
PicFmt,
PicSize.
- ±PlaneChar:
Plane character in diagram titles
The title of each diagram can include the character S, F and T for sagittal,
frontal and transversal plane. If such hints are preferred permanently, it is
better to redefine the titles directly.
Default: +PlaneChar
- ±Please:
Polite mode
Insert this command if you want to be polite. When started politely, MoMo
forgives some mistakes in the input arguments.
Default: -Polite
- Prefs:
Dialog to define preferences
A dialog is opened to define variables, which are kept for future Matlab
sessions, e.g. the MoMoData folder and the location of the GhostScript
executable. This is started at the installation process, but when working in a
network it is recommended to define the preferences on each computer running
MoMo. Otherwise the non-expert user might be confused by the dialog windows
appearing at the auto-configuration.
See also: Install.
- ReleaseNotes:
Display the current release notes
A release history for programmers and administrators is displayed. For users
the "Changes" chapter of the documentation is better: momo doc -> changes.
See also: Help,
Doc.
- ±Rubber:
Rubber-banding for mean trajectories (future)
Without rubber-banding all trajectories are at first normalized to the number
of Ticks frames and then the mean is
calculated. If the event times differ significantly between the trials, peak
value at the events can be smoothed irregularly. To avoid this rubber-banding
applies a non-linear transformation of the time for each trajectory such, that
all event times are move to the mean event time. It remains a point of
discussion, if rubber-banding preserves or destroys information. NOTE: This is
not implemented yet.
Default: -Rubber
See also: Normalized,
Ticks.
- ±Run:
Start engine
This is rarely needed, but -Run can stop MoMo
after parsing the inputs. Perhaps this can help debugging.
See also: Help.
- RunLog:
Display MoMo log file
This displays the log file, which lists dates and sessions of all activities
of MoMo. Use the popup-menu on the bottom to look into older log files. The
log files are written to '<MoMoData>/Logs/MoMoR5_Run<Date>.log'.
The folder for log files is determined by MoMo_local('LogPath')
.
- ±SampleEvent:
Show events of each sample
The event time for each sample (trial or for classes of session-sets) is drawn
as short line at the bottom of the diagrams. Events are used for normalization
and for gait analysis it's simply the toe-off.
Default: +ShowSEvent
See also: ClassEvent,
ShowEvent,
ShowDev,
ShowNorm.
- ±Scalar:
Calculate scalar variables
Allow calculation of scalar variables like time-distance-parameters. If this
is disabled, the commands ShowScalar
and AllScalar are ignored.
Default: +Scalar
See also: ShowScalar,
AllScalar,
ColorBar.
- SelfTest:
Start the self test
MoMo can test all of its functions and its toolboxes for input and output.
This test needs some minutes and must be started after Installation or changes
of MATLAB or the operating system.
- SessionPath <path name>:
Path of session folder
Define the session folder. The default is the current folder.
- ±Sheet:
Display diagram sheets
The creation of sheet can be disabled with -Sheet.
Default: +Sheet
- ±SheetClose:
Close sheets automatically
If this flag is enabled, created sheets are closed automatically after the
processing the session. This is useful for the automatic creation of
PDF-sheets for a big number of sessions. If the sheets are not closed, Matlab
gets terribly slow caused by the memory consumption and event handling. See
the functions zuMoMo
and zu
to close sheets
manually.
Default: -SheetClose
See also: Sheet,
PDF,
PicSave.
- ±ShowDev:
Show (standard) deviations in diagrams
The MoMo-menu on the diagram sheets can toggle the visibility of the deviation
areas, too.
Default: +ShowDev
See also: HideClass,
ShowNorm.
- ±ShowEvent:
Class and sample events in diagrams
Control the visibility of events for each class and sample together. This
equals +ClassEvent and +SampleEvent. See there for default values.
See also: ClassEvent,
SampleEvent.
- ±ShowHidden:
Show even diagrams of type [hide]
The model script can define variables which are not shown on the diagram
sheets usually. This was needed for complete exports to the data base,
although some variables had no controlled quality yet. Use ShowHidden to display even hidden variables. The
program momoShowVars
explains the hidden/unhidden value of
variables.
Default: -ShowHidden
See also: ShowEvent,
ShowDev,
ShowNorm.
- ShowJob:
Show initial settings of MoMo's Job struct
Although this was thought for debugging only, it can provide some impressions
how to control MoMo.
See also: Inputs,
Help.
- ±ShowNorm:
Show norm values in diagrams
The values of a normal group of persons is shown as gray area. The used norm
group depends on the model script or the input arguments. In the MoMo-menu on
the diagram sheets the norm areas can be hidden, too.
Default: +ShowNorm
See also: NormFile,
ShowEvent,
ShowDev.
- ±ShowScalar:
Show scalar values
On the left hand of each diagram sheet some scalar variables are shown. If the
user wants to hide them for unknown reasons, -ShowScalar can suppress them.
Default: +ShowScalar
See also: ShowDev,
ShowNorm.
- ±SingleStack:
One SingleTrial figure for each variable
For an exhaustive control of trial data, one figure for each variable is
created. Each class gets an own axis. See SingleTrial to open sheets with single trial plots.
Default: -SingleStack
See also: SingleTrial.
- ±SingleTrial:
Sheets with lines for each trial
The diagrams of the sheets have one line for each trial instead of mean and
standard deviation to control the inter-trial variability. Use SingleStack to create one window for each variable.
Default: -SingleSheet
See also: SingleStack.
- ±SloppyMarker:
Set all markers to optional
With enabled SloppyMarker all
markers are optional and a trial is not refused if some or all markers are
missing. The computed parameters depending on these markers are set to NaN.
Disable FullCycle, if the model enables
it, because otherwise all cycles with an incomplete marker set are rejected.
Default: -SloppyMarker
See also: FullCycle.
- SubPlots <integer [Cols Rows]>:
Number of diagrams per page
Usually the applied model script determines the number of diagrams on each
sheet. This value can be skipped by the input argument SubPlots with the parameter [Cols, Rows] with integer
values. The empty matrix [ ] is the default parameter, which let the model
script define the layout.
Default: [ ]
See also: Sheet,
ColorType.
- SubSession <+/-, {folder names}>:
Include/exclude subsession folders
This command allows either to consider or to ignore a specified list of
subsessions. For exclusion use -SubSession, for inclusion +SubSession. The folder names are relative to the
session path, e.g. 'Group 1' and the session path itself is '.'. Including
folders from a different session is not sufficiently tested!
Default: [ ]
See also: C3DFile,
Ignore.
- TextDoc:
Show the help text
The help text is opened in the editor. Doc
displays the newer HTML help text.
See also: Doc,
Help,
Inputs,
ShowJob,
ReleaseNotes.
- Ticks <integer>:
Number of interpolation ticks
The cycles (strides) are normalized to this number of time-steps. A small
number of ticks destroys information, a high number increases the memory
consumption and size of exported ASC files.
Default: 101
See also: BiasAnalogEvent,
DownFilter.
- ±UseCache:
Use C3D file caching
To increase speed of reading the session data, the processed contents of all
C3D and ENF files can be written to a cache file. This file is written to the
local TEMP directory of the user. If a session is processed only once, writing
the cache file wastes a lot of time and can be suppressed by the disabling the
UseCache flag. Old cache files can be
deleted by the function moCacheFile
, see help
moCacheFile
. UseCache has
priority before NewCache.
Default: +UseCache
See also: NewCache.
- UserFcn <string, @, struct>:
User-defined hack function
A set of function is defined, which modifies MoMo's calculations for
experimental additions. Currently the callback functions are called only for
the evaluated data before the normalization. This is used to calculate the
derivatives of all output using the function User_Derive
. The
input can either be the name of the function as string, a function handle or a
struct, which equals exactly the output of a function in the UserFcn syntax.
For more help see: UserFcn_Template_
and help
moUserFcn
.
Default: [ ]
- UserNotes:
Read and edit notes of users
This opens a text file for editing. It is thought for tricks, ideas and
questions. In addition the user-notes file determines the current user folder,
which contains user defined models, color-styles and tools. The current user
folder can be obtained with: moPath User
. See: help
moUserNotes
.
- Version:
Show version of MoMo
Version number, release number, issue, date of publication and path of MoMo's
engine are displayed. Further help: help moVersion
.
See also: ReleaseNotes.
- ±XLabel:
[% Gait Cycle] under each plot
For exported diagram files the labels of X-axes can be enabled by +XLabel. With -XLabel these labels are hidden.
Default: -XLabel
- YLimFile <file>:
File for Y-limits of plots
Use a file with fixed Y-limits for plots of the active model. If the file name
is the empty string or '$noFile' auto Y-limits are enabled, otherwise limits
are fixed (exception: YLimMode
explicitly defined). This argument skips the file name definition of the model
script.
Default: ''
See also: YLimMode.
- YLimMode <string>:
'compact', 'loose' or 'preset' Y-limits of plots
The 'compact' mode set the Y-limits of the diagrams to fill about 90% of the
axis. 'loose' let Matlab choose nice limits. 'preset' enables pre-defined
limits stored in the file defined by YLimFile or in the model script. The value defined in
the inputs overrides the value defined in the model script.
Default: ''
See also: YLimFile.
For the evaluation of studies and the creation of norm data, the average
and the deviations of a set of sessions must be computed. This can be done using
the database (if available: dbMeanGroups
, explained elsewhere)
or inside MoMo with momoSet
.
A session-set is defined by an M-file, which defines the involved sessions,
parameters for processing the sessions with MoMo and the measurement classes to
be combined. The later means, that e.g. for the creation of norm data of healthy
persons usually the right and the left foot can be collected together. In
opposite to that, a study about different all measurement conditions (shoes)
need to be evaluated separately.
The M-files, which defines session-sets, are saved to the path
<MoMoData>Sets\R5\<Study>. The function cdmomoset
changes the current path to this folder. Either modify an existing file or fill
up the template file MoMoSetTemplate_.m
to define new
session-sets.
Then the session-set is calculated with
momoSet('*\<Study>\<FileName>')
. The string '*\' is
replaced with the path <MoMoData>Sets\R5\, but a complete path can be
used also, of course. In addition momoSet
accepts inputs with
arguments for MoMo and for the output of files and sheets.
The average of sessions (called mean_sessions) is
defined as following:
At first the mean and the standard-deviation over all trials is calculated
for each session separately (called mean_trials and
std_trials). Then mean_sessions is
the mean of all mean_trials. This is produced together
with the standard deviation and the "uncertainty" between the
mean_trials.
This uncertainty is the geometrical sum of the std_trials
and it is the error for the calculation of the
mean_sessions based on the propagation of errors of the
mean_trials.
For valid measurements uncertainty_sessions must be
"much" smaller than std_sessions. Otherwise
the measurement error inside each session is greater than the difference
between the subjects.
The function
momoNorm
is equivalent to
momoSet
except for the folder the results are saved into:
momoSet
saves
files to the subfolder "Results" in the folder of the defining
function of the session-set,
momoNorm
writes to
"<MoMoData>\Norm"
(see:
MoMo_local,
Setup MoMoData path,
momo input:
NormFile).
To process a list of sessions separately, that means without calculating
statistics between the sessions, use momoRapid
. This can be
useful, if a new variable is inserted in a model script. Without further
arguments, momoRapid
suppresses the output of sheets and the
display of progress bars to save time, but a list of arguments for MoMo can
be defined. e.g. to enable the creation of PDFs or to apply a new model.
The function momo
can reply the calculated session as output
argument. These data can be used for further calculation, e.g. by
momoTable
, which can create a table of values to certain time
points or intervals and calculate CMC values between and inside sessions.
The experimental function HDTool
is an example of how to extract
data from processed MoMo sessions. It calls moGetSession
to get
the evaluated data and defines a simply syntax to get values of trajectories
to specific times of the gait cycle. Feel free to modify HDTool
for your demands. Remember, that the struct replied by moGetSession
and momo
can change with the MoMo version.
A list of session folders can be obtained by the function
moFindSession
. The input is either a base folder and all subfolders
are searched recursively, or a cell string of folder names to search in. Session
folders are recognized by the session-ENF files, which match the file filter
"'*.Session*.enf'" (or similar: as defined in
moENIDef
).
(
new: 22-Aug-2009)