visual3d:documentation:reports:normative_data_from_cmo_library
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:reports:normative_data_from_cmo_library [2024/06/19 12:53] – sgranger | visual3d:documentation:reports:normative_data_from_cmo_library [2024/11/04 15:47] (current) – [Step 3: Create the normal database] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{{{{{{{{{{{{{{{{{{{building a database of " | + | ====== Normative Data From CMO Library ====== |
- | - organize & catalog the cmz files | + | Building |
- | - create | + | |
- | - create the normal | + | |
- | - save the normal database for use in the future. | + | |
- | ===== sample | + | - Organize & Catalog the CMZ files |
+ | - Create a script to define the signals we want to create normal signals for. | ||
+ | - Create the normal database. | ||
+ | - Save the normal database for use in the future. | ||
- | you can download the sample files for this example [[http:// | + | ==== Sample Files ==== |
- | the downloaded file contains: | + | You can download |
- | 1. a sample cmo library containing two cmo files (sub01_walk.cmo & sub02_walk.cmo) (these cmo files should work the same as cmz files) | + | The downloaded file contains: |
- | 2. a sample report template (samplereport.rgt) | + | |
- | 3. a sample script to create a normal database (samplescript.v3s) | + | |
- | 4. a sample normal database (normaldatabase.vnd) | + | |
- | **note:** visual3d now uses the updated and improved [[visual3d: | + | |
- | ===== step 1: organize | + | - A sample CMO library containing two CMO files (Sub01_Walk.cmo |
+ | - A sample report template (SampleReport.rgt) | ||
+ | - A sample script to create a normal database (SampleScript.v3s) | ||
+ | - A sample normal database (NormalDatabase.vnd) | ||
- | the first time you load the cmz (cmo) library, you must organize | + | **Note:** Visual3D now uses the updated and improved [[Visual3D: |
- | cmo_lib_fileorg.png | + | ==== Step 1: Organize & Catalog the CMO files ==== |
- | **1. organize | + | The first time you load the CMZ (CMO) library, you must organize the files. You do not need to do this each time you load the CMZ Library, however, if you move the CMZ files to different locations on your computer, this section should be done again. |
- | if using the sample files, you must unzip the file. you will see the cmo files in the cmo_lib folder. | + | {{: |
- | **note** | + | **1. Organize all the CMZ files that you intend to query from into folders within a hierarchy.** |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
+ | If using the sample files, you must unzip the file. You will see the CMO files in the CMO_Lib folder. | ||
- | cmo_lib_cmo_path.png | + | **NOTE** The CMZ files can be in subfolders as well.\\ |
- | **2.set visual3d to point to the cmz library (cmo library -> set cmo library path).** | + | {{: |
- | if using the sample files, | + | **2.Set Visual3D to point to the CMZ Library (CMO Library -> Set CMO Library Path).** |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
+ | If using the sample files, point to the CMO_Lib folder.\\ | ||
- | cmo_lib_catalog.png | + | {{: |
- | **3. catalog | + | **3. Catalog |
- | **note:** when you select "catalog cmo files", | + | **NOTE:** When you select "Catalog CMO Files", |
- | ===== step 2: creating | + | ==== Step 2: Creating |
- | ==== option | + | === Option |
- | if you already have a premade pipeline, you can skip ahead to step 3. | + | If you already have a premade pipeline, you can skip ahead to Step 3. |
- | **note:** if you are using a premade pipeline any variables you wish to save in the .vnd file needs to be saved using the [[visual3d:documentation:pipeline:signal_commands:global_normalized_signal_mean|global_normalized_signal_mean]]. | + | **Note:** If you are using a premade pipeline any variables you wish to save in the .vnd file needs to be saved using the [[Visual3D:Documentation:Pipeline:Signal_Commands:Global_Normalized_Signal_Mean|Global_Normalized_Signal_Mean]]. |
- | **global_normalized_signal_mean** | + | < |
- | /**signal_types**=link_model_based+link_model_based | + | Global_Normalized_Signal_Mean |
- | /**signal_names**=rknee_angle+lknee_angle | + | /SIGNAL_TYPES=LINK_MODEL_BASED+LINK_MODEL_BASED |
- | /**signal_folder**=original+original | + | /SIGNAL_NAMES=RKNEE_ANGLE+LKNEE_ANGLE |
- | **/signal_components**=x+x | + | /SIGNAL_FOLDER=ORIGINAL+ORIGINAL |
- | **/start_label**= | + | /SIGNAL_COMPONENTS=X+X |
- | **/end_label**= | + | /START_LABEL= |
- | **/event_sequence**= rhs+rhs++lhs+lhs | + | /END_LABEL= |
- | **! /exclude_events**= | + | /EVENT_SEQUENCE= RHS+RHS++LHS+LHS |
- | **/result_name**=knee_flexion | + | ! /EXCLUDE_EVENTS= |
- | **! /result_folder**=original | + | /RESULT_NAME=KNEE_FLEXION |
- | **/normalize_points**=101 | + | ! /RESULT_FOLDER=ORIGINAL |
- | **/create_standard_deviation**=true | + | /NORMALIZE_POINTS=101 |
- | **! /calculate_per_file**=false | + | /CREATE_STANDARD_DEVIATION=TRUE |
- | **;** | + | ! /CALCULATE_PER_FILE=FALSE |
- | ==== option 2: creating script based off a report template ==== | + | ; |
- | to automatically create the script, follow the instructions below, you will need a report template: | + | </ |
- | **1. load a report template.** you can do this two ways: | + | === Option 2: Creating Script based off a Report Template === |
- | a. open a cmo that has the report/ | + | To automatically create |
- | you can open one of the example cmo files | + | |
- | b. open a report template | + | |
- | you can open the sample report template (samplereport.rgt) | + | |
- | **note:** if you are following the gait profile score tutorial the use this [[https:// | + | |
- | **2. create script:** | + | |
- | 1. select | + | **1. Load a report template.** You can do this two ways: |
- | normaldb_script_createnormal.png | + | |
- | 2. in the pop up window: | + | A. Open a CMO that has the report/ |
- | a. specify | + | You can open one of the example CMO files\\ |
- | **note:** if you are going to plot two normal databases in one cmz file (ex. walk and run), you should name the different folders "walk" and "run" here. | + | B. Open a report template that contains the data values you wish to create ”normal” data for.\\ |
- | normaldb_script_foldername.png | + | You can open the sample report template (SampleReport.rgt)\\ |
- | b. specify | + | **Note:** If you are following the Gait Profile Score Tutorial the use this [[https:// |
- | **note:** typically | + | |
- | normaldb_script_numpoints.png | + | **2. Create script:** |
- | c. create | + | |
- | normaldb_script_allormeansonly.png | + | 1. Select |
+ | {{: | ||
+ | 2. In the pop up window:\\ | ||
+ | A. Specify | ||
+ | **NOTE:** If you are going to plot two normal databases in one CMZ file (ex. Walk and Run), you should name the different folders "WALK" and "RUN" here.\\ | ||
+ | {{: | ||
+ | B. Specify | ||
+ | **NOTE:** Typically | ||
+ | {{: | ||
+ | C. Create | ||
+ | {{: | ||
\\ | \\ | ||
- | **3. view the created script in the pipeline.** | + | **3. View the created script in the Pipeline.** |
- | there will be one command in the pipeline for every graph item in the report (or every one with a mean graphed if that option was selected). | + | There will be one command in the pipeline for every graph item in the report (or every one with a mean graphed if that option was selected). |
- | **note:** running | + | **Note:** Running |
- | global_normailized_signal_mean_new2.png | + | {{: |
\\ | \\ | ||
- | **4. save the pipeline | + | **4. Save the Pipeline |
- | we have now defined what we want to create normal values for. the normal data has not been created yet. so now we need to clear the workspace and load the raw data for this script. | + | We have now defined what we want to create normal values for. The normal data has NOT been created yet. So now we need to clear the workspace and load the raw data for this script. |
- | **note:** an alternative to the wizard | + | **Note:** An alternative to the Wizard |
- | ===== step 3: create | + | ==== Step 3: Create |
- | **1. clear out the entire | + | **1. Clear out the entire |
- | (file -> new, or restart | + | (File -> New, or restart |
- | cmo_lib_filenew.png | + | {{: |
- | **2. browse | + | **2. Browse |
- | from the main menu, select | + | From the main menu, select |
- | cmo_lib_browselib.png | + | {{: |
- | **3. set the active file to each_cmo_workspace** | + | **3. Set the Active File to EACH_CMO_WORKSPACE** |
- | to select only specific files, create a new tag, check the files to use, and select the tag name in the combo box. | + | To select only specific files, create a new Tag, check the files to use, and select the tag name in the combo box.\\ |
- | cmo_lib_activefile.png | + | {{: |
- | **4. execute | + | **4. Execute |
- | to select only specific files, create a new tag, check the files to use, and select the tag name in the combo box. | + | To select only specific files, create a new Tag, check the files to use, and select the tag name in the combo box.\\ |
- | execute | + | Execute |
- | ===== step 4: save the normal database | + | ==== Step 4: Save the normal database ==== |
- | **1. check that the p2d signals were created.** | + | **1. Check that the P2D signals were created.** |
- | cmolib_dataview.png | + | {{: |
- | 1. switch | + | 1. Switch |
- | 2. set the active file to global | + | 2. Set the Active File to GLOBAL |
- | 3. expand | + | 3. Expand |
- | 4. expand | + | 4. Expand |
- | 5. click on a signal (ex. lankleangle_x_lhs_lhs) | + | 5. Click on a signal (ex. LAnkleAngle_X_LHS_LHS) |
- | you will see the p2d data tree and the newly processed data there. | + | You will see the P2D Data tree and the newly processed data there. |
- | column | + | Column |
- | column | + | Column |
- | column | + | Column |
- | **note:** the [[visual3d:documentation:definitions:file_formats:p2d_format|p2d format]] is simply a historical format for 2d point data storage, and is maintained to provide backward compatibility. | + | **Note:** The [[Visual3D:Documentation:Definitions:File_Formats:P2D_Format|P2D format]] is simply a historical format for 2D point data storage, and is maintained to provide backward compatibility. |
\\ | \\ | ||
- | **2. save the normal data as a ”normal” database.** | + | **2. Save the Normal Data as a ”Normal” database.** |
- | cmolib_savevnd.png | + | {{: |
- | **to save as a .vnd file:** | + | **To save as a .vnd file:** |
- | set the active file to global | + | Set the active file to GLOBAL |
- | go to the signals | + | Go to the Signals |
- | right-click on the folder name (ex. processed) | + | Right-click on the folder name (ex. PROCESSED) |
- | select export folder | + | Select Export Folder |
\\ | \\ | ||
\\ | \\ | ||
Line 164: | Line 163: | ||
- | **to save as a .cmz file:** | + | **To save as a .cmz file:** |
- | close the cmo library | + | Close the CMO Library |
- | save the workspace as a cmz file (file -> save) | + | Save the workspace as a CMZ file (File -> Save) |
- | }}}}}}}}}}}}}}}}}}}}}}}}}} |
visual3d/documentation/reports/normative_data_from_cmo_library.1718801614.txt.gz · Last modified: 2024/06/19 12:53 by sgranger