jondoesntgit / hardware

Python Wrappers for Hardware used in the Digonnet Lab at Stanford
MIT License
1 stars 0 forks source link

Replace large dictionaries with enums #15

Open jondoesntgit opened 6 years ago

jondoesntgit commented 6 years ago

There are several places where large dictionaries are used:

These could be replaced by enum classes.

jondoesntgit commented 6 years ago

@shinjoe also suggests making direction of the rotation stage ('cw' or 'ccw') an enum