make_gaussian_pokes¶
-
hcipy.mode_basis.
make_gaussian_pokes
(grid, mu, sigma, cutoff=5)¶ Make a basis of Gaussians.
- Parameters
- gridGrid
The grid on which to calculate the mode basis.
- muGrid
The centers for each of the Gaussians.
- sigmandarray or scalar
The standard deviation of each of the Gaussians. If this is a scalar, this value will be used for all Gaussians.
- cutoffscalar or None
The factor of sigma beyond which the Gaussian will be set to zero. The ModeBasis will be sparse to reduce memory usage. If the cutoff is None, there will be no cutoff, and the returned ModeBasis will be dense.
- Returns
- ModeBasis
The sparse mode basis. If cutoff is None, a dense mode basis will be returned.