# Generic Residue Analysis

#

### Contents:

- Overview
- Inputs
- Outputs
- Bugs/Caveats
- History
- References
- Other MPE/ISSI PlugIns

### Overview

This plugins performs a series of generic residue analysis of the given input data;
- MVAB (minimum variance analysis of the input magnetic field)
- MVAdB/dt (minimum variance analysis of the derivative of the magnetic field)
- MFR (minimum faraday residue analysis of the tangential E_field (E=VxB))
- MMR (minimum mass flux residue on the plasma flow (nV))
- MER (minimum entropy residue analysis)
- MTER (minimum total energy residue analysis)
- MLMR (minimum linear momentum residue analysis)
- MVAV (minimum variance of plasma velocity)
- HT (deHoffmann-Teller analysis)
- COM - a weighted combination of the above - see Sonnerup et al, 2005 for details.

For each method, a covariance matrix is calculated. The eigenvalues and eigenvectors of this matrix may be used to determine orientation of a plasma boundary layer. Various constraints can be applied to the covariance matrix to ensure certain properties of the eigenvectors; for example requiring zero average in the normal direction.

### Input data

Input data needed are :
Magnetic field
Time derivative of magnetic field
Plasma Velocity
Plasma density
Electric field
Pressure tensor or scalar
Heat flux tensor or scalar
Constraint
Weights for combined approach
Time interval
Input slots can be left empty. A limited set of calculations based on the supplied input data will then be performed.

### Outputs

No WL objects, but eigenvectors (orientation) and velocities are written to the output text field.

### Bugs/Caveats

None known yet.

### History

2003-09-08 - alpha version
2003-12-11 - added MTER
2005-05-11 - fixed RH in MVA calculation
2005-09-29 - added MVAV
2005-10-23 - alternative way to calculate average Alfven speed for use in constraint 3
2006-05-31 - added MVA dB/dt
2008-08-24 - removed QT dependencies

### References

Haaland et al.,2005 : Discontinuity Analysis with Cluster, ESA-SP 598
Sonnerup et al., 2006 : JGR, A5, 2006

SEH, 24 Sep, 2008