Installation¶
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 https://github.com/changgoo/Twind.git your-twind-path
Add path to the source directory using sys.path
; e.g.,
import sys
sys.path.insert('your-twind-path')