4b8dec5e7199ad302c52bf9eb6914a170491334c,acoular/fbeamform.py,PointSpreadFunction,_get_psf,#PointSpreadFunction#,801

Before Change


                    gp[ind] = True
            elif self.calcmode == "full":
                gp[:] = True
                ac[:] = calcPointSpreadFunction(steerVecFormulation, (r0, rm, kj, arange(r0.shape[0])), self.precision)[0,:,:]
            else: // "block"
                hh = calcPointSpreadFunction(steerVecFormulation, (r0, rm, kj, g_ind_calc), self.precision)
                indh = 0

After Change


        // check wether self.freq is part of SteeringVector.f
        freqInSteerObjFreq = isclose(array(self.steer_obj.f), self.freq)
        if freqInSteerObjFreq.any():
            freqInd = flatnonzero(freqInSteerObjFreq)
        else:
            warn("PointSpreadFunction.freq was appended to PointSpreadFunction.steer_obj.f, "\
                 "as it was not an element of the original list! "\
                 "You should check possible implications on beamformer results, etc.", Warning, stacklevel = 2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: acoular/acoular
Commit Name: 4b8dec5e7199ad302c52bf9eb6914a170491334c
Time: 2018-05-03
Author: tom.j.gensch@campus.tu-berlin.de
File Name: acoular/fbeamform.py
Class Name: PointSpreadFunction
Method Name: _get_psf


Project Name: biolab/orange3
Commit Name: 990f9586e2f72f4ab1bd4723247633aa35ca270f
Time: 2015-12-18
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owdatasampler.py
Class Name:
Method Name: sample_bootstrap


Project Name: acoular/acoular
Commit Name: 276f8fc3fe9a7424bae6585ed4453190e2a70815
Time: 2018-05-02
Author: tom.j.gensch@campus.tu-berlin.de
File Name: acoular/fbeamform.py
Class Name: PointSpreadFunction
Method Name: _get_psf