Skip to content
Cris Silva Jr edited this page Dec 7, 2016 · 3 revisions

Welcome to the EDF wiki!

This repository aims to implement the EDF+ file standard for the Go programming language.

Getting started

To install this package on your machine, run the following command:

go get github.com/ishiikurisu/edf

Example usage

This snippet shows how to convert the EDF file to a CSV one, using tools already available on the package.

package main

import "github.com/ishiikurisu/edf"
import "fmt"

func main() {
    edfFile := "your_file.edf"
    header, records := edf.ReadFile(edfFile)
    fmt.Println(edf.WriteCSV(header, records))
}

Credits

This repository was written by Cristiano Silva Jr. while working on the Laboratory of Neuroscience and Behaviour from the University of Brasilia.

Clone this wiki locally