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.3.0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

discontinuitypy-0.3.0-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for discontinuitypy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a03e9cb9f74cb4bfd4fd09305adf1eb7efe933875ca27cf7ecdee3272ef3b90c
MD5 749402cab918407df51674706d0a3b15
BLAKE2b-256 11b63e2b023e6292953d91497d2016b9564e2d277ec5f6b6f3db39e10326fbd4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for discontinuitypy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 153afbf2819b8d584c6fbd73d74af1093b2973898e4f3902c5727f4aea853dd0
MD5 bab86ce503b2594c23fa719be916502b
BLAKE2b-256 c4e5dd3412fff212efffd089ad0d5572b381441b1148960c0a906ef31cdbdfa2

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