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
A few examples of irfu-matlab usage can be seen under web page https://sites.google.com/site/irfumatlab/
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).
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.
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://[email protected]/irfu/irfu-matlab.git
Then finally before actually contributing code, please have a look at our contributing guidelines.
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.
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.