Godtone
Joined 17 December 2020
m →My Python 3 code: fix sopfr |
m →My Python 3 code: add note about usage of interpret_edo |
||
| Line 1,193: | Line 1,193: | ||
print('\n'.join([ striv(x) for x in scale ])) | print('\n'.join([ striv(x) for x in scale ])) | ||
# NOTE: requires you to manually correct non-monotonic mappings of intervals in outputted table | |||
def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*',dec='*',wiki=0): | def interpret_edo(edo,ol=17,sg=[],no=[],add=[],styler=lambda x,relerr: striv(x) if abs(relerr) < 1/2 else '*'+striv(x)+'*',dec='*',wiki=0): | ||
considered_bad = styler if type(styler)==int or type(styler)==float else 1/2 | considered_bad = styler if type(styler)==int or type(styler)==float else 1/2 | ||