Home

Awesome

irfu-matlab ci-build

Acknowledgment

Please use the following to acknowledge use of IRFU-Matlab in your publications:

Data analysis was performed using the IRFU-Matlab analysis package available at https://github.com/irfu/irfu-matlab

Examples

A few examples of irfu-matlab usage can be seen under web page https://sites.google.com/site/irfumatlab/

Installation

Download the code and add to the Matlab path the directory 'irfu-matlab'. Two methods are described below, a plain basic install and a more development oriented install (for contributors).

Basic install

If you intend to use irfu-matlab without pushing code then to simply download the code from the command line run

git clone https://github.com/irfu/irfu-matlab.git

If you want only the latest version and not the full repository run

git clone --depth=1 https://github.com/irfu/irfu-matlab.git

Any time you want to update the code to the latest version, run from the command line

git pull

If you do not use command line there are github programs for Windows and Mac, see github web page.

Development install

This section is mostly for those of you who intend to develop and contribute code yourself (i.e. git push) and not just use 'irfu-matlab'.

It is recommended you first add SSH keys to your github.com account, please see github web pages for details on how to add an SSH key to your account. And then, when SSH keys have been configured, instead of cloning using the basic https:// command above instead from the command line run

git clone ssh://git@github.com/irfu/irfu-matlab.git

Then finally before actually contributing code, please have a look at our contributing guidelines.

Usage

Each time starting new Matlab session execute in Matlab:

irf

To see help execute in Matlab

help irfu-matlab

To test an example execute in Matlab:

Example_1

this should download Cluster data from the CSA archive and plot the figure consisting of 5 panels with data from different instruments.

Issues

If you experience any issues with irfu-matlab please submit an issue via our github page.

When submitting a new issue, please provide information required to replicate the issue as well as information regarding operating system and version of Matlab used.