====== Create Filter ====== ===== Purpose ===== The purpose of this tutorial is to show how to create a filter in Report3D. Filters are useful as they allow for only specific subsets of data to be included in a Query. This tutorial uses the IORFoot sample data and report template included in the installer. If, for any reason, you cannot find the data that came with the installer a copy of it can be retrieved from the [[Other:Report3D:Report3D_Example|Example Files]] page. ===== Steps ===== ==== Step 1. Load Data ==== Click on the Load CMO Library Button{{:R3DLoadCMOLibrary2.png}} at the top left hand side of the screen. Navigate to the IORgaitFoot folder, which can be found in the demo section of the Report3D file folder. The path should look somthing like this: C:\Program Files (x86)\C-Motion\Report3D\Demo\IORgaitFoot Select the IORgaitFoot Folder. ==== Step 2. Check the Data ==== |Before moving forward, check that the data has been loaded properly. There should be two loaded CMO files, Sub_003_IORFoot and Sub_21_IORFoot (1). There should be four c3d files for each CMO. One will be a static and the other three will be movement files (2). There should be three options in the Library Tags drop down (3), namely: DYNAMIC, STATIC, and GLOBAL. There should be a dozen options in the Library Events (4), namely: END, START, Left Foot Off, Left Foot Strike, LHS, LON, LTO, RHS, Right Foot Off, Right Foot Strike, RON, and RTO.|{{:LERStep2.png}}| ==== Step 3. Enter Filter Parameters ==== |In the CMO Query Workshop window, expand the Filter section and make sure that you are on the Add Tab.\\ \\ In the Filter Name dialogue box (1) enter the name dynamicFilt. This is what the filter will be called.\\ \\ In the Tag section move the Tag DYNAMIC from the All Tags list to the Added Tags list using the top arrow (2). Doing this means that the filter will only use trials that are tagged as DYNAMIC.\\ \\ In the Subjects section move the Subject Sub_21_IORFoot from the All Subjects list to the Added Subjects list using the top arrow (3). Doing this means that the filter will only use data from the CMO File named Sub_21_IORFoot.\\ \\ Click on the Add Filter button (4) at the bottom of the Filter section to create the Filter.|{{:CFStep3Annotated.png}}| ==== Step 4. Modify a Filter ==== |If you notice that you have made a mistake, or wish to alter the parameters of a Filter it must be done using the Modify Tab. The Modify Tab allows you to alter the three fields (Filter Name, Tags, and Subjects) that were set Step 3. Once changes are made clicking on the Modify Filter button at the bottom of the Tab saves the changes you have made.|{{:CFStep4.png}}| ==== Step 5. Remove a Filter ==== |If you wish to remove a filter that you have created go to the Remove Tab. Select the Filter that you would like to remove from the Which Filter drop down menu (1).\\ \\ When the correct Filter has been selected (in the example to the right the selected filter is "dynamicFilt") click on the Remove Filter button (2) at the bottom of the Tab. The Filter will be immediately deleted.|{{:CFStep5.png}}|