FT#

BesselProbe.FT(y, out=None)[source]#

If Y = sqrt(y[…,0]**2 + y[…,1]**2)*r then returns an indicator function on the disc Y < 1, y[2]==0. Again, if out is provided then computation is inplace. If y is a list of arrays then it is converted into a mesh first.

Parameters:
  • y (numpy.ndarray, (nx, ny, nz, 3) or list of arrays of shape) – [(nx,), (ny,), (nz,)] Mesh of Fourier coordinates at which to evaluate the probe density. As a plotting utility, if a lower dimensional mesh is provided then the remaining coordinates are assumed to be 0 and so only the respective 1D/2D slice of the probe is returned.

  • out (numpy.ndarray, (nx, ny, nz), optional) – If provided then computation is performed inplace.

Returns:

out – An array equal to FourierTransform(probe)(y). If ny=0 or nz=0 then array is of smaller dimension.

Return type:

numpy.ndarray, (nx, ny, nz)