Converter of BioExplorer session files to EDF standard files

bxs2edf ver. 1.0

Introduction

BioExplorer™ software by CyberEvolution, Inc. stores recorded signals in native session files (BXS). They are not read by other applications. Our free tool bxs2edf enables professional users to convert BXS files to EDF standard files. They can be read in many software for biosignal processing and review, such as:

The converter is a console application (run in command line window) for Microsoft Windows™.

Download

Unpack the archive bxs2edf.zip to any convenient folder (for example "C:\Program files\BioExplorer").

Command syntax

bxs2edf infile [outfile] [/h=headfile] [/u] [/o] | /?

Used metacharacters:
[] - delimit optional component;
| - separates alternative components.

Arguments

Examples

bxs2edf CESample1.bxs
It converts CESample1.bxs file from current folder to CESample1.edf.
"c:\Program files\BioExplorer\bxs2edf\bxs2edf" CESample1.bxs
Path to the application file (bxs2edf.exe) has to be specified, if the file is not contained in current folder and the application folder is not added to system PATH variable.
bxs2edf CESample1.bxs export\test.edf /o
It converts CESample1.bxs to the explicitly specified test.edf file in "export" folder. If such file already exists, it will be overwritten.

Automation

Console commands, such as for loop, enable to automate conversion of many session files. Examples:

for %f in (*.bxs) do bxs2edf %f /o
It converts all BXS files in current folder (overwriting possible existing files).
for %f in (*.bxs) do bxs2edf %f /o >> conversion.log
It works similarly as in previous example, but text messages accompanying the conversion are redirected from the screen to conversion.log file for further review. It helps to check possible error messages (starting with exclamation mark) for bulk conversions.

More capabilities of for loop can be seen with "for /?" command.

Notes

  1. The converter was mainly tested for signals measured with Neurobit Optima™ equipment. Nevertheless, it should also work for other devices supported by BioExplorer.

  2. The converter was tested for session files recorded with BioExplorer versions up to 1.6 (1.6.3.650).

  3. Up to 16 signals in a session file are supported.

  4. EDF files include 16-bit samples (plus an arbitrary offset). For this reason care must be taken for devices sampling with higher resolution (e.g. 24-bit). Nevertheless, if measured signal consists of a small variable component of interest and relatively stable offset (as often occurs in DC including measurements of EEG and other electrophysiological data), sufficient precision may be still achieved.
    For better assessment of the situation, output quantization steps are displayed for signals, for which they are higher than original quantization steps.

  5. Possible errors are signaled with a beep and a message starting with the exclamation mark. (Beeps do not appear, if messages are redirected to log file.)

  6. Even after conversion of your data to EDF, still keep original BXS files: there is no reverse conversion (recreating BXS file from EDF).

  7. For long session files the conversion may take significant time, depending on computer performance. Anyway, it is many times shorter, than session duration.

headfile syntax

[session {80}]
[subject {80}]
[label0 {16}] <tab> [sensor0 {80}] <tab> [unit0 {7}] <tab> [prefilter0 {80}]
[label1 {16}] <tab> [sensor1 {80}] <tab> [unit1 {7}] <tab> [prefilter1 {80}]
...

Designation:
{} - delimit maximum length of a component; end characters over this limit will be ignored;
<tab> - tab character.

Notes

Fields

Example header info file

Tests of EEG synchronization between C3 and C4
John Brown
C3	Ag/AgCl electrode	V	HP 0.3Hz, LP 50 Hz
C4	Ag/AgCl electrode	V	HP 0.3Hz, LP 50 Hz

License

Trademarks

© Copyright by Neurobit Systems 2014