DSP Library

DSP Library - Opensource digital signal processing algorithm library - 消息

#1 已发布: 2021/11/21 19:47:14
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

DSP Library

SMath Studio compatibility Platform SMath Viewer compatibility mono compatibility Extension page Sources Examples


Functions list:

显示剧透



DSPL-2.0 — opensource cross-platform digital signal processing algorithm library, written in C language.
Distributed under LGPL v3 license. This allows to use this library in all applications with dynamic linking.

Source codes are available on GitHub.

DSPL-2.0 includes follow algorithms sets:

  • Digital spectral analysis, discrete and fast Fourier transform algorithms.
  • Analog and digital IIR filters design and analysis.
  • Digital FIR filters design and analysis.
  • Windows function collection includes 15 different parametric and nonparametric window functions.
  • Digital Hilbert transform algorithms.
  • Mathematical sections includes trigonometric, hyperbolic, elliptic functions of real and complex variables.
  • Pseudorandom numbers generation algorithms.
  • Statistic functions.
  • Linar algebra algorithms (BLAS and LAPACK packages are used under the hood of the DSPL-2.0 library).
  • Digital resampling algorithms.

Examples:

dspl_filter_iir.sm dspl_fir_linphase.sm dspl_iir.sm dspl_window.sm

dspl_filter_iir.pdf (155.17 KiB)已下载 1290 次。
dspl_fir_linphase.pdf (246.98 KiB)已下载 1376 次。
dspl_iir.pdf (233.05 KiB)已下载 1231 次。
dspl_window.pdf (856.4 KiB)已下载 1514 次。

dspl_fir_linphase.png dspl_iir.png Click to enlarge

Links:

1. DSPL-2.0 — free DSP algorithm library .
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
Oscar Campo 2021/12/1 23:45:00
#2 已发布: 2021/11/27 06:48:56
John Heidenreich

John Heidenreich

5个赞,共67个帖子。

组: User

Wrote

DSP Library

SMath Studio compatibility Platform SMath Viewer compatibility mono compatibility Extension page Sources



DSPL-2.0 — opensource cross-platform digital signal processing algorithm library, written in C language.
...


thank you uni, very worthwhile
#3 已发布: 2021/11/28 17:35:07
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Spline2 is as named by the Originators.
It is a statistical spline based on Durbin-Watson test
to determine optimal number of knots and their spacing.
For this particular example, linfitCheby smooths/fits as well.
Robert LSQ works as well, knots from trial/error.
Cheers ... Jean.

HadCRUt4 for Viacheslav.bmp
#4 已发布: 2021/11/30 08:08:33
John Heidenreich

John Heidenreich

5个赞,共67个帖子。

组: User

Wrote

Spline2 is as named by the Originators.
It is a statistical spline based on Durbin-Watson test
to determine optimal number of knots and their spacing.
For this particular example, linfitCheby smooths/fits as well.
Robert LSQ works as well, knots from trial/error.
Cheers ... Jean.

HadCRUt4 for Viacheslav.bmp



Splines have their place Jean, but I also have future need for hamming window filters and DFT filters, etc. I have worked with $20,000+ protection relays that have very high quality DFT filters to find faults in HV networks ASAP, to reduce damage to people first and equipment second. That is where the c code comes into its own. If i get into power quality values, this work by uni will be indispensable. I think Mathcad used to have an expensive add on for this feature. Uni has kindly provided it for free. That is why I love this Smath forum so much.

Warming up in Adelaide ready for summer starting tomorrow
#5 已发布: 2021/11/30 19:46:21
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I have worked with $20,000 protection relays that have very high quality DFT filters to find faults in HV networks ASAP


Once you have the push down sized samples from the grid,
filtered for whatever filter means wrt the grid ...
Smath plugins have fft at hyper accuracy [sanity checked Mathematica, MCD]
From there, compare the spectrum-in vs model spectrum.
Cheers ... Jean.

Fourier fft, ifft Sanity DEMO.sm (15.39 KiB)已下载 2040 次。

#6 已发布: 2021/11/30 21:29:17
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

Smath plugins have fft at hyper accuracy [sanity checked Mathematica, MCD]


Jean, this thread is intended to discuss only functions from DSP Library and no others. All other discussions should be contained in separate threads. If you want to attach a comparison document, then it must contain functions from DSP Library.

This topic should only contain technical (reference) information on how to use the extension. Other extensions have their own sections.
Russia ☭ forever, Viacheslav N. Mezentsev
#7 已发布: 2021/12/3 04:11:34
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Adding some functions. The server is still not available for building.

Click to enlarge

dspl_window.pdf (1.1 MiB)已下载 1374 次。
Russia ☭ forever, Viacheslav N. Mezentsev
#8 已发布: 2021/12/6 09:26:12
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- many function added;
- refactored.

I will add examples of their use a little later.
Russia ☭ forever, Viacheslav N. Mezentsev
#9 已发布: 2021/12/8 04:13:33
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Examples:

dspl_filter_iir.sm dspl_fir_linphase.sm dspl_iir.sm dspl_window.sm

dspl_filter_iir.pdf (155.17 KiB)已下载 1290 次。
dspl_fir_linphase.pdf (246.98 KiB)已下载 1376 次。
dspl_iir.pdf (233.05 KiB)已下载 1231 次。
dspl_window.pdf (856.4 KiB)已下载 1514 次。
Russia ☭ forever, Viacheslav N. Mezentsev
#10 已发布: 2021/12/16 14:25:48
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- OpenBLAS library replaced with CLAPACK;
- totally refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
#11 已发布: 2023/4/11 05:06:24
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

SMath Studio compatibility

Plugin updated (resampling algorithms added).

Changes:

- dspl_farrow_lagrange(3|4) and dspl_farrow_spline(3|4) functions added.

Click to enlarge Click to enlarge

dspl_farrow_lagrange.sm (9.91 KiB)已下载 2029 次。
dspl_farrow_spline.sm (9.91 KiB)已下载 1997 次。
Russia ☭ forever, Viacheslav N. Mezentsev
3位用户喜欢此帖子
sergio 2023/4/11 05:21:00, Mark R Harris 2023/4/12 20:34:00, Oscar Campo 2023/4/13 11:53:00
  • 有新帖
  • 无新帖