BesselProbe#
- class diffsims.utils.probe_utils.BesselProbe(r)[source]#
Bases:
ProbeFunction
Probe function given by a radially scaled Bessel function of the first kind.
- Parameters:
r (float) – Width of probe at the surface of the sample. More specifically, the smallest 0 of the probe.
Methods
BesselProbe.FT
(y[, out])If Y = sqrt(y[...,0]**2 + y[...,1]**2)*r then returns an indicator function on the disc Y < 1, y[2]==0.