Digital Signal Processing¶
The CR-Sparse
library has some handy digital signal processing routines
implemented in JAX. They are available as part of the cr.sparse.dsp
package.
Utilities¶
Returns a sequence of time values sampled at a specific frequency for a specific duration |
Synthetic Signals¶
Generates a pulse signal which is 1 between start and end times and 0 everwhere else |
|
Generates a transient sinusoid between start and end times |
|
Generates a decaying sinusoid :param fs: Sample rate of signal in Hz. |
|
Generates a frequency sweep from low to high over time. |
|
Generates a frequency sweep from low to high over time defined by central frequency and bandwidth. |
|
Generates a Gaussian modulated sinusoid |
Discrete Cosine Transform¶
Computes the 1D Type-II DCT transform |
|
Computes the 1D Type-II Inverse DCT transform |
|
Computes the 1D Type-II DCT transform such that the transform is orthonormal |
|
Computes the 1D Type-II IDCT transform such that the transform is orthonormal |
Fast Walsh Hadamard Transform¶
There is no separate Inverse Fast Walsh Hadamard Transform as FWHT is the inverse of
itself except for a normalization factor.
In other words, x == fwht(fwht(x)) / n
where n is the length of x.
Computes the Fast Walsh Hadamard Transform over columns |