Table of Contents

Load C3Ds Dialog

To load data in Sift you will need to have created CMZ files, which are compressed Visual3D workspaces that contain both pure data and calculated values. If you are familiar with Visual3D, you may already know how to create CMZ files in the Visual3D interface. Sift's Build CMZ feature automates the generation of CMZ files so that C3D files can be directly loaded without having to initially create CMZ files one by one. The Build CMZs feature can be accessed using the Load C3Ds button on the Load Page in Sift.

Build CMZ Dialog - Generic Builder

Clicking the “Load C3Ds” button on the Load page will bring up the GUI shown to the right, including the Generic CMZ Builder and the Theia Builder. This section focuses on the generic CMZ builder. There are four types of inputs that can be used to build a CMZ for the generic builder:

  1. CMZ Directory: This should be set to the folder where all of the C3D files that need to be included in the CMZ exist, including static and dynamic files. If the folder contains other folders with C3D files inside, all of them will be included as well. “Browse” opens a file picker dialog to help you find it.
  2. Metadata File: The metadata file goes here. “Browse” opens a file picker dialog to help you find it. Expected type is .csv.
  3. MDH File: The model file goes here. “Browse” opens a file picker dialog to help you find it. Expected type is .mdh.
  4. Scripts: Add scripts here to run them on each C3D file prior to combining them into one CMZ.

The scripts are run in order, so use the arrow buttons on the right to get the order correct. Note: Scripts added here must all have unique names. The “Add Script” button will not allow you to add the same file multiple times. Expected file type is .v3s.

After all files have been uploaded, click the “Create CMZs” button. This button combines all the C3D files in the CMZ Directory folder into one CMZ file that Sift can then load as a library. It includes the metadata, applies the model to all the C3D files, and runs the scripts in order. When this button is pressed, the Metadata window will open (if a metadata file has been provided).

Minimum Inputs

The only required files to build a CMZ are:

The static and dynamic trials you want to combine into a CMZ workspace should be located in the same folder. Passing a file path to this folder to the CMZ Builder is the minimum input required to construct a CMZ workspace. If you have data with multiple subjects, separate the data into folders by subject, ensure that each folder has static and dynamic files, and then pass CMZ builder the path to the parent folder holding all subject folders.

All other inputs are optional.

Optional Inputs

Troubleshooting

This section contains a list of the error messages you may encounter while using the Build CMZ and Metadata functions. The Build CMZ dialog and Metadata windows expect reasonably specific input and may not execute if files or expected inputs are missing.

Warning Messages
No C3D files without CMZs found. Skipping build. This notice shows up when the folder you've selected does not contain any C3D files OR does not contain any C3D files that are not already contained in a CMZ file. Sift will close the Build CMZs dialog without making any changes.
Warning: You must select both a static and dynamic identifier to proceed. Exactly one static and one dynamic identifier is required in order for Sift to build the CMZ file. Sift will return you to the Metadata dialog.
Warning: Meta Data File not found! Name: Did you forget to Browse to the location of your Metadata file? If you do not intend to include metadata, please uncheck the box next to the Metadata file.
MDH File not found! Name: Did you forget to Browse to the location of your MDH file? If you do not intend to include a model file, please uncheck the box next to the MDH file.
Error Messages
No information passed. Cannot build CMZs. This is an uncommon error. It means there was an issue with the Build CMZs dialog and it is no longer accessible.
No files selected. Cannot build CMZs. This is an uncommon error. It means that no files at all were returned by the Build CMZ dialog.

Build CMZ Dialog - Theia Builder

This section focuses on the Theia Builder, which builds CMZ files from Theia3D outputs. This dialog closely matches Visual3D's Manage_File_Merge command. This is also accessed from the “Load C3Ds” button on the Load page. There are a variety of inputs that can be used to generate CMZs from Theia3D files:

Three mutually exclusive merge options are presented:

If analog files will be merged into the motion capture files, then additional parameters are required:

Finally, some overall parameters can be passed to control how the merge is conducted:

Differences from the Visual3D Dialog include:

Tutorial

Examples of using the Build CMZ function can be found under the Build CMZ Tutorial.