visual3d:documentation:pipeline:metric_commands:temporal_distance_calculations_for_gait
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:temporal_distance_calculations_for_gait [2024/07/03 17:29] – removed sgranger | visual3d:documentation:pipeline:metric_commands:temporal_distance_calculations_for_gait [2025/05/20 18:23] (current) – Linked to Metric_Compute_Temporal_Distance commmand page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Temporal Distance Calculations for Gait ====== | ||
+ | |||
+ | Visual3D calculates a set of for temporal and distance information based on a set of 4 gait events (Right and Left Heel Strike and Toe Off). These spatiotemporal metrics are part of the common cohort of [[https:// | ||
+ | |||
+ | **Notes**: | ||
+ | * If the Events do not exist, the metrics will return values of zero. | ||
+ | * If a Right and Left foot segment do not exist, stride length and stride width cannot be computed. | ||
+ | * The treadmill unit vector refers to the Anterior Direction of walking. | ||
+ | |||
+ | ===== Temporal Distance Dialog ===== | ||
+ | |||
+ | ^ Dialog ^ Description ^ | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |{{: | ||
+ | |||
+ | ===== Reporting Temporal Distance Metrics ===== | ||
+ | |||
+ | Two chart styles exist for reporting temporal distance metrics: horizontal and vertical. The latter allows the metrics to be compared against control data. | ||
+ | |||
+ | ==== Report TD Horizontal Chart ==== | ||
+ | |||
+ | Temporal distance metrics can be reported graphically in the [[visual3d: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Report TD Vertical Chart ==== | ||
+ | |||
+ | Temporal distance metrics can also be reported vertically, which allows the metrics to be linked to and compared against a control data set. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The name of the metric is the same as the Temporal Distance metric signal names created automatically for the report (only the suffix MEAN is removed). There are many ways to create these GLOBAL METRIC signals, but many labs have numbers hard coded. The following example creates a metric signal with 3 components (mean, min, max): | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ^ Dialog ^ Description ^ | ||
+ | | {{: | ||
+ | |||
+ | ===== Metrics Computed ===== | ||
+ | |||
+ | The temporal distance calculations use snippets of the gait cycle to compute averages for each part. If a range is missing, that part will not be calculated. | ||
+ | |||
+ | ==== Stance Time ==== | ||
+ | |||
+ | The stance time for a given side of the body is the portion of the gait cycle when that side's leg is in contact with the ground. It is calculated as the time from that foot's heel strike event to its toe off event. | ||
+ | |||
+ | < | ||
+ | Right Stance Time = RHS-RTO | ||
+ | Left Stance Time= LHS-LTO | ||
+ | </ | ||
+ | |||
+ | ==== Swing Time ==== | ||
+ | |||
+ | The swing time for a given side of the body is the portion of the gait cycle when that side's leg is not contacting the ground. It is calculated as the time from that foot's toe off event to its heel strike event. | ||
+ | |||
+ | < | ||
+ | Right Swing Time= RTO-RHS | ||
+ | Left Swing Time= LTO-LHS | ||
+ | </ | ||
+ | |||
+ | ==== Step Time ==== | ||
+ | |||
+ | The step time for a given side of the body is the portion of the gait cycle between the opposite side's heel strike event and the given side's heel strike event. | ||
+ | |||
+ | < | ||
+ | Right Step Time= LHS-RHS | ||
+ | Left Step Time= RHS-LHS | ||
+ | </ | ||
+ | |||
+ | ==== Double Limb Support Time ==== | ||
+ | |||
+ | The double limb support time for a gait cycle is the total time where both feet are in contact with the ground. This is the sum of an initial double limb support phase and a terminal double limb support phase. | ||
+ | |||
+ | < | ||
+ | Right Cycle Double Limb Support = Right Initial Double Limb + Right Terminal Double Limb | ||
+ | Right Initial Double Limb= RHS to LTO | ||
+ | Right Terminal Double Limb= LHS to RTO | ||
+ | </ | ||
+ | |||
+ | The global mean double limb support time (stored in the global workspace as METRIC:: | ||
+ | |||
+ | **Note**: the initial and terminal double limb support phases are inverted between the left and right sides of the body. | ||
+ | |||
+ | < | ||
+ | Left Initial Double Limb Support (stance) = Right Terminal Double Limb Support (stance) | ||
+ | Left Terminal Double Limb Support (stance) = Right Initial Double Limb Support (stance) | ||
+ | </ | ||
+ | |||
+ | ==== Cycle Time ==== | ||
+ | |||
+ | Cycle time is computed as an actual and computed. Actual uses the actual stride length / stride time. Computed speed uses the average of all the parts of the gait cycle which are seen, and sums up the parts. This is more accurate since more parts are used in the computation, | ||
+ | |||
+ | ==== Flight Time ==== | ||
+ | |||
+ | Flight time is the average time from LTO to RHS (ensuring no LHS or RTO events occur between LTO and RHS) and RTO to LHS (ensuring no RHS or LTO events occur between RTO and LHS). | ||
+ | * Left flight time is calculated from LTO to RHS. | ||
+ | * Right flight time is calculated from RTO to LHS. | ||
+ | |||
+ | ==== Stride Length ==== | ||
+ | |||
+ | Stride length is the distance between proximal end position of the foot at ipsilateral heel strike to the proximal end position of the foot at the next ipsilateral heel strike. Stride length and width requires a walking direction to be computed, so at least 1 completed stride needs to be present. | ||
+ | |||
+ | === Right Stride Length === | ||
+ | |||
+ | Right Stride length is defined as the length of the Right Stride vector from the Proximal End of the Right Foot Segment at successive RHS events. Right Stride Length Count is the number of Right Strides. | ||
+ | |||
+ | === Left Stride Length === | ||
+ | |||
+ | Left Stride length is defined as the length of the Left Stride vector from the Proximal End of the Left Foot Segment at successive LHS events. Left Stride Length Count is the number of Right Strides. | ||
+ | |||
+ | === Stride Length Count === | ||
+ | |||
+ | Stride Length Count is the sum of Right Stride Length Count and Left Stride Length Count. | ||
+ | |||
+ | === Treadmill === | ||
+ | |||
+ | If the person is walking on a treadmill, the distance travelled by the belt is added to the measured distance. | ||
+ | |||
+ | ==== Stride Width ==== | ||
+ | |||
+ | Stride width is the medio-lateral distance between proximal end position of the foot at ipsilateral heel strike to the proximal end position of the foot at the next contralateral heel strike. Calculated by taking a stride vector, and the step in between, and computing the cross product (distance between the stride vector and the opposing step (heel) position | ||
+ | |||
+ | Left Stride Width is the perpendicular distance from the proximal end of the Left foot segment to the Right Stride vector while Right Stride Width is the perpendicular distance from the proximal end of the Right foot segment to the Left Stride vector. Visual3D doesn' | ||
+ | |||
+ | ==== Step Length ==== | ||
+ | |||
+ | Step length is the distance between proximal end position of the contralateral foot at the previous contralateral heel strike to the proximal end position of the ipsilateral foot at the ipsilateral heel strike. This is calculated as the distance in the walking path direction. If the person is walking on a treadmill, the distance travelled by the belt under the stance foot is added to the measured distance. | ||
+ | |||
+ | ==== Speed ==== | ||
+ | |||
+ | Speed is computed using the actual stride length / actual stride time. If there are no completed strides, no speed can be computed since the stride distance can't be computed using parts. | ||
+ | |||
+ | ==== Statures/ | ||
+ | |||
+ | Average speed divided by the subject height | ||
+ | |||
+ | ==== Cadence ==== | ||
+ | |||
+ | Cadence is the rate at which a person walks, expressed in steps per minute. | ||
+ | |||
+ | < | ||
+ | Left Steps Per Minute = 60 / [[# | ||
+ | Right Steps Per Minute = 60 / [[# | ||
+ | </ | ||
+ | |||
+ | ===== Changing the text in the temporal distance chart ===== | ||
+ | |||
+ | In the folder in which you have placed Visual3D.exe, | ||
+ | |||
+ | The contents of this ini file containing a mapping from the text used internally in Visual3D to the text that appears in the report graph. The text appearing to the right of the " | ||
+ | |||
+ | **Temporal Distance**\\ | ||
+ | **Step Length Prompt=**Left Step Length / Right Step Length\\ | ||
+ | **Step Time Prompt=**Left Step Time / Right Step Time\\ | ||
+ | **Left Side Time Prompt=**Left Stance Time / Left Swing Time\\ | ||
+ | **Right Side Time Prompt=**Right Stance Time / Right Swing Time\\ | ||
+ | **Stance Time Prompt=**Left Stance Time / Right Stance Time\\ | ||
+ | **Swing Time Prompt=**Left Swing Time / Right Swing Time\\ | ||
+ | **Cycle Time Prompt=**Left Cycle Time / Right Cycle Time\\ | ||
+ | **Steps per Minute Prompt=**Left Steps per Minute / Right Steps per Minute\\ | ||
+ | **Strides per Minute Prompt=**Left Strides per Minute / Right Strides per Minute\\ | ||
+ | **Speed=**Speed\\ | ||
+ | **Stride=**Stride\\ | ||
+ | **Width=**Wid\\ | ||
+ | **Length=**Len **Cycle Time=**Cycle Time\\ | ||
+ | **Computed=**Computed\\ | ||
+ | **Actual=**Actual\\ | ||
+ | **Measure=**Measure\\ | ||
+ | **StdDev=**StdDev\\ | ||
+ | **Left=**Left\\ | ||
+ | **Right=**Right\\ | ||
+ | **Step Length=**Step Length\\ | ||
+ | **Step Time=**Step Time\\ | ||
+ | **Stance Swing Time=**Stance/ | ||
+ | **Left Stance=**Left Stance\\ | ||
+ | **Left Swing=**Left Swing\\ | ||
+ | **Right Stance=**Right Stance\\ | ||
+ | **Right Swing=**Right Swing\\ | ||
+ | **Stance Time=**Stance Time\\ | ||
+ | **Swing Time=**Swing Time\\ | ||
+ | **Double Limb Support Time=**Double Limb Support Time\\ | ||
+ | **Right Initial Double Limb Support Time=**Right Initial Double Limb Support Time\\ | ||
+ | **Right Terminal Double Limb Support Time=**Right Terminal Double Limb Support Time\\ | ||
+ | **Flight Time=**Flight Time\\ | ||
+ | |||
+ | ===== Subject computation using subject name/prefix parameters ===== | ||
+ | |||
+ | Versions of Visual3D more recent than v2022.08.1 support [[visual3d: | ||
+ | |||
+ | Older versions of Visual3D will not support the subject prefix extensions of this command and will treat each CMO/Z file as a single subject. In this way, the temporal and distance metrics are computed in the CMO/Z GLOBAL for the subject processed within that CMO. In the same manner, when computing the temporal and distance metrics across a library of subjects, each CMO/Z is treated as a single subject and then the subject averages are computed across CMO/Z files and placed into the workspace GLOBAL for the overall mean values across subjects. | ||
+ | |||
+ | ===== Mimicking the Command ===== | ||
+ | |||
+ | These calculations can be mimicked by implementing them manually using [[Visual3D: | ||
visual3d/documentation/pipeline/metric_commands/temporal_distance_calculations_for_gait.1720027748.txt.gz · Last modified: 2024/07/03 17:29 by sgranger