= Brainstorm architecture = == Brainstorm folders == Some more explanations about files and folders.<
>Brainstorm needs '''different directories''', please try not to put everything at the same place, it won't work: * '''Program directory: '''"brainstorm3" * Contains all the program files: Matlab scripts, Java archives, documentation... * No user data in this folder: you can delete it and replace it with a new version, your data will be safe * Recommended location: * __Windows__: C:\Program Files\brainstorm3 * __Linux__: /home/username/brainstorm3 * __MacOS__: Documents/brainstorm3 * '''Database directory''': "brainstorm_db" * Created by user. * Contains all the Brainstorm database files. * Managed automatically by the application: do not move, delete or add files by yourself. * Recommended location: * __Windows__: C:\Program Files\brainstorm_db * __Linux__: /home/username/brainstorm_db * __MacOS__: Documents/brainstorm_db * '''User directory: '''".brainstorm" * Created automatically at Brainstorm startup. * Contains the database structure and the temporary folders * Typical location: * __Windows__: C:\Documents and Settings\username\.brainstorm * __Linux__: /home/username/.brainstorm * Contains: * __brainstorm.mat__: Matlab matrix where the Brainstorm options and database structure are stored. * __tmp/__: temporary directory used by some of the Brainstorm functions. Cleaned each time Brainstorm is started * '''Original data files''': * Recordings and anatomies you acquired and you want to process with Brainstorm. * Put them wherever you want''' __but not in any of the previous folders__'''.