c128615c048f69e532714201e1e5b4e1c1663d14,examples/doa_algorithms.py,,,#,55

Before Change


R = pra.circular_2D_array([0, 0], 12, 0., 0.15)

// propagation filter bank
propagation_vector = -np.array([np.cos(azimuth), np.sin(azimuth)])
delays = np.dot(R.T, propagation_vector) / c * fs  // in fractional samples
filter_bank = pra.fractional_delay_filter_bank(delays)

// we use a white noise signal for the source

After Change


aroom = pra.ShoeBox(room_dim, fs=fs, max_order=0, sigma2_awgn=sigma2)

// add the source
source_location = room_dim / 2 + distance * np.r_[np.cos(azimuth), np.sin(azimuth)]
source_signal = np.random.randn((nfft // 2 + 1) * nfft)
aroom.add_source(source_location, signal=source_signal)

// We use a circular array with radius 15 cm // and 12 microphones
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: LCAV/pyroomacoustics
Commit Name: c128615c048f69e532714201e1e5b4e1c1663d14
Time: 2018-04-27
Author: fakufaku@gmail.com
File Name: examples/doa_algorithms.py
Class Name:
Method Name:


Project Name: geomstats/geomstats
Commit Name: 3c082fc0821ff9f9b1284a486a5cf60f9aec238e
Time: 2018-11-07
Author: null
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: rotation_vector_from_quaternion


Project Name: scikit-optimize/scikit-optimize
Commit Name: 41468089224d32151505ac5d8052e9db3c6205bc
Time: 2020-02-10
Author: holgernahrstaedt@gmx.de
File Name: examples/optimizer-with-different-base-estimator.py
Class Name:
Method Name: objective