Switch to side-by-side view

--- a
+++ b/Tools/AnyMocap/TrialSpecificData_Defaults.any
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE
+// It contains default values which can be customized elsewhere. 
+// Usually in the file: #include "<MOCAP_TRIAL_SPECIFIC_DATA>" <-- double click to open it.
+
+Main.ModelSetup.TrialSpecificData = {
+  
+  /// This is the name of the trial c3d file without extension
+  AnyStringVar  TrialFileName ??= MOCAP_NAME_MAINFILEDIR;
+  
+  /// The calibraiton filename (static/dynamic) from which to load the
+  /// the optimized parameters.
+  AnyString LoadParametersFrom ??= {TrialFileName};
+  
+  
+  /// This the C3D frame where the analysis starts
+  /// Defaults to the first frame of the C3D file
+  AnyInt FirstFrame ??= .C3DFileData.Header.FirstFrameNo ;
+  /// This the C3D frame where the analysis ends 
+  /// Defaults to the last frame of the C3D file
+  AnyInt LastFrame ??= .C3DFileData.Header.LastFrameNo ;
+  
+  /// tStart specifies the time of the analysis. Setting this overrides 
+  /// the 'FirstFrame' value
+  AnyFloatVar tStart ??= FirstFrame/.C3DFileData.Header.VideoFrameRate;
+  /// tEnd specifies the tEnd time of the analysis. Setting this overrides 
+  /// the 'LastFrame' value
+  AnyFloatVar tEnd ??= LastFrame/.C3DFileData.Header.VideoFrameRate;
+  
+  /// nStep specifies the number of steps to use in the analysis. 
+  AnyIntVar nStep ??= round(.C3DFileData.Header.VideoFrameRate*(tEnd-tStart)+1);
+  
+  //AnyFloat Sam = Main.ModelSetup.C3DFileData.Points.Abscissa.Sample;
+  //AnyFloat idx = DesignVar(1.0*Main.Main.ModelSetup.TrialSpecificData.tStart*.C3DFileData.Header.VideoFrameRate);
+  //AnyIntArray myval = iffun(lteqfun(idx, Sam), 0, 1);
+  //AnyIntVar idx_tStart = eqfun( round(Main.ModelSetup.C3DFileData.Points.Abscissa.Sample), {round(Main.Main.ModelSetup.TrialSpecificData.tStart*.C3DFileData.Header.VideoFrameRate)});
+     
+  /// Convergence tolerance used in the parameter optimization.
+  AnyVar ParameterOptimizationConvergenceTol ??= 1e-4;
+
+};