Preprocessing continued

 

Retrieving the preprocessed project name

Just like preprocessing via the BrainVoyager user interface, the preprocessed project will have a new name indicating the performed preprocessing method. From this name the preprocessing step that took place can be identified, for example:

 

 

The result filename is returned without path name.

 

Delete intermediate preprocessing files

When it is not desirable to keep all files created during intermediate steps of the preprocessing process, the method Remove() can be used to delete an intermediate project. This method erases the FMR project from the hard disk.

 

 

Retrieve information about the preprocessing process

To make it possible to receive information about the preprocessing process, the preprocessing methods do return a value that indicates whether the processing succeeded or not.

 

 

This value can be true or false. In the latter case, it is good to build in the script a prevention that the script won't continue in case the preprocessing did not succeed.