Equal tuning accuracy functions
From Xenharmonic Reference
This is a technical or mathematical page. While the subject may be of some relevance to music, the page treats the subject in technical language.
There are a number of ways to quantify the tuning accuracy of equal temperaments.
Mu function
The mu function is defined as:
$$ \mu \left( x, σ \right) = \sum_{k=1}^{\infty}f \left( x, k \right) $$
for a given edo x and weight σ, where
$$ f \left( x, k \right) = \frac{\abs{\operatorname{mod} \left( 2g \left( k \right) x, 2 \right) - 1}}{k^{σ}} $$
and
$$ g \left( k \right) = \log_{2} \left( k \right) $$.
