Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Discuss if these datatypes must be updated.

Datatype updated, see Datatype meeting 18.02.2021

Inputs of the App:

Files

Format

Description

Optional

MEG signal

.fif

first run

No

MEG signal

.fif

second run

No

Yes

MEG signal

.fif

nth run

Yes

...

Files

Format

Description

Raw file

.fif

  • Info and fake data created

, contain
  • the mean transformation matrix is contained in raw.info["dev_head_t"]["trans"]

the mean transformation matrix

Steps:

...

Steps:

The python file mean-transformation-matrix.py is composed of several functions:

  • mean_transformation_matrix()

  1. Extract the transformation matrix from each file

  2. Create info object of the empty .fif file

  3. Compute the mean of all matrices across all files and add it to the info of the empty .fif file

  4. Create fake data to put in into the .fif file

  5. Create raw object

...

  • main()

  1. Read all the input files by parsing the config.json

  2. Raise a ValueError if only one file was given

  3. Apply mean_transformation_matrix()

Parameters of the App

The parameters of the App correspond to the parameters passed to the Python functions used in the App. They are listed in the config.json.example when you test your App locally, then when you register you App on Brainlife, you enter them and a config.json is created by Brainlife.

...