Didn't know if you wanted to try to go the named constant style 
```
TRIAL_BEGIN = 0
TRIAL_END = 1
TRIAL_TYPE = 2
```

Some discussions about constants here: http://stackoverflow.com/questions/2682745/creating-constant-in-python