a55e697a83b5c5e7129a3fa1f90562cf1630d89d,acoular/fbeamform.py,BeamformerCapon,calc,#BeamformerCapon#Any#Any#,691

Before Change


        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 ):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: acoular/acoular
Commit Name: a55e697a83b5c5e7129a3fa1f90562cf1630d89d
Time: 2018-12-19
Author: gejohe@web.de
File Name: acoular/fbeamform.py
Class Name: BeamformerCapon
Method Name: calc


Project Name: acoular/acoular
Commit Name: a55e697a83b5c5e7129a3fa1f90562cf1630d89d
Time: 2018-12-19
Author: gejohe@web.de
File Name: acoular/fbeamform.py
Class Name: BeamformerMusic
Method Name: calc


Project Name: acoular/acoular
Commit Name: a55e697a83b5c5e7129a3fa1f90562cf1630d89d
Time: 2018-12-19
Author: gejohe@web.de
File Name: acoular/fbeamform.py
Class Name: BeamformerEig
Method Name: calc