Versions Compared

Key

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

...

Inputs of the App:

Files

Format

Datatype

Description

Optional

MEG signal

.fif

meg/fif

first run

No

MEG signal

.fif

meg/fif

second run

No

Yes

MEG signal

.fif

meg/fif

nth run

Yes

...

Output of the App:

Files

Format

Datatype

Description

Raw file

.fif

meg/fif-override

  • Info and fake data created

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

Besides, in the output directory, there are the optional files we will use that can be used in a next App. This is mandatory, because the App that will be run after app-mean-transformation-matrix will can take as input all the files in app-mean-transformation-matrix’s matrix’s output directory corresponding to the datatype of the input of the next App (see How to run Apps one after another).

...

  • Rename it into “app-compute-realigment-matrix”?

  • Allow the user to compute a destination.fif that is not the mean of all the runs but a specific run (this option is available is mne-bids-pipeline? . To do so, it would be best not to save the entire .fif file (i.e. the MEG signals) but to extract the raw.info[“dev_head_t"]["trans"] from this run and put it in an empty fif file, like we do when we compute the mean of the runs (it would save space).

  • Make sure that it is okay to run this app after of before app-head-pos, the order must not matter.