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. Also, paper-figures needs seaborn, CMasher, and cmocean.
conda install -c conda-forge xarray astropy
Then, you are ready to clone the repository.
git clone https://github.com/changgoo/Twind.git your-twind-path
Add path to the source directory using
import sys sys.path.insert('your-twind-path')