DSP Library

DSP Library - Opensource digital signal processing algorithm library - Messages

#1 Posted: 11/21/2021 7:47:14 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

DSP Library

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


Functions list:

Show Spoiler



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 KiB) downloaded 191 time(s).
dspl_fir_linphase.pdf (246 KiB) downloaded 167 time(s).
dspl_iir.pdf (233 KiB) downloaded 142 time(s).
dspl_window.pdf (856 KiB) downloaded 157 time(s).

[albumimg]1657[/albumimg] [albumimg]1658[/albumimg] Click to enlarge

Links:

1. DSPL-2.0 — free DSP algorithm library .
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Oscar Campo 12/1/2021 11:45:00 PM
#2 Posted: 11/27/2021 6:48:56 AM
John Heidenreich

John Heidenreich

5 likes in 67 posts.

Group: 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 Posted: 11/28/2021 5:35:07 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 11/30/2021 8:08:33 AM
John Heidenreich

John Heidenreich

5 likes in 67 posts.

Group: 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 Posted: 11/30/2021 7:46:21 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 124 time(s).

#6 Posted: 11/30/2021 9:29:17 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/3/2021 4:11:34 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

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

Click to enlarge

dspl_window.pdf (1 MiB) downloaded 120 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
#8 Posted: 12/6/2021 9:26:12 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/8/2021 4:13:33 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Examples:

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

dspl_filter_iir.pdf (155 KiB) downloaded 191 time(s).
dspl_fir_linphase.pdf (246 KiB) downloaded 167 time(s).
dspl_iir.pdf (233 KiB) downloaded 142 time(s).
dspl_window.pdf (856 KiB) downloaded 157 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Posted: 12/16/2021 2:25:48 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

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

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

1402 likes in 1708 posts.

Group: 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 KiB) downloaded 110 time(s).
dspl_farrow_spline.sm (9 KiB) downloaded 112 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 4/11/2023 5:21:00 AM, Mark R Harris 4/12/2023 8:34:00 PM, Oscar Campo 4/13/2023 11:53:00 AM
  • New Posts New Posts
  • No New Posts No New Posts