for i in self.freq_data.indices:
if not fr[i]:
csm = array(linalg.inv(array(self.freq_data.csm[i], dtype="complex128")), order="C")[newaxis]
beamformerOutput = self.steer._beamformerCall(f[i], self.r_diag, normFactor, (csm,))[0]
ac[i] = 1.0 / beamformerOutput
fr[i] = True
class BeamformerEig( BeamformerBase ):
After Change
f = self.freq_data.fftfreq()
nMics = self.freq_data.numchannels
normFactor = self.sig_loss_norm() * nMics**2
param_steer_type, steer_vector = self._beamformer_params()
for i in self.freq_data.indices:
if not fr[i]:
csm = array(linalg.inv(array(self.freq_data.csm[i], dtype="complex128")), order="C")
beamformerOutput = beamformerFreq(param_steer_type,
self.r_diag,
normFactor,
steer_vector(f[i]),
csm)[0]
ac[i] = 1.0 / beamformerOutput
fr[i] = True
class BeamformerEig( BeamformerBase ):