Skip to main content

A python package for identifying and analyzing discontinuities for time series data.

Project description

DiscontinuityPy

PyPI Pixi Badge pdm-managed

User Guide

This package is designed to identify and analyze discontinuities in time series data.

  1. Finding the discontinuities, see this notebook
    • Corresponding to limited feature extraction / anomaly detection
  2. 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.

Installation

pip install discontinuitypy

Getting started

Import the package

from discontinuitypy.utils.basic import *
from discontinuitypy.core import *

Related projects and publications

Properties of Discontinuities

Notations:

  • $\vec{B}$ : Magnetic field
  • $B$ : Magnetic field magnitude

Outputs

  • b_mag : mean of magnetic field magnitude across the discontinuity
  • db_over_b : $|\Delta B|/\bar{B}$ , Change in magnetic field magnitude over magnetic field magnitude (mean)
    • see Fig.14 in Tsurutani and Smith (1979)
  • rotation_angle : Rotation angle across the discontinuity
    • see Fig.12 in Tsurutani and Smith (1979)
    • see Fig.11 in Söding et al. (2001)
  • bn_over_b : $\bar{B}_N/\bar{B}$ : Normal component of magnetic field over magnetic field magnitude (mean)

Söding, A., F. M. Neubauer, B. T. Tsurutani, N. F. Ness, and R. P. Lepping. 2001. “Radial and Latitudinal Dependencies of Discontinuities in the Solar Wind Between 0.3 and 19 AU and -80$^\circ$ and +10$^\circ$.” Annales Geophysicae 19 (7): 667–80. https://doi.org/10.5194/angeo-19-667-2001.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discontinuitypy-0.2.2.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

discontinuitypy-0.2.2-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file discontinuitypy-0.2.2.tar.gz.

File metadata

  • Download URL: discontinuitypy-0.2.2.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.20.0.post1 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for discontinuitypy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9e3cc50006673faeb20cd4aec28335a2a2871534bf4015cf4fe8da105ffc4f50
MD5 bcb241bb63e7e85dc293436563bf494d
BLAKE2b-256 3106478a1e82fbaae5fd987561c8d30435943bd3adc365d335562a8f482c2a0b

See more details on using hashes here.

File details

Details for the file discontinuitypy-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: discontinuitypy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.20.0.post1 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for discontinuitypy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 873cc86169d77a4f1c5632cc4b70b5717b4755413a82a6f923e25134908215bb
MD5 24be5dcbb72085a94753d1985eab9b11
BLAKE2b-256 846d3e8646db7caa3989dd027c61afc4144293628dfdc45a975f599f37722766

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page