2.7.19 impEDF

Menu Information

Data: Import from File: EDF(EDF+,BDF,REC,HYP)


If you do not see this file type, choose Data: Import from File: Add/Remove File Types...

File Import Add Menu.png

To add drag & drop support for a file type, see Import Filter Manager.

Brief Information

Import EDF(EDF+,BDF,REC,HYP) files.

Additional Information

Minimum Origin Version Required: 8.5 SR0

Command Line Usage

impEDF fname:="C:\Osas2002plusQRS.edf";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
File Name fname

Input

string

fname$
File name(s) of the file(s) to be imported. Click the browse button beside the list box to open one or more files, and the file names will be listed in the box.
File Information trfiles

Input

TreeNode

<unassigned>
Information tree and annotations of the selected files.
Import Options options

Input

TreeNode

<unassigned>
This is used to set the import options in the dialog. Please see the Description part of this document for details.
Output orng

Output

Range

<active>
Output range of the imported data.

See the syntax here.

Description

This X-Function is used for importing EDF(EDF+,BDF,REC,HYP) data files.

Details on Some Dialog Options

  • Import Options(options)
Please see this page for more details.

Examples

The following example shows you how to import the EDF data file C:\Osas2002plusQRS.edf:

Note that two new features are added to make data files more readable and manageable:

  • An annotation list that describes detailed data information of the selected files is shown in a new worksheet.
  • Intervals for each data column can be defined in the Column additional information window.
  1. Create a new project. Select Data: Import from File: EDF... from the Origin menu. This opens the EDF dialog.
  2. Go to C:\Osas2002plusQRS.edf. Then click the Add File(s) button. Make sure that the Show Options Dialog check box is checked.
  3. Click the OK button to close this dialog box. The impEDF dialog should be opened.
    Impedf.png
  4. In the File Information-osas2002plusQRS-signals branch, check all the check boxes including EDF Annotations.
    Annotations.png
  5. Click the interactive button next to Output, and then select the first column of the first sheet in Book1.
  6. Click the OK button. The selected data should be imported to the destination.
    Edf1.png
  7. A new worksheet named AnnotationLists, shown below, is added.
    Annotation list.png
  8. Click Imped i.png in the Osas2002plusQRS worksheet. The Column additional information window is opened.
    Column additional.png

Related X-Functions

impFile