User Tools

Site Tools


inspect3d:tutorials:build_cmzs

This is an old revision of the document!


v2023.08.08]]. earlier versions will not have the build cmz feature. after verifying that you have the correct version of inspect3d, download the following two zip files. - [[https://github.com/drivelineresearch/openbiomechanics|openbiomechanics project: driveline baseball data]] - [[https://www.has-motion.com/download/katie/driveline_cmotionfiles.zip|c-motion specific files]] please note, these downloads contain a large amount of data. building cmzs is a slow process, so if you want to speed it up to follow along with this tutorial cut the number of datasets under openbiomechanics-main down to 3-5 subjects. for more technical information on the build cmz feature, see: [[inspect3d:documentation:knowledge_discovery:build_cmzs|build cmzs documentation]] ====== build cmzs for pitching data ====== i3d_drivepitchsel.png in the build cmz dialog: - **set the cmz directory to:** c:\...\openbiomechanics-main\baseball_pitching\data\c3d - **set the metadata to:** c:\...\openbiomechanics-main\baseball_pitching\data\metadata.csv - **set the mdh file to:** c:\...\openbiomechanics-main\baseball_pitching\code\v3d\model\v6_model_hybrid_lm.mdh - add the following scripts and ensure they are in the correct order: - c:\...\cmotion files\filter.v3s - c:\...\cmotion files\events.v3s - c:\...\openbiomechanics-main\baseball_pitching\code\v3d\cmo.v3s - click **create cmzs** - a metadata dialog box will appear. ensure the "subject_specific" next to "playing_level" is checked and click "apply". - cmz files may take a while to build. check the status bar in the bottom left hand corner of the interface for the build status. after the files are built, check that the library path dialog is set correctly and hit "load" in the load library dialog. pitchingmeta.png ===== query and inspect pitching data ===== autobuilder_pitch.png after building cmzs you will need to query your data before you can inspect it. start by opening the query builder dialog and navigating to the auto-populate query menu. browse for an auto build settings file and populate this field with the **autobuildersettings_pitch.xml** file found under the c-motion specific files zip folder you downloaded earlier. the dialog should auto-populate with the query refinements. click create, select the groups you want to query, and hit "calculate selected queries". you should now be able to inspect the data you loaded. an example from this data set is shown to the right. collegevsmilb.jpg ====== further reading ====== to recap: this tutorial has demonstrated how inspect3d can be used to streamline the processing of large data sets. it can: * automatically combine static, dynamic and mdh files into cmzs * automatically apply metadata to data sets * automatically apply refinements to data sets * visualize and display the refined data for examples of how to create and manage metadata files, see: [[inspect3d:tutorials:metadata|refining queries with metadata tutorial]] }}}}}}

inspect3d/tutorials/build_cmzs.1718801107.txt.gz · Last modified: 2024/06/19 12:45 by sgranger