Note
Go to the end to download the full example code or to run this example in your browser via JupyterLite or Binder
Release Highlights for spkit 0.0.9.6¶
Release Highlights for spkit 0.0.9.6
We are pleased to announce the release of spkit 0.0.9.6, which comes with more algorithms, such as Ramajuna methods and MEA and many bug fixes.
MEA: Multi-Electrode Array Processing¶
A full Documentation of MEA Processing Library is added.
MEA: Multi-Electrode Array Processing
Check Examples: Multi-Electrode-Array (MEA)
Ramanujan Methods for period estimation¶
import numpy as np
import matplotlib.pyplot as plt
import spkit as sp
# demo1
sp.RFB_example_1(period=10, SNR=0, seed=10)
# demo2
sp.RFB_example_2(periods=[3, 7, 11], signal_length=100, SNR=10, seed=15)
top 10 periods: [10 5 11 18 17 16 15 14 13 12]
Top 10 periods :
- using L1 regularisation with penalty : [ 3 7 11 2 6 5 10 15 4 8]
- using L1 regularisation with no penalty : [ 3 2 89 65 61 67 52 71 70 79]
- using L2 regularisation with penalty : [ 3 7 2 6 5 11 4 8 10 13]
- using no regularisation no penalty : [ 3 11 7 28 50 90 34 26 27 29]
Total running time of the script: (0 minutes 2.992 seconds)
Related examples
Ramanujan Filter Banks - Demos
Fractional Fourier Transform: FRFT
Ramanujan Filter Banks Example
Ramanujan Dictionary - with sparse penalty