Skip to content

Collection of scripts relating to processing geomagnetic data, spherical harmonics etc.

License

Notifications You must be signed in to change notification settings

matthewgard/geomagnetic-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geomagnetic-tools

A collection of scripts relating to processing geomagnetic data, spherical harmonics etc.

Capture

MATLAB/spherical_harmonics/

  • data2sh.m
    • Computes a solution of schmidt semi-normalized spherical harmonic coefficients given a set of geomagnetic field values using least squares
  • sh2data.m
    • Computes geomagnetic field values at specified locations given a set of schmidt semi-normalized spherical harmonic coefficients
  • legendre_schmidt.m
    • Calculate the set of schmidt semi-normalized associated legendre polynomials and their derivatives for a given degree n
  • legendre_ind.m
    • Get index within Pnm and dPnmdt calculated using legendre_schmidt for the associated degree (n) and order (m)

MATLAB/general_scripts/

  • declination.m
    • Compute declination from xyz data
  • inclination.m
    • Compute inclination from xyz data
  • readIAGA.m
    • Parse IAGA2002 format geomagnetic data into a MATLAB structure array for easier processing
  • xyz2hdz.m
    • Convert xyz geomagnetic data to hdz
  • hdz2xyz.m
    • Convert hdz geomagnetic data to xyz

MATLAB/plotting/

  • bluewhitered.m
    • Custom colormap for plotting geomagnetic data (blue->white->red)

About

Collection of scripts relating to processing geomagnetic data, spherical harmonics etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages