Skip to content

ilikerobots/ascii2edf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program converts an ascii csv file into a European Data Format file. Various parameters regarding the csv file format and conversion are expected to be defined by an xml file, which is a required argument to this program. This XML file is the same format supported and generated by EDFbrowser. An example is

<EDFbrowser_ascii2edf_template>
    <separator>tab</separator>
    <columns>2</columns>
    <startline>1</startline>
    <samplefrequency>20.0000000000</samplefrequency>
    <autophysicalmaximum>1</autophysicalmaximum>
    <edf_format>1</edf_format>
    <signalparams>
        <checked>0</checked> <!-- whether to convert or not -->
        <label>Heartrate</label>
        <physical_maximum></physical_maximum>
        <physical_dimension>breaths/min</physical_dimension>
        <multiplier>1.000000</multiplier>
    </signalparams>
    <signalparams>
        <checked>1</checked>
        <label>Flow</label>
        <physical_maximum></physical_maximum>
        <physical_dimension>l/m</physical_dimension>
        <multiplier>1.000000</multiplier>
    </signalparams>
</EDFbrowser_ascii2edf_template>

This work is an adaptation of EDFbrowser by Teunis van Beelen (teuniz@gmail.com)

About

Converts an ascii csv containing medical timeseries into a European Data Format (EDF)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published