PointSpreadFunction#
- class acoular.fbeamform.PointSpreadFunction
Bases:
HasStrictTraitsThe point spread function.
This class provides tools to calculate the PSF depending on the used microphone geometry, focus grid, flow environment, etc. The PSF is needed by several deconvolution algorithms to correct the aberrations when using simple delay-and-sum beamforming.
- steer
Instance of
SteeringVectoror its derived classes that contains information about the steering vector. This is a private trait. Do not set this directly, usesteertrait instead.
- grid_indices
Indices of grid points to calculate the PSF for.
- calcmode
Flag that defines how to calculate and store the point spread function defaults to ‘single’.
- ‘full’: Calculate the full PSF (for all grid points) in one go (should be used if the PSF
at all grid points is needed, as with
DAMAS)
- ‘single’: Calculate the PSF for the grid points defined by
grid_indices, one by one (useful if not all PSFs are needed, as with
CLEAN)
- ‘single’: Calculate the PSF for the grid points defined by
- ‘block’: Calculate the PSF for the grid points defined by
grid_indices, in one go (useful if not all PSFs are needed, as with
CLEAN)
- ‘block’: Calculate the PSF for the grid points defined by
- ‘readonly’: Do not attempt to calculate the PSF since it should already be cached (useful
if multiple processes have to access the cache file)
- precision
Floating point precision of property psf. Corresponding to numpy dtypes. Default = 64 Bit.
- psf
The actual point spread function.
- freq
Frequency to evaluate the PSF for; defaults to 1.0.
- digest
A unique identifier for the object, based on its properties. (read-only)
- calc_psf(ac, gp)
point-spread function calculation.