Skip to content

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlignedSpans

Build Status codecov

Usage

AlignedSpans converts between time spans and sample indices. Time spans describe a time interval down to a resolution of 1 ns and are usually provided by TimeSpans.jl. Sample indices are associated to signals sampled at some finite rate (e.g. Onda.jl's Samples objects).

AlignedSpans provides an AlignedSpan type which holds integer sample indices along with a sample rate. An AlignedSpan is thus a pair of sample indices, but since it holds the sample rate, it can be used to represent a time span as well, and it supports the TimeSpans.jl interface.

See the documentation for more.

About

Helpers for continuous <-> discrete indexing

Resources

Stars

5 stars

Watchers

18 watching

Forks

Releases

Packages

Used by

Contributors

Languages