ComplexPowerMixing

class pmrf.stats.ComplexPowerMixing(power: float = 1.0)

Bases: Module

Multiply a complex latent by the event prediction raised to power.

Assumes the default Re/Im event layout (..., 2, N). Each complex prediction block reads the same two latent rows. power=0 gives a complex additive latent.

Parameters:

power (float, default=1.0) – Exponent applied to each complex event-space prediction.

__call__(prediction_event: Array, x: Array) → Array

Return the real two-row map for complex multiplication.

Parameters:
  • prediction_event (jnp.ndarray) – Prediction with default Re/Im event layout (..., 2, N).

  • x (jnp.ndarray) – Frequency points.

Returns:

Mixing of shape (N, blocks, 2).

Return type:

jnp.ndarray

power: float = 1.0

Exponent of the complex event-space prediction.