All Projects → felixpatzelt → Colorednoise

felixpatzelt / Colorednoise

Licence: mit
Python package to generate Gaussian (1/f)**beta noise (e.g. pink noise)

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects
python2
120 projects

Projects that are alternatives of or similar to Colorednoise

Fractional differencing gpu
Rapid large-scale fractional differencing with RAPIDS to minimize memory loss while making a time series stationary. 6x-400x speed up over CPU implementation.
Stars: ✭ 38 (-43.28%)
Mutual labels:  time-series
Gratis
GRATIS: GeneRAting TIme Series with diverse and controllable characteristics
Stars: ✭ 51 (-23.88%)
Mutual labels:  time-series
Pycon Ua 2018
Talk at PyCon UA 2018 (Kharkov, Ukraine)
Stars: ✭ 60 (-10.45%)
Mutual labels:  time-series
Mathematicavsr
Example projects, code, and documents for comparing Mathematica with R.
Stars: ✭ 41 (-38.81%)
Mutual labels:  time-series
Mckinsey Smartcities Traffic Prediction
Adventure into using multi attention recurrent neural networks for time-series (city traffic) for the 2017-11-18 McKinsey IronMan (24h non-stop) prediction challenge
Stars: ✭ 49 (-26.87%)
Mutual labels:  time-series
Soft Dtw Divergences
An implementation of soft-DTW divergences.
Stars: ✭ 52 (-22.39%)
Mutual labels:  time-series
Kaggle Web Traffic Time Series Forecasting
Solution to Kaggle - Web Traffic Time Series Forecasting
Stars: ✭ 29 (-56.72%)
Mutual labels:  time-series
Neural prophet
NeuralProphet - A simple forecasting model based on Neural Networks in PyTorch
Stars: ✭ 1,125 (+1579.1%)
Mutual labels:  time-series
Tensorflow Cnn Time Series
Feeding images of time series to Conv Nets! (Tensorflow + Keras)
Stars: ✭ 49 (-26.87%)
Mutual labels:  time-series
New Empty Python Project Base
The Perfect Python Project Template. Bored of coding anew the same thing for your new Python projects? Here is what you need. Click below on the "use this template" green button to start using it instantly. Rename the "project" folder and all references to this folder to customize your project name.
Stars: ✭ 60 (-10.45%)
Mutual labels:  time-series
Traildb
TrailDB is an efficient tool for storing and querying series of events
Stars: ✭ 1,029 (+1435.82%)
Mutual labels:  time-series
Nsdb
Natural Series Database
Stars: ✭ 49 (-26.87%)
Mutual labels:  time-series
Time Attention
Implementation of RNN for Time Series prediction from the paper https://arxiv.org/abs/1704.02971
Stars: ✭ 52 (-22.39%)
Mutual labels:  time-series
Egads
A Java package to automatically detect anomalies in large scale time-series data
Stars: ✭ 997 (+1388.06%)
Mutual labels:  time-series
Pysgs
📈 Python interface for the Brazilian Central Bank's Time Series Management System (SGS)
Stars: ✭ 60 (-10.45%)
Mutual labels:  time-series
Yuvi
Yuvi is an in-memory storage engine for recent time series metrics data.
Stars: ✭ 35 (-47.76%)
Mutual labels:  time-series
Msgarch
MSGARCH R Package
Stars: ✭ 51 (-23.88%)
Mutual labels:  time-series
Kryptoflow
Real-time analysis of bitcoin markets with Kafka and Tensorflow Serving
Stars: ✭ 66 (-1.49%)
Mutual labels:  time-series
Whisper
Whisper is a file-based time-series database format for Graphite.
Stars: ✭ 1,121 (+1573.13%)
Mutual labels:  time-series
Tsanalysis.jl
This package includes basic tools for time series analysis, compatible with incomplete data.
Stars: ✭ 56 (-16.42%)
Mutual labels:  time-series

colorednoise.py

Generate Gaussian distributed noise with a power law spectrum with arbitrary exponents.

An exponent of two corresponds to brownian noise. Smaller exponents yield long-range correlations, i.e. pink noise for an exponent of 1 (also called 1/f noise or flicker noise).

Based on the algorithm in:

Timmer, J. and Koenig, M.:
On generating power law noise. 
Astron. Astrophys. 300, 707-710 (1995)

Further reading: Colors of noise on Wikipedia <//en.wikipedia.org/wiki/Colors_of_noise>_

Installation

pip install colorednoise

Dependencies

- Python >= 2.7 or >= 3.6
- NumPy

Other Python versions were not tested, but are likely to work.

Example

.. code:: python

import colorednoise as cn
beta = 1 # the exponent
samples = 2**18 # number of samples to generate
y = cn.powerlaw_psd_gaussian(beta, samples)

# optionally plot the Power Spectral Density with Matplotlib
#from matplotlib import mlab
#from matplotlib import pylab as plt
#s, f = mlab.psd(y, NFFT=2**13)
#plt.loglog(f,s)
#plt.grid(True)
#plt.show()
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].