Skip to content

Utilities for working with regularly sampled time series data

License

Notifications You must be signed in to change notification settings

galenlynch/SignalIndices.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignalIndices Stable Dev Build Status Coverage

Utilities for working with regularly sampled time series data, including index-time conversions, signal processing primitives, and array manipulation functions.

Quick Example

using SignalIndices

fs = 30_000.0  # 30 kHz sampling rate

# Convert between sample indices and time
t = ndx_to_t(15001, fs)         # 0.5 s
idx = t_to_ndx(0.5, fs)         # 15001

# Detect threshold crossings in a signal
edges = find_all_edge_triggers(signal, threshold)

# Sliding window sum (no zero-padding) and fast histogram
sums = moving_sum(signal, 100)
counts = uniformhist(spike_times, 0.0:0.001:1.0)

When to Use What

Package Focus
SignalIndices.jl Index/time math, edge detection, and array primitives for regularly sampled data
DSP.jl Filters, FFTs, spectral analysis — use with SignalIndices for bookkeeping
SampledSignals.jl Audio I/O with rich buffer types — audio-specific
TimeSeries.jl TimeArray types for financial/irregular time series — stores timestamps per sample

Installation

# Not yet registered - install from path or URL
using Pkg
Pkg.develop(path="/path/to/SignalIndices")

Documentation

See the full documentation for a usage guide and API reference.

Citing

See CITATION.bib for the relevant reference(s).

About

Utilities for working with regularly sampled time series data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages