Frequency

Frequency estimation factory Frequency estimation is based on weighted average phase advance (Birkhoff weighted average)

tohubohu.frequency.frequency(weights: jax.Array, mapping: Callable[[...], jax.Array], *, final: bool = False, orbit: bool = False) Callable[[...], jax.Array][source]

Frequency estimation factory

Parameters:
  • weights (Array) – weights to apply

  • mapping (Callable[[Array, *Any], Array]) – state transformation mapping

  • final (bool, default=False) – flag to return final state

  • orbit (bool, default=False) – flag to return orbit along with frequency

Return type:

Callable[[Array, *Any], Array] | Callable[[Array, *Any], tuple[Array, Array]]