Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline uni  
#1 Posted : 22 November 2021 01:47:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,206
Man
Russian Federation

Was thanked: 1037 time(s) in 601 post(s)
DSP Library

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


Functions list: dspl_bessel_i0(1), dspl_conv(2), dspl_filter_iir(4), dspl_iir(6), dspl_randinit(2), dspl_randb(1), dspl_randb2(1), dspl_randi(3), dspl_randn(3), dspl_randu(1).

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.




Links:

1. DSPL-2.0 — free DSP algorithm library .

Edited by user 24 November 2021 19:58:26(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://yoomoney.ru/to/410013245578758
Offline johnspark  
#2 Posted : 27 November 2021 12:48:56(UTC)
johnspark


Rank: Advanced Member

Groups: Registered
Joined: 26/09/2021(UTC)
Posts: 47
Australia
Location: Adelaide

Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: uni Go to Quoted Post
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 Good

Edited by moderator 28 November 2021 06:43:46(UTC)  | Reason: Not specified

Offline Jean Giraud  
#3 Posted : 28 November 2021 14:57:47(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,800
Canada

Was thanked: 867 time(s) in 697 post(s)
Originally Posted by: johnspark Go to Quoted Post
thank you uni, very worthwhile

Hello John,
Have you downloaded the package and explored ?
Many of that stuff is already available from Smath documents.
I noticed the package is absent of smoothing, maybe nilpotent.
About smoothing: nothing beats Spline 2x.
Freeware from the web, implemented in Mathcad DAEP.
It recovers the two most remarkable Chirp & HadCRU

HadCRU = Hadley Climate Research Unit [East Anglia Norfolk]
I have coded Weibull & Logistic pseudorandom in Smath.
About these two Chirp, HadCRU, done perfect Smath.
I have a lot smoothing examples even Carbon 12 never done.
If you have interest, please let me know ... a day or two.
White morning up there ... Take care ... Jean.
Online overlord  
#4 Posted : 28 November 2021 15:26:15(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 566
Turkey

Was thanked: 171 time(s) in 123 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Many of that stuff is already available from Smath documents.
I noticed the package is absent of smoothing, maybe nilpotent.

If you don't need this plugin, fine. Don't install and use it.
Your reply is shitposting, there is no reason for this to be here.
I sincerely demand related posts to be deleted including my reply also.

Regards
Offline uni  
#5 Posted : 28 November 2021 18:14:22(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,206
Man
Russian Federation

Was thanked: 1037 time(s) in 601 post(s)
There is no free space on the build server and it is impossible to build sources. Therefore, I do not post documents describing the use of functions. As an engineer, I was more interested in functions for calculating and analyzing digital filters.
I will also add that this library and others like it are an example for future developers. They show how you can connect C code to a C# program. Most of the world's libraries are written in C.

Originally Posted by: Jean Giraud Go to Quoted Post
I noticed the package is absent of smoothing, maybe nilpotent.
About smoothing: nothing beats Spline 2x.

Digital electronics use digital filters for smoothing rather than splines. These are classic algorithms. Therefore, in the pictures above, I gave examples of calculating such filters. They are used to remove noise, suppress side channels, invert signal spectra, etc. You can take the plugin code and use it in your microcontroller. For this, this library was created.

Edited by user 28 November 2021 18:28:46(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://yoomoney.ru/to/410013245578758
Offline Jean Giraud  
#6 Posted : 28 November 2021 23:35:07(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,800
Canada

Was thanked: 867 time(s) in 697 post(s)
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 (1,276kb) downloaded 8 time(s).
Offline johnspark  
#7 Posted : 30 November 2021 14:08:33(UTC)
johnspark


Rank: Advanced Member

Groups: Registered
Joined: 26/09/2021(UTC)
Posts: 47
Australia
Location: Adelaide

Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (1,276kb) downloaded 8 time(s).


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
Offline Jean Giraud  
#8 Posted : 30 November 2021 15:45:54(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,800
Canada

Was thanked: 867 time(s) in 697 post(s)
Originally Posted by: johnspark Go to Quoted Post
That is why I love this Smath forum so much.

Right John, w/o this forum, Smath would advance turtle pace.
Steady - 10 °C up there
Be good ... Jean
Online overlord  
#9 Posted : 30 November 2021 18:51:01(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 566
Turkey

Was thanked: 171 time(s) in 123 post(s)
Originally Posted by: johnspark Go to Quoted Post
Uni has kindly provided it for free. That is why I love this Smath forum so much.

This is the reason why we adore smath developers.
Andrey explicitly stated SMath shall always be free.
With multi os and cloud support, smath is a gem.
Offline Jean Giraud  
#10 Posted : 01 December 2021 01:46:21(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,800
Canada

Was thanked: 867 time(s) in 697 post(s)
Originally Posted by: johnspark Go to Quoted Post
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 (16kb) downloaded 2 time(s).

Offline uni  
#11 Posted : 01 December 2021 03:29:17(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,206
Man
Russian Federation

Was thanked: 1037 time(s) in 601 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.

Edited by user 01 December 2021 03:36:29(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://yoomoney.ru/to/410013245578758
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.