All Projects → deepcharles → Ruptures

deepcharles / Ruptures

Licence: bsd-2-clause
ruptures: change point detection in Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ruptures

spinmob
Rapid and flexible acquisition, analysis, fitting, and plotting in Python. Designed for scientific laboratories.
Stars: ✭ 34 (-94.8%)
Mutual labels:  science, scientific-computing
PyCORN
A script to extract data from ÄKTA/UNICORN result-files (.res)
Stars: ✭ 30 (-95.41%)
Mutual labels:  science, scientific-computing
Benzina
Benzina is an image-loader package that greatly accelerates image loading onto GPUs using their built-in hardware codecs.
Stars: ✭ 36 (-94.5%)
Mutual labels:  science, scientific-computing
Reprozip
ReproZip is a tool that simplifies the process of creating reproducible experiments from command-line executions, a frequently-used common denominator in computational science.
Stars: ✭ 231 (-64.68%)
Mutual labels:  science, scientific-computing
SciCompforChemists
Scientific Computing for Chemists text for teaching basic computing skills to chemistry students using Python, Jupyter notebooks, and the SciPy stack. This text makes use of a variety of packages including NumPy, SciPy, matplotlib, pandas, seaborn, NMRglue, SymPy, scikit-image, and scikit-learn.
Stars: ✭ 65 (-90.06%)
Mutual labels:  science, scientific-computing
Obspy
ObsPy: A Python Toolbox for seismology/seismological observatories.
Stars: ✭ 756 (+15.6%)
Mutual labels:  signal-processing, science
adorad
Fast, Expressive, & High-Performance Programming Language for those who dare
Stars: ✭ 54 (-91.74%)
Mutual labels:  science, scientific-computing
Boinc
Open-source software for volunteer computing and grid computing.
Stars: ✭ 1,320 (+101.83%)
Mutual labels:  science, scientific-computing
mdct
A fast MDCT implementation using SciPy and FFTs
Stars: ✭ 42 (-93.58%)
Mutual labels:  signal-processing, scientific-computing
OpenSkyStacker
Multi-platform stacker for deep-sky astrophotography.
Stars: ✭ 80 (-87.77%)
Mutual labels:  science, scientific-computing
Stdlib
✨ Standard library for JavaScript and Node.js. ✨
Stars: ✭ 2,749 (+320.34%)
Mutual labels:  science, scientific-computing
source
The main source repository for the Raysect project.
Stars: ✭ 62 (-90.52%)
Mutual labels:  science, scientific-computing
Awesome Scientific Python
A curated list of awesome scientific Python resources
Stars: ✭ 127 (-80.58%)
Mutual labels:  science, scientific-computing
Poliastro
poliastro - 🚀 Astrodynamics in Python
Stars: ✭ 462 (-29.36%)
Mutual labels:  science, scientific-computing
Freud
Powerful, efficient particle trajectory analysis in scientific Python.
Stars: ✭ 118 (-81.96%)
Mutual labels:  science, scientific-computing
getfem
Mirror of GetFEM repository
Stars: ✭ 23 (-96.48%)
Mutual labels:  science, scientific-computing
Core
The core source repository for the Cherab project.
Stars: ✭ 26 (-96.02%)
Mutual labels:  science, scientific-computing
OOMMFTools
OOMMFTools is a set of utilities designed to assist OOMMF postprocessing
Stars: ✭ 15 (-97.71%)
Mutual labels:  science, scientific-computing
jtk
The Mines Java Toolkit
Stars: ✭ 53 (-91.9%)
Mutual labels:  signal-processing, scientific-computing
Librmath.js
Javascript Pure Implementation of Statistical R "core" numerical libRmath.so
Stars: ✭ 425 (-35.02%)
Mutual labels:  science, scientific-computing

Maintenance build python PyPI version Conda Version docs PyPI - License Downloads Code style: black Binder Codecov

ruptures

ruptures is a Python library for off-line change point detection. This package provides methods for the analysis and segmentation of non-stationary signals. Implemented algorithms include exact and approximate detection for various parametric and non-parametric models. ruptures focuses on ease of use by providing a well-documented and consistent interface. In addition, thanks to its modular structure, different algorithms and models can be connected and extended within this package.

How to cite

If you use ruptures in a scientific publication, we would appreciate citations to the following paper:

  • C. Truong, L. Oudre, N. Vayatis. Selective review of offline change point detection methods. Signal Processing, 167:107299, 2020. [journal] [pdf]

Important links

  • Documentation: link.
  • Pypi package index: link

Dependencies and install

Installation instructions can be found here.

Basic usage

(Please refer to the documentation for more advanced use.)

The following snippet creates a noisy piecewise constant signal, performs a penalized kernel change point detection and displays the results (alternating colors mark true regimes and dashed lines mark estimated change points).

import matplotlib.pyplot as plt
import ruptures as rpt

# generate signal
n_samples, dim, sigma = 1000, 3, 4
n_bkps = 4  # number of breakpoints
signal, bkps = rpt.pw_constant(n_samples, dim, n_bkps, noise_std=sigma)

# detection
algo = rpt.Pelt(model="rbf").fit(signal)
result = algo.predict(pen=10)

# display
rpt.display(signal, bkps, result)
plt.show()

Changelog

See the changelog for a history of notable changes to ruptures.

Thanks to all our contributors

License

This project is under BSD license.

BSD 2-Clause License

Copyright (c) 2017, ENS Paris-Saclay, CNRS
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].