Skip to content

Matlab routines to work with space data, particularly with MMS and Cluster/CAA data. Also some general plasma routines.

Notifications You must be signed in to change notification settings

irfu/irfu-matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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://[email protected]/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.

About

Matlab routines to work with space data, particularly with MMS and Cluster/CAA data. Also some general plasma routines.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published