fleimgruber / DWDataReader.jl

Utility library for interacting with Dewesoft DWDataReaderLib shared library in the Julia programming language
MIT License
0 stars 0 forks source link

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:

Linux

GCC toolchain is supported.

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.