Difference between revisions of "AnyWave:Faq"

From WikiMEG
Jump to: navigation, search
(Python plug-ins)
(Mac OS X)
Line 18: Line 18:
  
 
==Mac OS X==
 
==Mac OS X==
The '''Mac OS X''' version of '''AnyWave''' supports '''Mac OS 10.5''' to '''10.10'''.
+
The '''Mac OS X''' version of '''AnyWave''' supports '''Mac OS 10.10''' and earlier versions.
  
 
A DMG file is provided. After opening the dmg file, launch the installation of AnyWave and follow instructions.<br />
 
A DMG file is provided. After opening the dmg file, launch the installation of AnyWave and follow instructions.<br />

Revision as of 13:04, 30 March 2016

Frequently asked questions (FAQ) about AnyWave. If you don't have an answer to your question reading the Documentation, you may find useful information here.

What are the available versions?

The current available versions are:

  • Windows 64bit - Jun 2015
  • Mac OS X - Jun 2015
  • Linux amd64 Debian 7.0 - Jun 2015. The package is also compatible with Ubuntu 14.04 and earlier versions.

Click on the link below to download AnyWave for your platform:
Download AnyWave

Do not hesitate to report installation problems or other issues using our BUG TRACKER

How to install AnyWave?

Windows

After downloading the zip file, simply unzip it in a temporary folder and launch setup.exe

Mac OS X

The Mac OS X version of AnyWave supports Mac OS 10.10 and earlier versions.

A DMG file is provided. After opening the dmg file, launch the installation of AnyWave and follow instructions.

Linux

AnyWave is available as a Debian package for the amd64 architecture.

The package should install as well on Ubuntu 64bit.

After downloading the .deb file, double-click on it or use the CLI interface to install the application.

After the package was successfully installed, you will be able to run AnyWave from a terminal by typing the command: anywave

Where to get the documentation?

The user guide is available here : http://meg.univ-amu.fr/AnyWave/AnyWave_UserGuide.pdf

See also the Wiki parts dedicated to developers: Developer's corner

Plug-ins

What is a plug-in?

AnyWave uses external modules called plug-ins, that are loaded at startup and extend the functionalities of the application.
Depending on the platform, plug-ins are files with different extensions.
On Windows systems plug-ins are .dll files where on Mac OS X systems the extension is .dylib. Linux version of AnyWave will use plugin with .so extension.

There are several types of plug-ins used by AnyWave:
- Reader plug-ins are responsible of reading data file formats.
- Writer plug-ins are responsible of writing data to a data file format.
- Signal processing plug-ins will run some processing on data and present or not the results in AnyWave.
- Display plug-ins are responsible of displaying specific data type. Typically, the results computed by signal processing plug-ins.

How to install a plug-in

When installing AnyWave some plug-ins are also installed, allowing to read file formats and allowing to do processing on data.
Those plug-ins are located in a Plugin folder:

  • On Windows and Linux systems the folder is called Plugins and is located in the AnyWave folder.
  • On Mac systems, the folder is called Anywave_Plugins and is installed in the /Applications folder.

Adding a plug-in is done by copying the plug-in file in that folder. However, that will required administrator privileges.

How to install user plug-ins

One other way to install plug-ins is to copy them into the user's home directory.

Indeed, AnyWave will create a AnyWave folder in the user's home directory:

  • On Windows that will be someting like: "My Documents\AnyWave" or "Documents\AnyWave".
  • On Linux it can be at /home/user/AnyWave
  • on Mac systems it will be located at /Users/user/AnyWave

This AnyWave folder will contain several other folders. The one usefull here is called Plugins.

Copy user plug-ins file in that directory and AnyWave will load them the next time the user launches it.

MATLAB plug-in

AnyWave offers the possibility to run signal processing plug-ins written with the MATLAB programming language.
There are two ways to run MATLAB code as plug-ins:

  • You may have a MATLAB Compiled code as a standalone application.
  • You may have a MATLAB scripted plug-in which is simply MATLAB code.

MATLAB Compiled Plugin

A MATLAB Compiled plugin is a standalone application that AnyWave could launch by passing it some parameters.
To build that application the MATLAB Compiler is required as well as a C++ Compiler.
Follow the instructions on the developer's corner page to see how to write a MATLAB plugin for AnyWave.
We do not encourage providing MATLAB Compiled Code as it requires a specific version of the MCR to be installed on the computer.
It is much more easier to share plug-ins written in MATLAB code.

MATLAB Scripted Plugin

If you are a mighty MATLAB programmer and thus have MATLAB installed on your computer, you may use and develop a MATLAB Scripted plugin.
A MATLAB Scripted plugin is a MATLAB function that will be called by AnyWave.
It is possible to use a MATLAB Scripted plugin written by someone else just by installing it in AnyWave.

How to install a MATLAB Scripted Plugin

AnyWave provides a specific location where to put MATLAB Scripted plug-ins:
You may use the global plugin directory or the user's plugin directory. On both locations you will find a subfolder called MATLAB.
AnyWave will look for MATLAB Scripted plug-ins in the two locations. (AnyWave Application directory/Plugins/Matlab or /user's home/AnyWave/Plugins/Matlab)

A MATLAB Scripted plug-in is a simple folder containing files. If you want more details about MATLAB Scripted plug-ins, please refer to the How to write a MATLAB Scripted plug-in.

To summarize:
MATLAB Scripted plug-ins have to go in:Application dir/Plugins/Matlab or /user's home/AnyWave/Plugins/Matlab

Python plug-ins

AnyWave offers the possibility to write signal processing plug-in in Python.

A Python module is provided allowing the developper to user some python methods to communicate with AnyWave.
Python 2.7 must be present on the system, and numpy 1.7 is also required as AnyWave provides data using numpy arrays.

A Python plug-in is very similar to a MATLAB Scripted Plug-in. The install procedure is the same except that you have to copy the plugin in a folder named Python:
Python plug-ins have to go in:AnyWave application/Plugins/Python/ or /user's home/AnyWave/Plugins/Python

File formats

AnyWave can read and/or write to different file formats depending on the available plug-ins.

For EEG data the following formats are supported for reading:

  • Neuroscan (.cnt)
  • Micromed (.trc)
  • Electrode Array (.eab)
  • EDF/BDF (.eeg)
  • Brainvision Analyser (.vhdr)
  • ADES (.ades) AnyWave simple format.

For MEG data the following formats are supported for reading:

  • 4DNI
  • CTF
  • ADES (.ades) AnyWave simple format.

It is also possible to export to the following formats:

  • Brainvision Analyser (.vhdr)
  • ADES (.ades) AnyWave simple format.

ADES format

This is a simple file format used mostly to exchange data between different software. This is NOT the official AnyWave format but just a media used for exchanging between software.

Here is a complete documentation of the ADES file format