DSP Library

DSP Library - Opensource digital signal processing algorithm library - Сообщения

#1 Опубликовано: 21.11.2021 19:47:14
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 КиБ) скачан 192 раз(а).
dspl_fir_linphase.pdf (246 КиБ) скачан 168 раз(а).
dspl_iir.pdf (233 КиБ) скачан 143 раз(а).
dspl_window.pdf (856 КиБ) скачан 158 раз(а).

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

Links:

1. DSPL-2.0 — free DSP algorithm library .
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Oscar Campo 01.12.2021 23:45:00
#2 Опубликовано: 27.11.2021 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 Опубликовано: 28.11.2021 17:35:07
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 30.11.2021 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 Опубликовано: 30.11.2021 19:46:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 124 раз(а).

#6 Опубликовано: 30.11.2021 21:29:17
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 03.12.2021 04:11:34
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

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

Click to enlarge

dspl_window.pdf (1 МиБ) скачан 121 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#8 Опубликовано: 06.12.2021 09:26:12
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 08.12.2021 04:13:33
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Examples:

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

dspl_filter_iir.pdf (155 КиБ) скачан 192 раз(а).
dspl_fir_linphase.pdf (246 КиБ) скачан 168 раз(а).
dspl_iir.pdf (233 КиБ) скачан 143 раз(а).
dspl_window.pdf (856 КиБ) скачан 158 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Опубликовано: 16.12.2021 14:25:48
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- OpenBLAS library replaced with CLAPACK;
- totally refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
#11 Опубликовано: 11.04.2023 05:06:24
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 КиБ) скачан 111 раз(а).
dspl_farrow_spline.sm (9 КиБ) скачан 112 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
3 пользователям понравился этот пост
sergio 11.04.2023 05:21:00, Mark R Harris 12.04.2023 20:34:00, Oscar Campo 13.04.2023 11:53:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений