spkit
.create_dictionary¶
- spkit.create_dictionary(Nmax, rowSize, method='Ramanujan')¶
Creating Dictionary for RFB
Creating Dictionary for RFB
- Parameters:
- Nmaxmaximum expected Period,
- rowSizenumber of rows (e.g. samples in signal)
- method‘Ramanujan’ ‘random’, ‘NaturalBasis’, ‘DFT’
- Returns:
- AMatrix of (rowSize, q)
Notes
spkit
References
The relevant paper is: [1] S.V. Tenneti and P. P. Vaidyanathan, “Nested Periodic Matrices and Dictionaries:
New Signal Representations for Period Estimation”, IEEE Transactions on Signal Processing, vol.63, no.14, pp.3736-50, July, 2015.
Python impletation is done by using matlab code version from - http://systems.caltech.edu/dsp/students/srikanth/Ramanujan/
Examples
import numpy as np import spkit as sp