sift:build_cmz:building_cmzs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sift:build_cmz:building_cmzs [2024/06/19 12:46] – sgranger | sift:build_cmz:building_cmzs [2024/07/17 15:44] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{to load data in sift you will need to have created cmz files. cmz files 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. the build cmz feature in sift is designed to automate the generation of cmz files so that they do not have to be created one by one. | + | ====== Building CMZs ====== |
- | the build cmzs feature | + | To load data in Sift you will need to have created CMZ files. CMZ files 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. The Build CMZ feature in Sift is designed to automate the generation of CMZ files so that they do not have to be created one by one. |
- | examples of using the build cmz function | + | The Build CMZs feature |
- | ====== build cmz dialog - generic builder ====== | + | Examples of using the Build CMZ function can be found under the [[Sift: |
- | genericbuilder.png | + | ===== 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: | + | {{: |
- | - **cmz directory: | + | Clicking |
- | - **metadata file:** the metadata file goes here. " | + | |
- | - **mdh file: | + | |
- | - **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" | + | - **CMZ Directory: |
+ | - **Metadata File:** The metadata file goes here. "Browse" | ||
+ | - **MDH File:** The model file goes here. " | ||
+ | - **Scripts: | ||
- | 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). | + | 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 |
- | ===== minimum inputs ===== | + | After all files have been uploaded, click the **" |
- | the only required files to build a cmz are: | + | ==== Minimum Inputs ==== |
- | * static/ | + | The only required |
- | * dynamic/ | + | |
- | the static and dynamic | + | * Static/ |
+ | * Dynamic/ | ||
- | all other inputs are optional. | + | 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 |
- | ===== optional | + | All other inputs |
- | **metadata file:** metadata files contain supplementary information about the data you are loading (subject age, weight, walking speed, etc.) metadata files can be used to refine sift queries after the library has been loaded. | + | ==== Optional Inputs ==== |
- | **mdh file:** an mdh file is an ascii file that contains | + | **Metadata File:** Metadata files contain supplementary information about the data you are loading (subject age, weight, walking speed, etc.) Metadata files can be used to refine Sift queries after the library has been loaded. |
- | **scripts:** an ascii file containing a series | + | **MDH File:** An MDH file is an ASCII file that contains the definitions |
- | ===== troubleshooting ===== | + | **Scripts: |
- | 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. | + | ==== Troubleshooting ==== |
- | ==== warning | + | This section contains a list of the error messages |
- | **no c3d files without cmzs found. skipping build.** | + | === Warning Messages === |
- | | + | **No C3D files without CMZs found. Skipping |
- | * sift will close the build cmzs dialog without making any changes. | + | |
- | **warning: | + | |
+ | | ||
- | | + | **Warning: You must select both a static and dynamic identifier to proceed.** |
- | | + | |
- | **warning: meta data file not found! name:** | + | |
+ | | ||
- | | + | **Warning: Meta Data File not found! Name:** |
- | **mdh file not found! name:** | + | |
- | | + | **MDH File not found! Name:** |
- | ==== error messages ==== | + | * 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. |
- | **no information passed. cannot build cmzs.** | + | === Error Messages === |
- | | + | **No information passed. Cannot |
- | **no files selected. cannot build cmzs.** | + | |
- | | + | **No files selected. Cannot |
- | ====== build cmz dialog | + | * This is an uncommon error. It means that no files at all were returned by the Build CMZ dialog. |
- | sift_theiabuilder.png | + | ===== Build CMZ Dialog - Theia Builder ===== |
- | this section focuses on the theia builder, which builds cmz files from theia3d outputs. this dialog closely matches the dialog for building theia3d files in visual3d, " | + | {{: |
- | there are a variety of inputs that can be used to generate cmzs from theia3d | + | This section focuses on the Theia Builder, which builds CMZ files from Theia3D outputs. This dialog closely matches the dialog for building Theia3D |
- | **cmz directory:** the directory root to search for all of the theia3d files. | + | There are a variety of inputs that can be used to generate CMZs from Theia3D files: |
+ | |||
+ | **CMZ Directory:** The directory root to search for all of the Theia3D Files. | ||
\\ | \\ | ||
- | **save by:** how the cmz file should be saved as. | + | **Save By:** How the CMZ file should be saved as. |
- | **use index theia files (.hmx): | + | **Use Index Theia Files (.hmx): |
\\ | \\ | ||
- | **file tags:** if/how file tags should be added onto the files by. | + | **File Tags:** If/how file tags should be added onto the files by. |
\\ | \\ | ||
- | **primary data folder:** method | + | **Primary Data Folder:** Method |
- | **theia session folder mask:** folder | + | **Theia Session Folder Mask:** Folder |
- | **theia file mask:** file name mask for theia3d | + | **Theia File Mask:** File name mask for Theia3D |
- | **theia file mask for model:** file name mask for model file. if blank it will select the first file as the model file. can include wildcards. | + | **Theia File Mask for Model:** File name mask for model file. If blank it will select the first file as the model file. Can include wildcards. |
- | **theia subject tags:** subject | + | **Theia Subject Tags:** Subject |
- | **theia prefixes:** **subject | + | **Theia Prefixes:** **Subject |
- | **theia color:** the color of the theia3d | + | **Theia Color:** The color of the Theia3D |
- | **choose kinetic thorax:** choose | + | **Choose Kinetic Thorax:** Choose |
\\ | \\ | ||
- | **merge theia3d files:** merge primary | + | **Merge Theia3D Files:** Merge primary |
- | **import analog files:** merge primary | + | **Import Analog Files:** Merge primary |
- | **merge theia files and other files:** merge primary | + | **Merge Theia Files and Other Files:** Merge primary |
\\ | \\ | ||
- | **secondary data folder:** method | + | **Secondary Data Folder:** Method |
- | **static data folder:** method | + | **Static Data Folder:** Method |
- | **other session folder mask:** folder | + | **Other Session Folder Mask:** Folder |
- | **other file mask:** file name mask for merged files. | + | **Other File Mask:** File name mask for merged files. |
- | **other static file mask:** file name mask for static merged files. | + | **Other Static File Mask:** File name mask for static merged files. |
- | **other model template mask:** file name mask for model files (if needed). | + | **Other Model Template Mask:** File name mask for model files (if needed). |
- | **other subject tags:** subject | + | **Other Subject Tags:** Subject |
- | **other prefixes:** **subject | + | **Other Prefixes:** **Subject |
- | **other color:** the color of the secondary data files. | + | **Other Color:** The color of the secondary data files. |
- | **analog filter cutoff:** the lowpass filter cutoff for the analog files. | + | **Analog Filter Cutoff:** The lowpass filter cutoff for the analog files. |
- | **target filter cutoff:** the lowpass filter cutoff for the target files. | + | **Target Filter Cutoff:** The lowpass filter cutoff for the target files. |
- | **fp_auto_baseline:** method | + | **FP_Auto_Baseline:** Method |
\\ | \\ | ||
- | **restrict number | + | **Restrict Number |
- | **visual3d pipeline pre-merge:** visual 3d pipeline to run before the merge occurs. | + | **Visual3D Pipeline Pre-Merge:** Visual 3D pipeline to run before the merge occurs. |
- | **visual3d pipeline post-merge:** visual 3d pipeline to run after the merge occurs. | + | **Visual3D Pipeline Post-Merge:** Visual 3D pipeline to run after the merge occurs. |
\\ | \\ | ||
- | differences | + | Differences |
+ | |||
+ | **CMZs not opened by default:** you need to load these in through the [[Sift: | ||
- | **cmzs not opened | + | **Automatic Save is on by default:** you just need to select how to save from the given options. |
- | **automatic save is on by default:** you just need to select how to save from the given options. | ||
- | }}}} |
sift/build_cmz/building_cmzs.1718801179.txt.gz · Last modified: 2024/06/19 12:46 by sgranger