write.smp.brainvoyager.v3or4or5: Write a brainvoyager v3, v4 or v5 SMP file.

View source: R/brainvoyager.R

write.smp.brainvoyager.v3or4or5R Documentation

Write a brainvoyager v3, v4 or v5 SMP file.

Description

Write a brainvoyager v3, v4 or v5 SMP file.

Usage

write.smp.brainvoyager.v3or4or5(filepath, bvsmp, smp_version)

Arguments

filepath

character string, the output file

bvsmp

bvsmp instance, a named list as returned by read.smp.brainvoyager.

smp_version

integer, the SMP file format version to use when writing. Versions 2 to 5 are supported, but only versions 2 and 3 have been tested properly. Please report any problems you encounter. When converting between file versions (e.g., loading a v2 file and saving the result as a v5 file), some required fields may be missing, and for those without a default value according to the official spec, you will have to manually add the value you want in the bvsmp object before writing.

Note

Called by write.smp.brainvoyager.


dfsp-spirit/freesurferformats documentation built on Sept. 18, 2024, 4:12 p.m.