featherpy.weighting

Feather weighting

Attributes

Functions

sigmoid(→ numpy.typing.ArrayLike)

Sigmoid function

Module Contents

featherpy.weighting.sigmoid(x: numpy.typing.ArrayLike, x0: float = 0, k: float = 1) numpy.typing.ArrayLike

Sigmoid function

Parameters:
  • x (ArrayLike) – x values

  • x0 (float, optional) – x offset. Defaults to 0.

  • k (float, optional) – growth rate. Defaults to 1.

Returns:

sigmoid values

Return type:

ArrayLike

featherpy.weighting.ONE_STD