Skip to content

prf Report: how to edit json file

Garikoitz Lerma-Usabiaga edited this page Dec 29, 2019 · 3 revisions

It is important to maintain the json structure after the edits, otherwise the analysis will fail. In this page we will add notes to the defaul json file explaining how a real file would be edited.

This is the default json file coming from the Docker container, with notes:

[ 
   { 
      "subjectName":"subject01",
      "sessionName":"session01",
      "analyze":[                 >>>> Add the analysis done with prfAnalyze that want to be compared.
         { 
            "Type":"aprf"
         },
         { 
            "Type":"vista"
         }
      ],
      "resultParams":[           >>>> Add the variable names that we want to see in the comparison
         { 
            "name":"x0"
         },
         { 
            "name":"y0"
         },
         { 
            "name":"theta"
         },
         { 
            "name":"sigmaminor"
         },
         { 
            "name":"sigmamajor"
         }
      ],
      "shortenParamNames":false,   >>>> Specify if we want to see shortened names
      "doTSeries":false            >>>> Specify if we want to see time series
   }
]