Constrained tuning: Difference between revisions
Cmloegcmluin (talk | contribs) →Versus POTE tuning: add link to tuning map |
Fix the wrong definition that went unnoticed for months |
||
| Line 12: | Line 12: | ||
subject to | subject to | ||
<math>( | <math>(GA - J_0)B = O</math> | ||
where G is the generator list, V = AW the Tenney-weighted temperament mapping, J the Tenney-weighted [[JIP]], and B the monzo list. | where G is the generator list, V = AW the Tenney-weighted temperament mapping, J = J<sub>0</sub>W the Tenney-weighted [[JIP]], and B the monzo list. | ||
The problem is feasible if | The problem is feasible if | ||
| Line 24: | Line 24: | ||
The following [https://www.python.org Python] code is an excerpt from [[Flora Canou]]'s [https://github.com/FloraCanou/te_temperament_measures/blob/c72b7a9ab603f5f46fef8465c3c5355c2caf19bc/tuning_optimizer.py tuning optimizer]. Note: it depends on [https://scipy.org/ Scipy]. | The following [https://www.python.org Python] code is an excerpt from [[Flora Canou]]'s [https://github.com/FloraCanou/te_temperament_measures/blob/c72b7a9ab603f5f46fef8465c3c5355c2caf19bc/tuning_optimizer.py tuning optimizer]. Note: it depends on [https://scipy.org/ Scipy]. | ||
{{Todo|inline=1| update | comment=The code was based on the wrong definition. }} | |||
{{Databox| Code | | {{Databox| Code | | ||