Basic function to use spherical harmonics as a desciption of manetic fields.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
coreFunctions
displayFunctions
examples
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE.txt
README.md
Test.m

README.md

#SphericalHarmonics#

The repository contains many Matlab scripts used to perform spherical harmonics decomposition and calculation of the magnetic fields value at some points based on spherical harmonic coefficient.

The idea is to reduce the number of measurements/calculation/saved points needed to describe a magnetic field. Compared to a simple Cartesian gridding of the space, the usage of spherical harmonics required just a few points arranged on a sphere.

stream function & wire

Then spherical harmonics coefficient can be calculated in order to describe the field up to a given order and degree. Alt text On this graph, each colour represent an degree. A darker colour indicate a negative value. This is the coefficients associated with a "homogeneous" coil (or drive coil in Magnetic Particle Imaging).

For further information, please refer yourself to the publication published here and the associate references.