Crate bilinear_tf

Crate bilinear_tf 

Source
Expand description

This crate implements Cohen’s class of time-frequency distributions in Rust. It allows computation of the time-frequency distribution of a signal with a chosen kernel function applied in the ambiguity domain.

§Usage

use bilinear_tf::*;
use rand::prelude::*;
use rayon::prelude::*;
 
let mut input = vec![0.0;48000];
input.par_iter_mut().for_each(|element| { *element = thread_rng().gen_range(-1.0..1.0); });
let result = bilinear_tf_distribution(&input, cone_shape, 0.001);

Functions§

bilinear_tf_distribution
Cohen’s Class Distribution Function.
choi_williams
Choi-Williams Distribution Function
cone_shape
Zhao-Atlas-Marks Distribution Function
rihaczek
Rihaczek Distribution Function
wigner
Wigner Distribution Function