This guide will help you get started with the Attitude Planning repository by walking you through the setup and running of a sample simulation analysis. This process involves installing necessary software, cloning the repo, and running the example Jupyter Notebook to analyze a pre-configured simulation.
Before starting, ensure that Python and Visual Studio Code (VSCode) are installed on your system.
Download the latest version of Python from the official Python website.
During installation, make sure to check the box "Add Python to PATH".
Verify the installation by opening a terminal and running:
python --version
For more details on installation, you can refer to the official VSCode documentation: Setting up VSCode for Python.
A Jupyter Notebook is an open-source web application that allows you to create and share documents containing live code, equations, visualizations, and text. We will be running the simulation analysis in a Jupyter Notebook within VSCode.
Open VSCode.
Install the Jupyter extension for VSCode. Go to the extensions panel (left sidebar), search for "Jupyter", and click install.
Open a terminal within VSCode and install Jupyter with:
pip install notebook
Once installed, you can create and open .ipynb
files in VSCode, and they will automatically open in a Jupyter environment.
For further details on using Jupyter in VSCode, visit Using Jupyter Notebooks in VSCode.