pyphi.measures.distribution.absolute_intrinsic_difference#

pyphi.measures.distribution.absolute_intrinsic_difference(p, q)[source]#

Compute the absolute intrinsic difference (AID) between two distributions.

This is the same as the ID, but with the absolute value taken before the maximum is taken.

See documentation for intrinsic_difference() for further details and references.

Parameters:
  • p (float) – The first probability distribution.

  • q (float) – The second probability distribution.

Returns:

float – The absolute intrinsic difference.

Return type:

float