diff --git a/PythonWrapper/README.md b/PythonWrapper/README.md index af2d0563..1cb13548 100644 --- a/PythonWrapper/README.md +++ b/PythonWrapper/README.md @@ -44,7 +44,7 @@ Install some packages > pip instal scipy > pip instal matplotplib -Now, you can install the cmsisdsp package: +Now, you can install the cmsisdsp package in editable mode: > pip install -e "Path To The Folder Containing setup.py" diff --git a/PythonWrapper/example.py b/PythonWrapper/example.py index 26d83822..80fd87aa 100644 --- a/PythonWrapper/example.py +++ b/PythonWrapper/example.py @@ -70,7 +70,7 @@ nbSamples=sigQ31.shape[0] # Here we demonstrate how we can process a long sequence of samples per block # and thus check that the state of the biquad is well updated and preserved # between the calls. -half = round(nbSamples / 2) +half = int(round(nbSamples / 2)) res2a=dsp.arm_biquad_cascade_df1_q31(biquadQ31,sigQ31[1:half]) res2b=dsp.arm_biquad_cascade_df1_q31(biquadQ31,sigQ31[half+1:nbSamples]) res2=Q31toF32(np.hstack((res2a,res2b)))