Skip to content

Utility library for interacting with Dewesoft DWDataReaderLib shared library in the Julia programming language

License

Notifications You must be signed in to change notification settings

fleimgruber/DWDataReader.jl

Repository files navigation

DWDataReader

CI codecov deps version pkgeval

Reader for DEWESoft data files

Installation

The package is registered in the General registry and so can be installed at the REPL with ] add DWDataReader.

Example usage

using Printf, Statistics, DWDataReader

dewefile = "test/testfiles/Example_Drive01.d7d"
f = DWDataReader.File(dewefile)
println(f.info)
println(f)
for ch in f.channels
    @printf "chan: %s, mean: %.3f" ch.name mean(DWDataReader.scaled(ch)[:, 2])
end

Supported Systems

Windows

Only MSYS2 MinGW toolchain is supported. Please provide PRs for other toolchains (e.g. MSVC).

Run this command to install the toolchain (on MSYS2 MINGW64 shell):

pacman -S --needed base-devel mingw-w64-x86_64-toolchain

Make sure these MSYS2 paths are in the $PATH environment variable for the julia process using DWDataReader.jl:

  • C:\Users\user\opt\msys64\usr\bin
  • C:\Users\user\opt\msys64\mingw64\bin

Linux

GCC toolchain is supported.

Documentation

  • STABLEmost recently tagged version of the documentation.
  • LATESTin-development version of the documentation.

Project Status

The package is tested against Julia 1.8.5 on Linux and Windows.

Contributing and Questions

Contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems or would just like to ask a question.

About

Utility library for interacting with Dewesoft DWDataReaderLib shared library in the Julia programming language

Resources

License

Stars

Watchers

Forks

Packages

No packages published