API reference#
This page gives an overview of all public classes and functions within the pysecs package.
SECS Class
The primary class to set up a Spherical Elementary Current System is the SECS class.
|
Spherical Elementary Current System (SECS). |
SECS Methods
The fit() and predict() methods can be called on the created system to fit to data and then predict at any other location.
|
Fits the SECS to the given observations. |
Set all SECs to a unit current amplitude. |
|
|
Calculate the predicted magnetic field or currents. |
|
Calculate the predicted magnetic fields. |
|
Calculate the predicted currents. |
Whether this system has any divergence free currents. |
|
Whether this system has any curl free currents. |
|
The number of elementary currents in this system. |
Additional functions
The helper functions create the geometrical transforms going from a pole to observation point are described below.
|
Calculate the divergence free magnetic field transfer function. |
|
Calculate the curl free magnetic field transfer function. |
|
Calculate the divergence free current density transfer function. |
|
Calculate the curl free magnetic field transfer function. |
|
Calculate the angular distance between a set of points. |
|
Calculate the bearing (direction) between a set of points. |