====== Plotting Normal Data ====== **Before starting:**\\ Please complete the [[Visual3D:Tutorials:Reports:Creating_a_Report|Report Builder Tutorial]]\\ \\ This tutorial uses the same sample files used in the report tutorial, but you can download the files [[https://www.has-motion.com/download/examples/PlotNormalData/GraphNormalData.zip|here]].\\ To begin the tutorial, open the //CreatingReport_Tutorial.cmo//.\\ On page 2 of the report, knee flexion is being graphed. Instructions for creating this graph are in the [[Visual3D:Tutorials:Reports:Creating_a_Report|Report Builder Tutorial]].\\ The //NormalData.vnd// is the average data file.\\ The //CreatingReport_Tutorial_withNormalData.cmo// is the completed cmo file with the plotted normal data.\\ \\ ===== Plotting Normative Data ===== [[https://www.youtube.com/watch?v=xBhsqlDBQiI|See You Tube Video]] This tutorial describes how to graph normative data. The gray band on the report below shows the average knee flexion for several subjects. Before graphing normative data, the normal database file must be created using the CMO Library. For more information about creating a normal data base file see the [[Visual3D:Documentation:Reports:Normative_Data_From_CMO_Library|Normative Data From CMO Library]] instructions.\\ \\ For more information about graphing signals, please see the [[Visual3D:Tutorials:Reports:Creating_a_Report|Report Builder Tutorial]].\\ \\ {{:GraphWithNormalData_ReportViewer.jpg}} \\ ==== Load Normative Data ==== Load the normative data into the workspace: |1. **Open** the .cmo file //CreatingReport_Tutorial.cmo//\\ \\ On page 2 of the report, knee flexion/extension should be graphed in green.\\ \\ The files being graphed are the files that are currently loaded into the Workspace.\\ \\ 2. Select **Open/Add** files into the workspace and select //Insert new files into your currently open workspace// | {{:InsertFiles.jpg}}| |3. In the **Open Motion Trials** dialog window:\\ \\ 1. Set the **data type** is set to //Normal Data//\\ \\ 2. **Select** //NormalData.vnd//\\ \\ 3. **Click** //Open//\\ \\ **NOTE:** Normal data can be saved as .vnd, [[Visual3D:Documentation:Definitions:File_Formats:P2D_Format|.p2d]], or .avg files. | {{:OpenvndFile_v2.jpg}} | |The normal data file should now be loaded into the workspace. To see the normal data:\\ \\ \\ 1. Set the **Active File** to //GLOBAL//\\ \\ 2. **Expand** the //P2D// folder\\ \\ 3. **Expand** the //PROCESSED// folder\\ \\ 4. **Select** the //Left Knee Angle_X_LHS_LHS// signal\\ \\ 5. In the **Data View** dialog box:\\ \\ **Component 1** is the number of points the data was normalized to when exported\\ \\ **Component 2** is the average value\\ \\ **Component 3** is the standard deviation | | {{:GlobalWorkspace.jpg}} | ==== Graph Normative Data ==== In the **Report Tab**: |1. Select the graph you would like to add normative data to by clicking on it once.\\ 2. Set **Item to add:** to 2D Graph\\ \\ \\ Click Add | {{:Add2DGraph.jpg}}| |3. In the Add / Modify Graph dialog box enter the following parameters: (See the image below to view the dialog box)\\ \\ |__**Graph Properties:**__\\ \\ **Files to Graph:** //GLOBAL//\\ \\ **Line Color:** //Black//\\ \\ **Line Style:** //NULL//\\ \\ DO NOT check Graph Mean or Graph Standard Deviation,\\ \\ The normal data will not graph if these are checked. |__**X Axis Properties Properties**__\\ \\ **X Axis Label:** //Normalized (% gait cycle)//\\ \\ **Data Type:** //P2D//\\ \\ **Data Name:** //Left Knee Angle_X_LHS_LHS//\\ \\ **Component:** //1//\\ \\ **Folder:** //PROCESSED//\\ \\ **Select:** //Normalize 0% to 100%//\\ \\ DO NOT check Graph within a range of events.\\ \\ The normative data was normalized when exported from the CMO Library. |__**Y Axis Properties Properties:**__\\ \\ **Y Axis Label:** //Extension / Flexion (degrees)//\\ \\ **Data Type:** //P2D//\\ \\ **Data Name:**//Left Knee Angle_X_LHS_LHS//\\ \\ **Component:** //2//\\ \\ **Folder:** //FOLDER//\\ \\ **Check** //Add Standard Deviation//\\ \\ **Component:** //3// |\\ \\ **Click** //Done// | | {{:AddModifyGraph.jpg}} | \\ |4. The normal data should now be plotted in the selected graph. If it is not, check the parameters entered in Step 3.\\ \\ {{:GraphWithNormalData.jpg}} |