calc

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dihf

func Dihf(x, y, z float64) (float64, float64, float64, float64)

Computes the geomagnetic D, I, H, and F from X, Y, and Z.

D - declination

I - inclination

H - horizontal intensity

F - total intensity

func Shval3

func Shval3(flat, flon, elev float64, nmax int, gha, ghb *[]float64) (float64, float64, float64, float64, float64, float64)

Computes field components from spherical harmonic (sh) models. The calculation is performed for two sets of coeffs for a single location, thus it returns two sets of X, Y, Z.

X - northward component

Y - eastward component

Z - vertically-downward component

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL