a55e697a83b5c5e7129a3fa1f90562cf1630d89d,acoular/fbeamform.py,BeamformerEig,calc,#BeamformerEig#Any#Any#,770

Before Change


            if not fr[i]:
                eva = array(self.freq_data.eva[i][newaxis], dtype="float64")
                eve = array(self.freq_data.eve[i][newaxis], dtype="complex128")
                beamformerOutput = self.steer._beamformerCall(f[i], self.r_diag, normFactor, (eva[:, na:na+1], eve[:, :, na:na+1]))[0]
                if self.r_diag:  // set (unphysical) negative output values to 0
                    indNegSign = sign(beamformerOutput) < 0
                    beamformerOutput[indNegSign] = 0

After Change


        f = self.freq_data.fftfreq()
        na = int(self.na)  // eigenvalue taken into account
        normFactor = self.sig_loss_norm()
        param_steer_type, steer_vector = self._beamformer_params()
        for i in self.freq_data.indices:
            if not fr[i]:
                eva = array(self.freq_data.eva[i], dtype="float64")
                eve = array(self.freq_data.eve[i], dtype="complex128")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


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: BeamformerCleansc
Method Name: calc