load_local_neo_odml_elephant.py 528 B

1234567891011
  1. import sys
  2. from os.path import realpath, join, dirname
  3. # This loads the Neo and odML libraries shipped with this code. For production
  4. # use, please use the newest releases of odML and Neo.
  5. sys.path.insert(0, realpath(join(dirname(__file__), 'python-neo')))
  6. sys.path.insert(0, realpath(join(dirname(__file__), 'python-odml')))
  7. # This loads the Elephant analysis libraries shipped with this code. It
  8. # is used to generate the offline filtered LFP in example.py.
  9. sys.path.insert(0, realpath(join(dirname(__file__), 'elephant')))