kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.65k stars 253 forks source link

dspplot(ting) #87

Closed mipac closed 4 years ago

mipac commented 4 years ago

when I install dspplot module python setup.py install --prefix=/usr

and kfr

I need to change python_plot.hpp prologue "import dspplotting as dspplot\n\n"; to "import dspplot as dspplot\n\n";

because the module name is dspplot as said in setup.py

Is there an installation procedure that I missed or is it an issue?

thanks

dancazarin commented 4 years ago

Currently dspplot is not required to be installed for examples to work. When example runs dspplot is imported by path.

Or do you want to use dspplot separately from KFR?

mipac commented 4 years ago

oh, I thought it was part of the lib so I try to use it in my code sorry for the noise

dancazarin commented 4 years ago

Not a problem. It was indeed required in early versions and had to be installed. But in later versions dspplot is imported by path, so kfr examples can find python files without installation. Documentation should mention this.

mipac commented 4 years ago

ok but if I install with setup.py, it seems broken because of the package name

... but i'm not a python guru as you can see 😄