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: 3
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: 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: analysis
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