conatus.expert.cos_mode_observable

conatus.expert.cos_mode_observable(system, name)[source]

Linear functional: coefficient of cos(2π x / L_x) of field name along the first (Fourier) axis, from its grid values (mean over the other axes’ first grid index). IR systems only.

Parameters:
  • system (DynamicalSystem)

  • name (str)

Return type:

Callable[[ndarray], float]