With A Jupyter Notebook

A Jupyter Notebook is provided to help you get started with the LC gradient optimization. The notebook is available on GitHub and can be run locally.

If you want to learn more about how to use Jupyter Notebook, check out Jupyter Notebook..

Set up Jupyter Notebook

See also

If you already set up Jupyter Notebook, you can skip to the next section.

Download and install Python 3.8 or later from python.org. pip should be included with Python 3.8 or later. Make sure that the pip command is available from the command line by running:

$ pip --version

If you have an older version of Python, you can install pip by following the instructions at pip installation.

For users new to Python, we recommend using Visual Studio Code to run the notebook. Download and install Visual Studio Code from code.visualstudio.com.

In Visual Studio Code, open the Command Palette (Ctrl+Shift+P) and type “Python: Select Interpreter”. Select the Python 3.8 or later interpreter that you installed in the previous step.

Install Jupyter extensions for Visual Studio Code from the Visual Studio Code Marketplace.

Quick start

Install the bago package from command line:

$ pip install bago

Download the Jupyter Notebook from GitHub.

Follow the instructions in the notebook to get started.

External resources

Here are some external resources to help you learn more about Jupyter Notebook: