User Tools

Site Tools


visual3d:documentation:visual_3d_formating:json_formats

This is an old revision of the document!


documented here]]). select the report you want to export, and select the json output option from the pop-up dialog. \\ exportreport.png if the mean and standard deviation were displayed in the graph, they will be in the exported data too. the json format for mean and std dev are similar to the normal ascii output in that the 2 x-components are listed first, and then the 2 y components. the graphed data is listed in x and y sections together. the json output is a single array for the graph, with sub-arrays for signal information and for data. \\ {"title": "graph_title_here", "graphdata" : [ {"filename": "c:/visual3d/data/full body gait/fullbodywalking.c3d", "type": "frame_numbers", "folder": "original", "name" : "time", "x_axis_label": "time", "frames": 112, "data": [0.933333, 0.941667, ...1.125000] }, {"filename": "c:/visual3d/data/full body gait/fullbodywalking.c3d", "type": "link_model_based", "folder": "original", "name" : "rpv_angle", "y_axis_label": "degrees" "frames": 112, "data": `["no_data", "no_data", -1.811149, -1.873471, ...] } ]} ====== export data as ascii command ====== **the more general option** is to use the [[visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file|export_data_to_ascii_file]] **pipeline command**. simply check the json format checkbox in the dialog, or un-comment and change the parameter use json format = true; from the textual interface. the resulting json output format for that is: {"visual3d" : [ {"filename" : "mean" "type" : "link_model_based", "folder": "original", "name" : "lft_angle", "frames" : "101", "signal" : [ {"component" : "x", "data" : [0, ...,null ]}, {"component" : "y", "data" : [-7.00954, ...,null ]}, {"component" : "z", "data" : [16.03672, 13.68475, ... ]} ]} ]}

visual3d/documentation/visual_3d_formating/json_formats.1718801635.txt.gz · Last modified: 2024/06/19 12:53 by sgranger