Feature: Some syntax sugar
Use __getattr__
tricks and special characters to allow for more mathematic looking code:
-
v._1
forChern_Char
should returnv.ch[1]
-
ℓ._2
should be a shorthand forChern_Char(0,0,1)
(^ unfortunately disallowed in python names). - α and β for alternative stability parameters?