Skip to content

Commit 12e2eb6

Browse files
committed
Improve BrainVision import documentation #862
1 parent 6f16379 commit 12e2eb6

3 files changed

Lines changed: 20 additions & 8 deletions

File tree

‎doc/PsPM_Manual.lyx‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5668,7 +5668,7 @@ Supports the import of any original Labchart (.adicht) file.
56685668
this import is restricted to Windows systems only and does not work on any other operating system.
56695669
\end_layout
56705670

5671-
\begin_layout Paragraph
5671+
\begin_layout Paragraph*
56725672
Labchart exported (up to v.
56735673
7.1)
56745674
\end_layout
@@ -5678,12 +5678,12 @@ Export data to matlab format (plugin for the LabChart software,
56785678
available from www.adinstruments.com)
56795679
\end_layout
56805680

5681-
\begin_layout Paragraph
5681+
\begin_layout Paragraph*
56825682
Labchart exported (v.
56835683
7.2 and higher)
56845684
\end_layout
56855685

5686-
\begin_layout Paragraph
5686+
\begin_layout Paragraph*
56875687
VarioPort
56885688
\end_layout
56895689

@@ -5702,7 +5702,15 @@ Mindmedia Biotrace exported
57025702
\end_layout
57035703

57045704
\begin_layout Paragraph*
5705-
BrainVision
5705+
BrainVision
5706+
\end_layout
5707+
5708+
\begin_layout Standard
5709+
Files are imported using FieldTrip fileio functions.
5710+
To import events from a separate marker file (.vmrk),
5711+
add a marker channel to the BrainVision import.
5712+
PsPM will then automatically read the marker file referenced by the BrainVision header (.vhdr).
5713+
The marker file does not need to be imported separately.
57065714
\end_layout
57075715

57085716
\begin_layout Paragraph*
@@ -5715,7 +5723,7 @@ Requires an ActiveX Plugin provided by the manufacturer and contained in the sub
57155723

57165724
\end_layout
57175725

5718-
\begin_layout Paragraph
5726+
\begin_layout Paragraph*
57195727
Windaq (PsPM Version)
57205728
\end_layout
57215729

‎doc/PsPM_Manual.pdf‎

430 Bytes
Binary file not shown.

‎src/pspm_get_brainvis.m‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
function [sts, import, sourceinfo] = pspm_get_brainvis(datafile, import)
22
% ● Description
33
% pspm_get_brainvis imports BrainVision files using FieldTrip fileio
4-
% functions.
5-
% This function has not been tested on sample files. Always check your
6-
% imported data before using it.
4+
% functions. To import BrainVision marker events, include a marker channel
5+
% in the import structure. PsPM then reads the corresponding marker file
6+
% (*.vmrk) referenced by the BrainVision header (*.vhdr) automatically.
7+
% The marker file does not need to be imported separately.
8+
%
9+
% This function has not been tested on sample files. Always check your
10+
% imported data before using it.
711
% ● Format
812
% [sts, import, sourceinfo] = pspm_get_brainvis(datafile, import);
913
% ● Arguments

0 commit comments

Comments
 (0)