Skip to content
thomas-nilsson-irfu edited this page Feb 19, 2021 · 6 revisions

The irfu-matlab package includes many MATLAB routines to work with data from different space missions, particularly from Cluster mission. There is also some general code related to plasma physics.

irfu-matlab includes different parts:

  • General plasma physics: estimates of different plasma parameters, plasma wave dispersion relations, plasma wave visualization
  • General time series analysis routines: minimum variance, Hofmann-Teller, Walén analysis,...
  • Multi-spacecraft analysis methods: gradient methods (e.g. curlometer), timing
  • Data reading supports: Cluster Active Archive, OMNI, cdf
  • Plotting routines: time series, spectrograms, spacecraft location, (publishing quality figures!)

Examples

Once you have obtained the code, add the irfu-matlab and its subdirectories to the matlab path. This can be done by running irf; in matlab from the root directory of irfu-matlab.

All examples can be reconstructed directly after installing irfu-matlab and running the corresponding routines. It is also possible to run through a quick demonstration of irfu-matlab by simply running irf('demo'). To see some of the most common routines execute in matlab help irfu-matlab.

Plasma physics

Cold plasma dispersion relation

irf_disp_surf Dispersion relation plot Dispersion surfaces can be plotted for different plasma parameters and colored depending on polarization, E/B, ellipticity...

Plasma wave movies

irf_plasma_wave_visualization Alfven shear plot Example shows shear Alfvén wave propagating at 45 degree angle.

Cluster satellites

Cluster location

c_pl_sc_conf_xyz Cluster location plot Location can be shown in different formats - 2D, 3D, relative/absolute.

Cluster separation during mission

Example_Cluster_separation Cluster separation plot Distance between two Cluster spacecraft is shown using the colors of both spacecraft

Cluster data example 1

Example_1 Cluster data example 1 plot

Cluster data example 2

Example_2 Cluster data example 2 plot

Cluster data example 3

Example_3 Cluster data example 3 plot

This page is also available, in part, at https://sites.google.com/site/irfumatlab/.

Clone this wiki locally