DSP Library

DSP Library - Opensource digital signal processing algorithm library - Mensajes

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

DSP Library

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


Functions list:

Mostrar 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,17 KiB) descargado 1269 vez(es).
dspl_fir_linphase.pdf (246,98 KiB) descargado 1362 vez(es).
dspl_iir.pdf (233,05 KiB) descargado 1208 vez(es).
dspl_window.pdf (856,4 KiB) descargado 1489 vez(es).

dspl_fir_linphase.png dspl_iir.png Click to enlarge

Links:

1. DSPL-2.0 — free DSP algorithm library .
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
Oscar Campo 1/12/2021 23:45:00
#2 Publicado: 27/11/2021 6:48:56
John Heidenreich

John Heidenreich

5 me gusta en 67 mensajes.

Grupo: 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 Publicado: 28/11/2021 17:35:07
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 30/11/2021 8:08:33
John Heidenreich

John Heidenreich

5 me gusta en 67 mensajes.

Grupo: 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 Publicado: 30/11/2021 19:46:21
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 2010 vez(es).

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

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

1.558 me gusta en 1.868 mensajes.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

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

Click to enlarge

dspl_window.pdf (1,1 MiB) descargado 1353 vez(es).
Russia ☭ forever, Viacheslav N. Mezentsev
#8 Publicado: 6/12/2021 9:26:12
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Examples:

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

dspl_filter_iir.pdf (155,17 KiB) descargado 1269 vez(es).
dspl_fir_linphase.pdf (246,98 KiB) descargado 1362 vez(es).
dspl_iir.pdf (233,05 KiB) descargado 1208 vez(es).
dspl_window.pdf (856,4 KiB) descargado 1489 vez(es).
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Publicado: 16/12/2021 14:25:48
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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) descargado 1998 vez(es).
dspl_farrow_spline.sm (9,91 KiB) descargado 1969 vez(es).
Russia ☭ forever, Viacheslav N. Mezentsev
A 3 usuarios les gustó este mensaje
sergio 11/4/2023 5:21:00, Mark R Harris 12/4/2023 20:34:00, Oscar Campo 13/4/2023 11:53:00
  • Nuevos mensajes
  • Sin mensajes nuevos