Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Build Status Code Style Blue

XDF.jl

XDF.jl is an importer for XDF files written in Julia. This package exposes the read_xdf function, which handles everything needed to load the contents of XDF files (including synchronization of different streams).

Installation

Use the package manager to add XDF.jl by typing ] add XDF in the Julia REPL.

Example

Assuming that the file minimal.xdf is in the current working directory, loading it is as simple as:

using XDF

streams = read_xdf("minimal.xdf")

Current status

This package is currently in an early stage, so here's an overview of what doesn't work (yet):

  • Dejittering of streams with regular sampling rates is not available yet
  • Loading only specific streams does not work yet

Contributing

If you have a feature request or found a bug, please open a new issue and let me know. I'd be especially interested in making the code more efficient, because this is basically my first Julia project. Currently, the function is passing through the file twice: the first pass reads everything except sample chunks, whereas the second pass reads samples into preallocated arrays. I'm not sure if this is ideal, the code would be much simpler if it used just a simple pass (but then sample arrays will need to be concatenated).

About

Load XDF files in Julia

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.