2. Programming languages
This section describes commonly used programming languages used in research projects.
2.1. Python
The python programming language is recommended for research projects.
Learning python
Here are a few tools/resources that can help you learn the python programming language:
Pycharm Edu includes interactive tutorials on how to program with python.
CodeCombat helps you learn coding with python while playing a real game (sign up as a student. Select ‘individual account’ when prompted).
Python style guide
All code must follow an official style guide to ensure the code can be easily shared and understood by others. We recommend using google coding style that is based on PEP8. See Doc string conventions (PEP257) for information about how to write docstrings.
Python virtual environments
Useful commands
See here for a list of useful python commands: Useful Python Commands
2.2. Matlab
Warning
Consider using Open-source programming languages such as python as an alternative to closed-source services that may have limited toolbox licenses, require collaborators to have licenses etc
The following guides are listed for helping maintain legacy codes.
Matlab style guide
In the event that you need to contribute to existing matlab code. Please use the following style guide.