Skip to content

Temporal and Spatial Average

Simone Maurizio La Cava edited this page Apr 24, 2020 · 4 revisions

The Temporal and Spatial average step allows you to obtain your data temporally averaged and, from them, the globality, the asymmetry and the averaged measure on the frontal, temporal, central, occipital and parietal macroareas.

Furthermore, the data will be grouped into two different matrixes which will represents the two studied groups.





The interface

In this interface only two insertions are required:

  • The data directory
  • The subjects' matrix

In this case, the data directory is the subfolder relative to your measure, so if you want to repeat this step for more than one measures you can switch the directory by changing the name of the last subfolder or by searching it through the button near the directory's text box.

However, you can always return in this page by clicking on the logo button, which will open this wiki on a web browser.

The subjects' matrix

The subjects matrix is a simple matrix in .mat format, which is composed by:

  • the name of each subject, which is equal to the name of the file related to this one (with or without the extension of the file)
  • the identifier of the belonging group on the last column, so a 0 (for example, healthy controls) if it belongs to the first group and a 1 if it belongs to the second group (for example, patients)

Between the first and the last column, you can put whatever you want, such as information about each subject, and the toolbox will ignore it.

So, a subjects' matrix will be required to have a format such as:

508 ... 0
509 ... 0
511 ... 0
512 ... 1
513 ... 0
516 ... 1
521 ... 1

The matrix can be either a cell matrix or a string matrix.

So, you can insert the name of the subjects' matrix through the text box, or by searching it through the search button.

If you have not a subjects matrix, the toolbox will help you to generate it by pressing the SUB button.

It will be opened another interface where you can see the subjects' list: here you only need to select the subjects belonging to the second group and, by clicking on the SAVE button, a subjects' matrix will be saved on the main data directory, allowing to use it in studying other measures also.

Now, you can Exit from this interface and return to the main Temporal and Spatial average interface and compute the average: the Subjects' matrix will be automatically recognized and used in the following computation.

Furthermore, if a Subjects.mat data file is in your main data directory, it will be automatically found and its link will be setted in the relative text box (you can however change it if you want to use an external matrix).

The next step

When you finished to compute the averages and the groupings, you can go further and compute your analysis, extract another measure or go to the first Athena's interface to follow other modalities.

Note that you can return to the Measure Extraction step also by clicking on the white Measure Extraction button located at the bottom of the interface.

Clone this wiki locally