Coder Social home page Coder Social logo

myd7349 / sigviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cbrnr/sigviewer

0.0 1.0 0.0 8.63 MB

SigViewer is a viewing application for biosignals.

License: GNU General Public License v3.0

Shell 0.29% C++ 98.45% C 0.04% QMake 1.15% Qt Script 0.07%

sigviewer's Introduction

SigViewer

SigViewer is a viewing application for biosignals such as EEG or MEG time series. In addition to viewing raw data, SigViewer can also create, edit, and display event information (such as annotations or artifact selections).

Download

Screenshots

screenshot-1

Building SigViewer

SigViewer requires a standard-compliant C++11 build toolchain, for example recent versions of GCC or Clang. Other compilers such as MSVC might work, but are not tested. Furthermore, SigViewer depends on Qt. Current SigViewer builds use Qt 5.12 (previous or future versions are not guaranteed to work).

SigViewer also depends on libbiosig and libxdf. There are two options to get these external dependencies for your platform:

  1. Build these dependencies yourself (see separate descriptions below).
  2. Use our pre-built binaries. The corresponding archive contains binary versions of libbiosig and libxdf and must be extracted into SigViewer’s source folder (which we denote as $sigviewer).

Windows

Building SigViewer on Windows is currently not supported. We provide binaries created with the MXE cross compilation environment.

macOS

SigViewer requires Mac OS X (now renamed to macOS) 10.9 or later. First, install XCode from the App Store. Next, download and install Qt 5.12.3 for macOS or install Qt via Homebrew by running brew install qt in a terminal. Make sure that qmake is available on the path if you want to build SigViewer in a terminal. Alternatively, you can build SigViewer with Qt Creator (please refer to the description for building SigViewer on Windows).

  1. Download and unzip the SigViewer source.
  2. Provide all external dependencies:
    • Either download the external archive and extract it inside $sigviewer.
    • Or copy the necessary files from libbiosig and libxdf builds to the corresponding folders as detailed in the build descriptions for libbiosig and libxdf below.
  3. In a terminal, change to $sigviewer and run qmake.
  4. Run make (or if you want to use more cores to build in parallel, run make -j4 if you want to use four cores). The SigViewer binary is built in the bin/release folder.
  5. To create a stand-alone version of SigViewer, open a terminal, change into $sigviewer/bin/release and run macdeployqt sigviewer.app -dmg. This creates a disk image with the app, which can then be dragged to the Applications folder.

Linux

Install the GNU build toolchain and Qt 5 with your native package manager. You can either build on the command line or with Qt Creator (which you then need to install).

  1. Download and unzip the SigViewer source.
  2. Provide all external dependencies:
    • Either download the external archive and extract it inside $sigviewer.
    • Or copy the necessary files from libbiosig and libxdf builds to the corresponding folders as detailed in the build descriptions for libbiosig and libxdf below.
  3. In a terminal, change to $sigviewer and run qmake.
  4. Run make (or if you want to use more cores to build in parallel, run make -j 4 if you want to use four cores). The SigViewer binary is built in the bin/release folder.

Building external dependencies

Windows

Building libbiosig on Windows is currently not supported.

To build libxdf from source, follow these steps:

  1. Download and unzip the libxdf source (SigViewer 0.6.4 uses libxdf 0.99).
  2. On the command line, run qmake followed by mingw32-make (or build the project with Qt Creator) (instead of qmake, you can also run cmake .).
  3. Copy xdf.h into $sigviewer/external/include and libxdf.a to $sigviewer/external/lib.

macOS

To build libbiosig from source, follow these steps:

  1. Download and unzip BioSig for C/C++ into $libbiosig (SigViewer 0.6.4 uses libbiosig 1.9.4).
  2. Change line 156 of Makefile.in to CFLAGS += -mmacosx-version-min=10.9 (replace 10.13 with 10.9).
  3. In a terminal, change to $libbiosig and run ./configure.
  4. Run make.
  5. Copy biosig.h, biosig-dev.h, gdftime.h, and physicalunits.h to $sigviewer/external/include and libbiosig.a to $sigviewer/external/lib.

To build libxdf from source, follow these steps:

  1. Download and unzip the libxdf source to $libxdf (SigViewer 0.6.4 uses libxdf 0.99).
  2. In a terminal, change to $libxdf and run qmake followed by make (instead of qmake, you can also run cmake .).
  3. Copy xdf.h into $sigviewer/external/include and libxdf.a to $sigviewer/external/lib.

Linux

To build libbiosig from source, follow these steps:

  1. Download and unzip BioSig for C/C++ into $libbiosig (SigViewer 0.6.4 uses libbiosig 1.9.4).
  2. In a terminal, change to $libbiosig and run ./configure.
  3. Run make.
  4. Copy biosig.h, biosig-dev.h, gdftime.h, and physicalunits.h to $sigviewer/external/include and libbiosig.a to $sigviewer/external/lib.

To build libxdf from source, follow these steps:

  1. Download and unzip the libxdf source to $libxdf (SigViewer 0.6.4 uses libxdf 0.99).
  2. In a terminal, change to $libxdf and run qmake followed by make (instead of qmake, you can also run cmake .).
  3. Copy xdf.h into $sigviewer/external/include and libxdf.a to $sigviewer/external/lib.

sigviewer's People

Contributors

cbrnr avatar yida-lin avatar schloegl avatar darktemplarbasealt avatar ksmathers64 avatar stfnrpplngr avatar freiform avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.