Data management

Data management

The processes in this toolbox deal with BrainVISA databases. They can be used to import data in a BrainVISA database. The first thing you have to do is to create or configure your BrainVISA databases. Then you can use the import processes (which are in the sub category import) to put data in the database. It is not mandatory to use a database in order to process data with BrainVISA but it is highly recommanded.

What is a BrainVISA database ?

Data organization is an important point in BrainVISA. Indeed, BrainVISA was conceived to allow a simplified use of neuroimagery tools coming from various laboratories and being able to combine data resulting from several acquisition modalities (aMRI, fMRI, dMRI, EEG/MEG, PET, etc). Interactions between these tools and the various data were made possible thanks to a system of data organization. In order to remain compatible with existing software, BrainVISA is mainly based on directories and file organization and naming in order to build a database.

A directory is a BrainVISA database if the structure of its sub-directories and the file names in this directory respect a set of rules. These rules make it possible for BrainVISA to scan the whole directory content and to identify without ambiguity the database elements. These elements are composed of the following information:

It is possible to completely define the set of rules used to convert a directory in a BrainVISA database. That allows the use of BrainVISA without having to modify an existing file organization. However, the writing of such a system of rules requires a significant investment in the study of BrainVISA. This is why BrainVISA is provided with a default data organization system that can be used easily.

BrainVISA database organization

By default, data in a BrainVISA database are organized in a hierarchical structure with the following directories :

Why should I use a BrainVISA database ?

It is not mandatory to use a database to process data with BrainVISA. However, some important features are not available when you are using data which are not in a database. For example, the BrainVISA ability to construct a default output file name when an input data is selected in a process relies on the database system. Moreover, some processes use the database system to find data; for example, the brain mask viewer tries to find the T1 MRI used to build the brain mask in order to superimpose both images in an Anatomist window.

How to create or edit BrainVISA databases ?

You can create several BrainVISA databases and select the ones you want to activate. You just have to use the database edition window accessible via the Preferences->databases menu of the main window.

Ontologies and database conversion

Several file organization models exist in BrainVISA: for different applicative toolboxes which organize their data differently, or to handle evolutions of existing organization models.
In the latter case, it is sometimes useful, or required, to change the organization of existing databases to follow the new models.

To handle this, please read the Ontologies and database conversion section in Axon manual.