yapocis.lib.gaussian
¶
Module Contents¶
Functions¶
|
|
|
Get a Gaussian distribution that sums to 1 along 1 dimension, quantized by discrete steps. |
|
Generate a list of gaussian kernels with size less than maxwidth |
|
|
|
|
|
|
|
|
|
|
|
-
yapocis.lib.gaussian.
are_close
(a: yapocis.utils.typing.Array, b: yapocis.utils.typing.Array) → bool[source]¶
-
yapocis.lib.gaussian.
gauss_1d
(sigma: float = 1.0, dt: float = 1.0, limit: float = 0.01, normalize: bool = True) → yapocis.utils.typing.Array[source]¶ Get a Gaussian distribution that sums to 1 along 1 dimension, quantized by discrete steps.
- Parameters
sigma – width
dt – step
limit – smallest change
normalize – normalize sum to 1.0
Returns: 1D Array