sift:tutorials:openbiomechanics_project:refine_queries_with_metadata
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sift:tutorials:openbiomechanics_project:refine_queries_with_metadata [2024/07/17 15:44] – created sgranger | sift:tutorials:openbiomechanics_project:refine_queries_with_metadata [2024/11/29 18:43] (current) – sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Refine Queries with Metadata ====== | ====== Refine Queries with Metadata ====== | ||
- | Through the OpenBiomechanics Project, Driveline Baseball has made elite-level motion capture data publicly available. The data can be downloaded from Driveline' | + | Through the OpenBiomechanics Project, Driveline Baseball has made elite-level motion capture data publicly available. The data can be downloaded from [[https:// |
- | Having access to large datasets is a great asset, but processing these large datasets can take time (and patience). Sift is designed to streamline this process. The steps in this tutorial describe how to create CMZ files from the pitching and batting data sets, and then inspect and group the data in Sift. | + | Having access to large datasets is a great asset, but processing these large datasets can take time (and patience). Sift is designed to streamline this process. The steps in this tutorial describe how to create |
===== Downloads and Relevant Links ===== | ===== Downloads and Relevant Links ===== | ||
Line 9: | Line 9: | ||
Begin by downloading the following two zip files. | Begin by downloading the following two zip files. | ||
- | - [[https:// | + | - [[https:// |
- [[https:// | - [[https:// | ||
Line 23: | Line 23: | ||
===== Build CMZs for Hitting Data ===== | ===== Build CMZs for Hitting Data ===== | ||
- | {{: | + | First open a new Sift workspace.\\ |
- | In the Build CMZ dialog: | + | On the [[sift: |
+ | |||
+ | In the [[sift: | ||
- **Set the path to:** C: | - **Set the path to:** C: | ||
Line 34: | Line 36: | ||
- C: | - C: | ||
- C: | - C: | ||
+ | {{ sift: | ||
- Click **Create CMZs** | - Click **Create CMZs** | ||
- A metadata dialog box will appear after clicking Create CMZs. Make the following changes in this box: | - A metadata dialog box will appear after clicking Create CMZs. Make the following changes in this box: | ||
Line 41: | Line 44: | ||
- user: Static Trial Identifier | - user: Static Trial Identifier | ||
- Check " | - Check " | ||
- | - 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 " | + | - 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 " | ||
+ | - On the [[: | ||
+ | {{ : | ||
==== Refining Hitting Data ==== | ==== Refining Hitting Data ==== | ||
Line 51: | Line 56: | ||
Let's say we want to query this data set, but we **only** want data from subjects that are under age 20. | Let's say we want to query this data set, but we **only** want data from subjects that are under age 20. | ||
- | We start by loading library with the hitting data set, navigating to the Query Builder dialog, and opening the Auto-Populate dialog. Ensure that " | + | We start by loading library with the hitting data set, navigating to the [[sift: |
- | {{:AutoPopulate.png}} | + | Under " |
+ | |||
+ | Additional refinements, | ||
+ | |||
+ | {{sift: | ||
When refining queries it can be helpful to have the metadata file open, so that you can see the values it contains. Note that in this case, accessing athlete_age has been set as a global metric, and you will not be able to find the meta folder unless Global Value is checked. | When refining queries it can be helpful to have the metadata file open, so that you can see the values it contains. Note that in this case, accessing athlete_age has been set as a global metric, and you will not be able to find the meta folder unless Global Value is checked. | ||
The result of this procedure is that data is queried only if it meets this refinement category, and the refinement name will be applied as a suffix to the end of the signal name. | The result of this procedure is that data is queried only if it meets this refinement category, and the refinement name will be applied as a suffix to the end of the signal name. | ||
+ | |||
+ | When you hit " | ||
+ | {{ : | ||
===== Build Your Own Metadata File ===== | ===== Build Your Own Metadata File ===== | ||
Line 67: | Line 79: | ||
In the example below, we can see that there are four headers (static_model, | In the example below, we can see that there are four headers (static_model, | ||
- | {{: | + | {{:RefineQueriesWithMeta_-_buildYourOwnMeta.png}} |
Here you can edit the description fields and subject specific fields. After you are satisfied with the fields, click " | Here you can edit the description fields and subject specific fields. After you are satisfied with the fields, click " | ||
Line 79: | Line 91: | ||
If you navigate from the Query Builder dialog to the Auto-Populate menu, In the **Signals** tab Select **Metric** as the signal type and **meta** as the signal folder. Now switch over to the **Refinements** tab, click {{: | If you navigate from the Query Builder dialog to the Auto-Populate menu, In the **Signals** tab Select **Metric** as the signal type and **meta** as the signal folder. Now switch over to the **Refinements** tab, click {{: | ||
- | {{: | + | {{:RefineQueriesUsingMeta-AutoSignals.png}} |
- | {{: | + | {{:RefineQueriesUsingMeta-AutoRefinements.png}} |
Line 91: | Line 103: | ||
Since I want to refine my data by walking speed in this example, I name the refinement " | Since I want to refine my data by walking speed in this example, I name the refinement " | ||
- | {{: | + | {{:RefineQueriesWithMeta-QueryBuilderDlg.png}} |
==== Visualizing Refined Queries ==== | ==== Visualizing Refined Queries ==== | ||
Line 99: | Line 111: | ||
Insure that **Plot Type** is set to Metric Plot, then check the boxes for **Select All Groups** and **Select All Workspaces**. | Insure that **Plot Type** is set to Metric Plot, then check the boxes for **Select All Groups** and **Select All Workspaces**. | ||
- | {{: | + | {{:RefineQueriesWithMeta-Plot.png}} |
sift/tutorials/openbiomechanics_project/refine_queries_with_metadata.1721231099.txt.gz · Last modified: 2024/07/17 15:44 by sgranger