Activity for Claes Rolen

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Just press the green "Download" button on the top of the main page or use the following link https://sourceforge.net/projects/sigpack/files/latest/download also make sure your browser is not blocking downloads.

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi! Sorry but it only supports the elementary types as in Armadillo. BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Actually this is already partly handled in SigPack since the filter itself is a class and the internal state will be encapsulated within the class between calls of filter() or the filter operator. That means that consecutive calls to the filter function iir_filt.set_coeffs(b, a); Y1 = iir_filt.filter(X1); Y2 = iir_filt.filter(X2); will behave like the Matlab version [Y1, ZF1] = filter(b,a,X1); [Y2, ZF2] = filter(b,a,X2,ZF1); However, there is no direct function to set and get the internal state....

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi, glad you are using Sigpack. The group delay of a linear phase FIR filter, of order N (which gives you N+1 coefficients), is N/2 samples. This means that fir1_bp(8,0.35,0.65) will give a group delay of 4 samples and fir1_bp(9,0.35,0.65) will have 4.5. It mimics the Matlab functions and gives more or less bit exact results. Hope this answers your question, you may Google FIR filter group delay if you want some more details. // BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi, it is not necessary to include the <armadillo> header, it is already included in sigpack.h. Use only#include <sigpack.h> Looks like you have extracted sigpack to /usr/include/sigpack then it should be compiled with g++ kalmantesting.cpp -g -I/usr/include/sigpack -larmadillo For more detailed info see sigpack doc

  • Claes Rolen Claes Rolen modified a blog post

    Introducing DaNNet

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi, thanks for using SigPack. I guess that the reason for you to add the internal states (z) from the filter is that you will call this function at different times and that it will have a "warm" start with the previous filter state. Actually this is already handled in SigPack since the filter itself is a class and the internal state will be encapsulated within the class between calls of filter() or the filter operator. BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi, thanks for using SigPack. Unfortunately I am not that skilled in Windows development. Please have a look at https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=vs-2019, maybe it can help you in the right direction. BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    EDIT. You are right, definitions should be in a .cpp file. If not (as with header only libs) it should be inlined. Will fix that in the next release 1.2.7!

  • Claes Rolen Claes Rolen modified a comment on discussion General Discussion

    Hi there! Glad you are using SigPack. This looks like an old bug where the version strings was outside the protective guards. Try version 1.2.5 or newer and see if it solves the problem. BR Claes

  • Claes Rolen Claes Rolen modified a comment on discussion General Discussion

    Hi there! Glad you are using SigPack. This looks like an old bug where the version strings was outside the protective guards. Try version 1.2.5 or newer and see if it solves the problem. BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi there! Glad you are using SigPack. This looks lika an old bug where the version strings was outside the protective guards. Try version 1.2.5 or newer and see if it solves the problem. BR Claes

  • Claes Rolen Claes Rolen posted a comment on discussion General Discussion

    Hi, glad that you are considering SigPack for your project. Unfortunately there is no support for GPU at this time, Conrad Sandersson, the creator of Armadillo, has a project for Armadillo GPU (https://coot.sourceforge.io/) but I think it is in a "resting" state. Many of the functions in SigPack has potential for improvement regarding performance and my intention is to review this for the different blocks. Meantime, I would recommend you to use OpenBlas and compile it natively on your computer, it...

  • Claes Rolen Claes Rolen modified a blog post

    Introducing DaNNet

  • Claes Rolen Claes Rolen created a blog post

    Introducing DaNNet

1
MongoDB Logo MongoDB