This markdown is a simple walk-through on how to set up, activate, and update the TennLab Python environment. For information about the TennLab framework see the Getting Started markdown. Most functions between the C++ and Python environments are identical, if a function cannot be used in Python, there is a replacement function to rectify the inconsistency.
To begin cd to the framework-open directory. Next, run:
UNIX> ./scripts/create_env.sh
This will create the environment necessary for implementing the functions within the C++ build. This may take some time.
Once the creation has completed, the Python environment can be acivated through
UNIX> . pyframework/bin/activate
While this environment is active, any python file that includes the lines:
import neuro
import risp
Will be able to access the TennLab framework's modules.
To exit the python environment just do:
UNIX> deactivate
If changes are made to the pybinds or cmake file the envronment can be updated by once again changing to the framework-open directory and running:
UNIX> ./scripts/update_env.sh