The "AdaScape" package contains a simple adaptive speciation model written in Python that is coupled with the landscape evolution model FastScape.
This package depends on Python (3.9 or later is recommended), numpy, scipy, pandas, fastscape and orographic precipitation .
This package also provides a dendropy extension and uses toytree to plot phylogenetic trees (optional dependencies).
To install the package locally, first clone this repository:
$ git clone https://github.com/fastscape-lem/adascape.git
$ cd adascape
Then run the command below (this will install numpy, scipy and pandas if those libraries are not yet installed in your environment):
$ pip install .
To install the package for development purpose, use the following command instead:
$ pip install -e .
Some examples are shown in the notebooks
folder (Jupyter Notebooks).
To run the tests, you need to have pytest installed in your environment.
Then simply run from this repository's root directory:
$ pytest adascape -v