a0055917b6f6a35cd114c49bf0c75b07d7c9bb10,pyroomacoustics/realtime/dft.py,DFT,synthesis,#DFT#,151
Before Change
if X.shape!=(self.nbin,self.D):
raise ValueError("Invalid input dimensions.")
elif self.D==1:
if X.ndim!=1 and X.shape[0]!=self.nbin:
raise ValueError("Invalid input dimensions.")
self.X[:,] = X
// inverse DFT
if self.transform == "fftw":
self.b[:] = self.X
After Change
// check for valid input
if X is not None:
if X.shape != self.X.shape:
raise ValueError("Invalid input dimensions! Got (%d, %d), expecting (%d, %d)."
% (X.shape[0], X.shape[1],
self.X.shape[0], self.X.shape[1]))
self.X[:,] = X
// inverse DFT
if self.transform == "fftw":
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 10
Instances
Project Name: LCAV/pyroomacoustics
Commit Name: a0055917b6f6a35cd114c49bf0c75b07d7c9bb10
Time: 2018-05-26
Author: eric.bezzam@epfl.ch
File Name: pyroomacoustics/realtime/dft.py
Class Name: DFT
Method Name: synthesis
Project Name: luispedro/mahotas
Commit Name: 7b4435c4bb501ae4ebe8cead737fd91e4abe935e
Time: 2013-11-26
Author: luis@luispedro.org
File Name: mahotas/morph.py
Class Name:
Method Name: get_structuring_elem
Project Name: kkroening/ffmpeg-python
Commit Name: 57abf6e86edbf1d9ff1448302d4c8bf970092a03
Time: 2018-03-11
Author: karlk@kralnet.us
File Name: ffmpeg/nodes.py
Class Name: Stream
Method Name: __getitem__
Project Name: scikit-learn-contrib/boruta_py
Commit Name: 80a74c1989b05c893210cb04ac754498723d1c97
Time: 2016-04-13
Author: dani.homola@gmail.com
File Name: boruta/boruta_py.py
Class Name: BorutaPy
Method Name: _check_params
Project Name: scikit-optimize/scikit-optimize
Commit Name: a952cb51b622350182160b89b5cf7de1ceb11d89
Time: 2016-07-20
Author: mks542@nyu.edu
File Name: skopt/tree_opt.py
Class Name:
Method Name: _tree_minimize