Since Twind is a pure Python module, it should be pretty easy to install. In addition to widely used packages like scipy, numpy, matplotlib, you’ll need xarray and astropy. To reproduce Figures in Paper II, you would need seaborn, CMasher, and cmocean.

Github sources

pip or conda can be used to install xarray (see their installation instruction) and astropy. Simply, the following command would work.

conda install -c conda-forge xarray astropy

Then, you are ready to clone the repository.

git clone your-twind-path

Add path to the source directory using sys.path; e.g.,

import sys

Package managers

The recommended way to install the stable version of Twind is using pip

pip install -U twind