Typically we put code inside functions/classes and then call it from inside a __main__ conditional:

```
if __name__ == "__main__":
  runMicExperiment()
```

Or something like that. This makes the file import-safe (right now, importing this file would actually execute the code).

That said, if it is not intended to be imported and you think it is more readable this way, then it might be file. @oxtopus - thoughts?