Commit graph

107 commits

Author SHA1 Message Date
Ahmet Inan
793283850f init lpf to 0.5 2019-02-25 13:28:17 +01:00
Ahmet Inan
c7f3cdd565 added normalizer for sinusoidal signal 2019-02-25 13:00:58 +01:00
Ahmet Inan
65383970a7 added prev, alpha init and samples() to EMA 2019-02-24 19:42:54 +01:00
Ahmet Inan
73f69e0faa added DC blocker 2019-02-24 17:36:11 +01:00
Ahmet Inan
a87ee25f66 added biquad notch filter 2019-02-22 21:28:00 +01:00
Ahmet Inan
7f4c3a651f added biquad highpass 2019-02-22 09:05:07 +01:00
Ahmet Inan
487232ec20 added simple moving average 2019-02-14 13:31:43 +01:00
Ahmet Inan
018becfbb4 use a default threshold of 1/3 2019-02-13 12:19:01 +01:00
Ahmet Inan
a4c31b1783 added fixed-point CORDIC atan2 2019-02-13 11:04:54 +01:00
Ahmet Inan
1fd1f9e2ec added Schmitt trigger and edge triggers 2019-02-12 09:40:26 +01:00
Ahmet Inan
d2b1bf32b4 added AM demodulator with AGC 2019-02-08 20:21:42 +01:00
Ahmet Inan
70dc3392fe added atan2 test 2019-02-08 11:42:29 +01:00
Ahmet Inan
fe59404f1f unwrap -> wrap_around 2019-02-08 08:17:32 +01:00
Ahmet Inan
6fc424dca6 unwrap delta 2019-02-07 14:08:50 +01:00
Ahmet Inan
99baec64a5 added FMD{1..5}, atan and atan2 approximations 2019-02-06 19:58:00 +01:00
Ahmet Inan
d72ca2727d added conj() 2019-02-06 14:27:03 +01:00
Ahmet Inan
a3a2dbdc5f added an NCO 2019-02-04 12:29:40 +01:00
Ahmet Inan
639204fed8 added EMA and Biquad 2019-02-04 11:11:18 +01:00
Ahmet Inan
475114d2e1 added low pass which only uses unit circle 2019-01-26 21:50:00 +01:00
Ahmet Inan
f141e04dc6 Revert "do not initialize Complex to zero"
This reverts commit 277af07511.
2019-01-23 16:33:21 +01:00
Ahmet Inan
97d5b68045 added quick and dirty decibel approximation 2019-01-21 11:36:50 +01:00
Ahmet Inan
2d8cedbd66 be able to normalize at construction 2019-01-20 17:45:26 +01:00
Ahmet Inan
76f1590f1a moved Complex to DSP namespace 2019-01-20 15:25:54 +01:00
Ahmet Inan
7b2cf8970a removed CoeffsFunc 2019-01-20 13:23:08 +01:00
Ahmet Inan
98a5a204d1 removed std:: from math functions 2019-01-20 11:03:29 +01:00
Ahmet Inan
277af07511 do not initialize Complex to zero 2019-01-20 08:45:22 +01:00
Ahmet Inan
c4b837b045 time to embrace #pragma once 2019-01-19 14:07:07 +01:00
Ahmet Inan
a85cbcf6ba removed exp() and replaced hypot() with sqrt(norm()) 2019-01-19 13:59:52 +01:00
Ahmet Inan
c81732c768 use UnitCircle where possible in window functions 2019-01-19 09:58:31 +01:00
Ahmet Inan
cf54a8e431 make it work for negative n too 2019-01-18 22:21:51 +01:00
Ahmet Inan
692bfa4d31 use UnitCircle to get constants 2019-01-18 17:20:13 +01:00
Ahmet Inan
15843df336 added UnitCircle with sine and cosine functions 2019-01-18 16:59:11 +01:00
Ahmet Inan
ba89cc21d6 need to add L to get full precision for long doubles 2019-01-18 15:50:04 +01:00
Ahmet Inan
69c3080931 made Complex constexpr 2019-01-17 14:07:16 +01:00
Ahmet Inan
79a6a85b47 reorganized and recomputed constants 2019-01-17 12:12:12 +01:00
Ahmet Inan
f71b7ae711 use cos() and sin() to compute factors 2019-01-15 22:55:28 +01:00
Ahmet Inan
6d8e0dbc94 removed unused function 2019-01-15 22:36:00 +01:00
Ahmet Inan
5462e20751 added 1/sqrt(2) constant 2019-01-15 22:23:27 +01:00
Ahmet Inan
00501fa433 added FIR LPF, HPF and BPF 2019-01-03 21:57:39 +01:00
Ahmet Inan
f3c22ed3cc added delta() and decibel() to utils 2019-01-03 21:20:29 +01:00
Ahmet Inan
6769872b39 moved sinc() to utils 2019-01-03 21:17:21 +01:00
Ahmet Inan
6c5a418693 renamed Window and WinFunc to Coeffs and CoeffsFunc and moved to own header 2019-01-03 19:44:31 +01:00
Ahmet Inan
f9992b5372 added default virtual destructors to interfaces 2018-10-26 12:35:30 +02:00
Ahmet Inan
75094bb2db stay c++11 compatible 2018-10-25 08:57:58 +02:00
Ahmet Inan
749668d830 added probability density function of the normal distribution 2018-10-07 19:06:49 +02:00
Ahmet Inan
ef6871f94b moved crc and xorshift from DSP to CODE repository 2018-09-20 08:45:26 +02:00
Ahmet Inan
ae658f23f4 improved testing scheme 2018-09-20 08:40:25 +02:00
Ahmet Inan
b5f5948097 added reset() to xorshift 2018-09-17 15:35:05 +02:00
Ahmet Inan
4ff2e0f148 added an resampler for arbitrary rate differences 2018-09-13 11:33:10 +02:00
Ahmet Inan
6780bd4dc1 added some Xorshift PRNGs of George Marsaglia 2018-09-13 10:25:43 +02:00