Optimal ET sequence: Difference between revisions
Code was outdated |
Update to reflect how you're supposed to use this script since v1.14.0 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
import numpy as np | import numpy as np | ||
from lib.te_common import Subgroup | |||
from lib.te_equal import et_sequence | |||
et_sequence(np.column_stack([[7, -1, -1, -1, 1], [-4, 1, -1, 0, 1]]), subgroup= | et_sequence(np.column_stack([[7, -1, -1, -1, 1], [-4, 1, -1, 0, 1]]), subgroup=Subgroup ([2, 11, 13, 17, 19])) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Which produces the list: 11, 13, 24, 33, 46, 57, 70, 127, 197eh. | Which produces the list: 11, 13, 24, 33, 37, 46, 57, 70, 127, 197eh. | ||
[[Category:Regular temperament theory]] | [[Category:Regular temperament theory]] | ||