Reference/API¶
rbinvariantslib.invariants Module¶
Numerical calculation of adiabatic invariants.
Functions¶
|
Calculate the third adiabatic invariant, K. |
|
Calculate the third adiabatic invariant, L* |
Classes¶
|
Class to hold the return value of calculate_K(). |
|
Class to hold the return value of calculate_LStar(). |
Raised when a field line trace is performed but the result is empty or is too small. |
|
Raised when search to determine drift shell doesn't converge |
|
Raised when linear search to determine the drift shell doesn't converge. |
|
Raised when bisection serach to determine the drift shell doesn't converge. |
Class Inheritance Diagram¶

rbinvariantslib.models Module¶
Tools for obtaining models for use in calculating invariants. Models
are grids + magnetic field vectors at those grid points. They
are instances of MagneticFieldModel.
In this module, all grids returned are in units of Re and all magnetic fields are in units of Gauss.
Functions¶
|
Get a dipole field on a LFM grid. |
|
Get a magnetic field data + grid from LFM output. |
|
Helper function to get one of the tsyganenko fields on an LFM grid. |
|
Helper function to get one of the tsyganenko fields on an LFM grid. |
|
Get parameters for tsyganenko models from CDAWeb API. |
|
Get a |
|
Load a |
|
Get a magnetic field mmodel_type, pathodel; |
Classes¶
|
Represents a magnetic field model, with methods for sampling the magnetic field at an aribtrary point. |
|
Class to hold the results of a field line trace. |
Class Inheritance Diagram¶
