276f8fc3fe9a7424bae6585ed4453190e2a70815,acoular/fbeamform.py,PointSpreadFunction,_get_psf,#PointSpreadFunction#,802
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)
self.steer_obj.f.append(self.freq)
freqInd = int(-1)
// get the cached data, or, if non-existing, create new structure
if not fr in self.h5f.root:
if self.calcmode == "readonly":
raise ValueError("Cannot calculate missing PSF (freq %s) in \"readonly\" mode." % fr)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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
Project Name: nipy/dipy
Commit Name: 121e8301283c9aae98463cd22f965bd670b4e36d
Time: 2013-11-14
Author: mrbago@gmail.com
File Name: dipy/reconst/csdeconv.py
Class Name:
Method Name: forward_sdt_deconv_mat
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