This package is designed to identify and analyze discontinuities in time series data.
- Finding the discontinuities, see this
notebook
- Corresponding to limited feature extraction / anomaly detection
- Calculating the properties of the discontinuities, see this
notebook
- One can use higher time resolution data
For how to use this project as a python library, please see this page.
See accompanying package Discontinuity.jl for Julia about data processing and visualization.
pip install discontinuitypy
Import the package
from discontinuitypy.utils.basic import *
from discontinuitypy.core import *
- Solar wind discontinuities spatial evolution in the outer heliosphere
- Evolution of solar wind discontinuities in the inner heliosphere: PSP and Earth conjunctions and alignments
Notations:
-
: Magnetic field in ANY coordinate system -
: Magnetic field magnitude -
: Ion velocity in ANY coordinate system, in units of -
: Plasma density, in units of
For the unit, by default we use
- length :
- time :
- magnetic field :
- current :
For more derivable outputs, please see Discontinuity.jl
-
t_{us,ds}
: moments of time corresponding to upstream and downstream boundaries of the current sheet -
b_mag
: mean of magnetic field magnitude across the discontinuity -
: Change in magnetic field magnitude over magnetic field magnitude (mean) db_over_b
- see Fig.14 in Tsurutani and Smith (1979)
-
bn_over_b
:: Normal component of magnetic field over magnetic field magnitude (mean) -
: unit vector in the direction of the maxium, medium, minium variance magnetic field in ANY coordinate system e_{max/med/min}{x,y,z}
-
: normal of the discontinuity plane -
: normal from minimum variance analysis (unit vector in the minium variance direction) n_mva = e_min
-
: cross product of the magnetic field vector upstream and the field vector downstream of the transition n_cross
-
: Velocity vector in ANY coordinate system V
-
: Velocity component along the maximum variance direction V_l
-
: Velocity component along the normal direction from minimum variance analysis V_n_mva
-
: Velocity component along the normal direction from cross product of upstream and downstream magnetic field V_n_cross
-
j0{_norm}
: current density, in units of
Tsurutani, Bruce T., and Edward J. Smith. 1979. “Interplanetary Discontinuities: Temporal Variations and the Radial Gradient from 1 to 8.5 AU.” Journal of Geophysical Research: Space Physics 84 (A6): 2773–87. https://doi.org/10.1029/JA084iA06p02773.