TimeseriesTools.jl

A convenient package for working with time series as mathematical series, rather than date-indexed data structures
Author brendanjohnharris
Popularity
4 Stars
Updated Last
1 Year Ago
Started In
April 2023

TimeseriesTools 🕰️🛠️

Stable Dev Build Status Coverage

TimeseriesTools.jl is a package for analyzing and visualizing time-series data in Julia. It provides a set of functions for preprocessing, analyzing, and plotting time series data, making your life better and your data look great, in that order.

Features

  • 📈 Practical utilities for working with time series
  • 📊 Spectral analysis and visualization
  • 🌈 Beautiful plotting using Makie

Installation

To install TimeseriesTools.jl, simply run the following command in your Julia REPL:

] add TimeseriesTools

Usage

Here's a quick example to get you started:

using TimeseriesTools, CairoMakie, TimeseriesTools.FFTW, Unitful

# Generate some quick brown noise
t = 0.005:0.005:1e5
x = colorednoise(t, u"s")*u"V" # ::AbstractTimeSeries
plot(x[1:10000])
S = powerspectrum(x, 0.001)
p = plot(S)

Example Time Series Plot Example Spectrum Plot Example Time Series Plot Example Spectrum Plot

Note that an instance of the most basic type of this package, the AbstractTimeSeries, can be generated with:

t = 0:0.01:1
x = sin.(t)
TimeSeries(t, x)

Please see the documentation for further functionality.

Acknowledgements 🙏

TimeseriesTools.jl builds upon the excellent DimensionalData.jl package for handling dimensions and indexing in time-series data.

Don't blame me for this readme, blame gpt-4 🤖

Happy analyzing! 🚀

Used By Packages

No packages found.