sift:tutorials:export_results
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sift:tutorials:export_results [2024/07/17 15:10] – sgranger | sift:tutorials:export_results [2024/11/28 19:17] (current) – [Export Results] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
This tutorial will show you how to export the results of your analysis. This allows users to report specific signals, metrics, or events from a data set and to share results from analysis conducted within Sift. | This tutorial will show you how to export the results of your analysis. This allows users to report specific signals, metrics, or events from a data set and to share results from analysis conducted within Sift. | ||
+ | If you prefer, a video tutorial is available outlining the same process. It is available at this link: [[https:// | ||
==== Data ==== | ==== Data ==== | ||
- | This tutorial uses overground walking data from four subjects. The subjects walked at three different speeds: slow, normal and fast. The data was processed using a pipeline with automatic event detection and link model based item calculations (most notably the knee joint angles). | + | This tutorial uses overground walking data from four subjects. The subjects walked at three different speeds: slow, normal and fast. The data was processed using a pipeline with automatic event detection and link model based item calculations (most notably the knee joint angles). [[https:// |
- | This tutorial also uses query definitions that have been previously saved in a [[Other: | + | This tutorial also uses query definitions that have been previously saved in a [[Other: |
==== Load the Library ==== | ==== Load the Library ==== | ||
Line 13: | Line 14: | ||
As with previous tutorials, we begin by loading the library and defining the queries relevant to our question. | As with previous tutorials, we begin by loading the library and defining the queries relevant to our question. | ||
- | 1. Click {{: | + | - Click {{: |
- | + | | |
- | 2. Click **Browse** and select the folder where the data is stored. | + | |
- | + | ||
- | 3. Click **Load** button to import the data. | + | |
==== Load Queries and Compute Groups ==== | ==== Load Queries and Compute Groups ==== | ||
Line 23: | Line 22: | ||
For this tutorial we will load previously saved query definitions and use them to calculate our specific groups. | For this tutorial we will load previously saved query definitions and use them to calculate our specific groups. | ||
- | 1. Click on the {{: | + | - Click on the {{: |
- | + | | |
- | 2. Select the AnkleAngles.q3d file with the saved query definitions and **Open** them. | + | |
- | + | ||
- | 3. Select **Calculate All Queries**. | + | |
Three groups will now appear in the **Groups** list on the Explore page in Sift: ANKLE_ANGLE_X, | Three groups will now appear in the **Groups** list on the Explore page in Sift: ANKLE_ANGLE_X, | ||
Line 33: | Line 30: | ||
==== Visualize the Groups ==== | ==== Visualize the Groups ==== | ||
- | {{: | + | {{ : |
We can visualize the groups individually and collectively in different plots in the Queried Data area. For a full overview of how to visualize data, see the [tutorial]]. | We can visualize the groups individually and collectively in different plots in the Queried Data area. For a full overview of how to visualize data, see the [tutorial]]. | ||
- | 1. To start, make sure the plot type on the [[Sift: | + | - To start, make sure the plot type on the [[Sift: |
- | + | | |
- | 2. click on {{: | + | |
- | + | | |
- | 3. Under **Plotting options** choose 2 **Graph Rows** and 2 **Graph Columns** to create a 2x2 set of plots in the Queried Data area. | + | |
- | + | | |
- | 4. Close the Show Options dialog. | + | |
- | + | | |
- | 5. With the top-left plot selected (this will be indicated with a light-grey border), select the ANKLE_ANGLE_X group, select all workspaces, and then plot all traces. | + | \\ |
- | + | \\ | |
- | 5. Select the top-right plot and plot the raw sequences from the ANKLE_ANGLE_Y group' | + | |
- | + | ||
- | 6. Select the bottom-left plot and plot the raw sequences from the ANKLE_ANGLE_Z group' | + | |
- | + | ||
- | 7. Select the bottom-right plot, select all groups and all workspaces, and plot the group means. | + | |
==== Export Graphs ==== | ==== Export Graphs ==== | ||
- | {{: | + | {{ : |
It is possible now to export the visualizations to one of four image formats: JPG, PDF vector graphic, PNG, or BMP. | It is possible now to export the visualizations to one of four image formats: JPG, PDF vector graphic, PNG, or BMP. | ||
- | 1. Right-click the bottom-right plot and select **Export Graph...** from the context menu. | + | - Right-click the bottom-right plot and select **Export Graph...** from the context menu. |
- | + | | |
- | 2. In the Export Graph dialog, choose your desired **Export Path**, leave **Use Current Size** checked, and set the **Format** to ".pdf (vector graphics)" | + | |
- | + | | |
- | 3. Click **Save**. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | 4. Alternatively, | + | |
- | + | ||
- | 5. In the Export Graph dialog, choose your desired **Export Path**, uncheck **Use Current Size**, specify Height and Width to be 400 pixels each, and set the **Format** to " | + | |
- | + | ||
- | {{: | + | |
==== Export Data to Text ==== | ==== Export Data to Text ==== | ||
- | {{: | + | {{ : |
Alternatively, | Alternatively, | ||
- | 1. Click {{: | + | - Click {{: |
- | + | | |
- | 2. In the Export Results dialog' | + | |
- | + | | |
- | 3. In the Export Results dialog' | + | |
- | + | ||
- | 4. The **Table** of results will populate and you can scroll in both directions to inspect the text that will be exported. For each signal group, we can see in the table that each Workspace' | + | |
- | + | ||
- | 5. Specify a **Results File Name** and then click **Export Results** to finalize the export. | + | |
==== Export Summary Statistics to Text ==== | ==== Export Summary Statistics to Text ==== | ||
Line 92: | Line 71: | ||
We can also export metrics based on the data to a text format. | We can also export metrics based on the data to a text format. | ||
- | 1. Returning to the Export Results dialog' | + | - Returning to the Export Results dialog' |
- | + | | |
- | 2. In the Export Results dialog' | + | |
- | + | | |
- | 3. Back in the main application window, click on the top-left plot. | + | |
- | + | | |
- | 4. In the Export Results dialog' | + | |
- | + | ||
- | 5. Click **Generate Preview** again. Now we can see that our selected metrics (Minimum and Maximum) will only be exported to the ANKLE_ANGLE_X traces, since this is the data on the currently active plot. | + | |
- | + | ||
- | 6. Specify a **Results File Name** and then click **Export Results** to finalize the export. | + | |
Line 109: | Line 83: | ||
In order to export [[Sift: | In order to export [[Sift: | ||
- | {{: | + | {{ :pca1.png?200}} |
- | 1. Ensure that all groups and workspaces are selected in the **Groups** and **Workspaces** lists. | + | - Ensure that all groups and workspaces are selected in the **Groups** and **Workspaces** lists. |
- | + | | |
- | 2. Open the {{: | + | |
- | + | | |
- | 3. Set **Number PCs** to 4 and ensure that **Use Workspace Mean** is checked. | + | |
- | + | ||
- | 4. Click **Run PCA**. | + | |
- | + | ||
- | 5. A summary of the PCA results will appear in the PCA dialog, and the results of these calculations will automatically populate the PCA graphs on the [[Sift: | + | |
{{: | {{: | ||
Line 125: | Line 95: | ||
==== Export PCA Results ==== | ==== Export PCA Results ==== | ||
- | {{: | + | {{ : |
Now that we have performed PCA, we have results to export. | Now that we have performed PCA, we have results to export. | ||
- | 1. Click {{: | + | - Click {{: |
+ | - In the Export Results dialog' | ||
+ | - In the Export Results dialog' | ||
+ | - Click **Generate Preview**. We can see that each signal' | ||
- | 2. In the Export Results dialog' | ||
- | 3. In the Export Results dialog' | + | \\ |
+ | \\ | ||
+ | \\ | ||
- | 4. Click **Generate Preview**. We can see that each signal' | + | \\ |
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
\\ | \\ | ||
Line 144: | Line 125: | ||
All tools that are available on the analysis page produce results and graphs that can be exported by the two exporting dialogs presented in this tutorial. Various definitions and settings for the exporting options are available for each particular analysis type. The following images present the three remaining exporting settings for [[Sift: | All tools that are available on the analysis page produce results and graphs that can be exported by the two exporting dialogs presented in this tutorial. Various definitions and settings for the exporting options are available for each particular analysis type. The following images present the three remaining exporting settings for [[Sift: | ||
- | {{: | + | {{: |
==== Recap ==== | ==== Recap ==== |
sift/tutorials/export_results.1721229012.txt.gz · Last modified: 2024/07/17 15:10 by sgranger