discontinuitypy
Identify and analyze discontinuities in time series data.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Repository
Identify and analyze discontinuities in time series data.
Basic Info
- Host: GitHub
- Owner: Beforerr
- Language: Python
- Default Branch: main
- Homepage: https://beforerr.github.io/discontinuitypy/
- Size: 78.6 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
DiscontinuityPy
User Guide
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.
Installation
shell
pip install discontinuitypy
Getting started
Import the package
python
from discontinuitypy.utils.basic import *
from discontinuitypy.core import *
Related projects and publications
- Solar wind discontinuities spatial evolution in the outer heliosphere
- Evolution of solar wind discontinuities in the inner heliosphere: PSP and Earth conjunctions and alignments
Properties of Discontinuities
Notations:
- $\vec{B}$ : Magnetic field in ANY coordinate system
- $B$ : Magnetic field magnitude
- $V$ : Ion velocity in ANY coordinate system, in units of $km/s$
- $n$ : Plasma density, in units of $1/cm^3$
For the unit, by default we use
- length : $km$
- time : $s$
- magnetic field : $nT$
- current : $nA/m^2$
Outputs
For more derivable outputs, please see Discontinuity.jl
t_{us,ds}: moments of time corresponding to upstream and downstream boundaries of the current sheetb_mag: mean of magnetic field magnitude across the discontinuity$|Δ B|/B$ : Change in magnetic field magnitude over magnetic field magnitude (mean)
db_over_b- see Fig.14 in Tsurutani and Smith (1979)
bn_over_b: $\bar{B}_N/\bar{B}$ : Normal component of magnetic field over magnetic field magnitude (mean)$\vec{e}l, \vec{e}m, \vec{e}n$ : unit vector in the direction of the maxium, medium, minium variance magnetic field in _ANY coordinate system
e_{max/med/min}{x,y,z}$\vec{n}$ : normal of the discontinuity plane
$\vec{n}{\text{MVA}}$ : normal from minimum variance analysis (unit vector in the minium variance direction) `nmva = e_min`
$\vec{n}{\text{cross}}$ : cross product of the magnetic field vector $Bu$ upstream and the field vector $Bd$ downstream of the transition `ncross`
$V$ : Velocity vector in ANY coordinate system
V$Vl$ : Velocity component along the maximum variance direction `Vl`
$V{n,MVA}$ : Velocity component along the normal direction from minimum variance analysis `Vn_mva`
$V{n,cross}$ : Velocity component along the normal direction from cross product of upstream and downstream magnetic field `Vn_cross`
j0{_norm}: current density, in units of $nA/m^2$
Owner
- Name: Beforerr
- Login: Beforerr
- Kind: user
- Repositories: 2
- Profile: https://github.com/Beforerr
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: "discontinuitypy: A python package for identifying and analyzing
discontinuities for time series"
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Zijin
family-names: Zhang
orcid: "https://orcid.org/0000-0002-9968-067X"
identifiers:
- type: doi
value: 10.5281/zenodo.14868016
repository-code: "https://github.com/Beforerr/discontinuitypy"
url: "https://beforerr.github.io/discontinuitypy/"
license: MIT
date-released: "2025-02-13"
doi: 10.5281/zenodo.14868016
GitHub Events
Total
- Create event: 6
- Commit comment event: 2
- Release event: 3
- Issues event: 4
- Push event: 47
- Fork event: 1
Last Year
- Create event: 6
- Commit comment event: 2
- Release event: 3
- Issues event: 4
- Push event: 47
- Fork event: 1
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: about 13 hours
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: about 13 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Beforerr (2)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 40 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
- Total maintainers: 1
pypi.org: discontinuitypy
A python package for identifying and analyzing discontinuities for time series data.
- Homepage: https://beforerr.github.io/discontinuitypy
- Documentation: https://discontinuitypy.readthedocs.io/
-
Latest release: 0.4.0
published over 1 year ago

