Lines Matching refs:scaling
540 " # If the scaling is not enough the int conversion will fail.\n",
805 " scaling = (energy - self._noise)/energy\n",
806 " scaling[scaling<0] = 0\n",
808 " return(v * scaling)\n",
1082 " scaling = np.zeros(len(temp),dtype=np.float32)\n",
1084 " scaling = temp / energy\n",
1086 " res=dsp.arm_cmplx_mult_real_f32(v,scaling) \n",
1253 " # The scaling factor (energy - noise) / energy is computed\n",
1256 " # otherwise we set scaling to 1\n",
1257 " # If energy is 0 we also set scaling to 1\n",
1454 …" # So we remove the scaling from the values before computing the ratio (energy-noise)/ener…
1473 " # The scaling factor (energy - noise) / energy is computed\n",
1476 " # otherwise we set scaling to 1\n",
1477 " # If energy is 0 we also set scaling to 1\n",
1515 " # The scaling is removed after computing the IFFT\n",
1794 "scaling = np.zeros(len(temp),dtype=np.float32)\n",
1796 "scaling = temp / energy\n",
1798 "res=dsp.arm_cmplx_mult_real_f32(v,scaling) \n",
1816 "float32_t *v,*energy,*noise,*temp,*scaling,*res;\n",
1834 " scaling[i] = temp[i] / energy[i];\n",
1837 "arm_cmplx_mult_real_f32(v,scaling,res,windowLength) ;\n",