Skip to content

Simple adaptive speciation model as a component of FastScape-LEM

License

Notifications You must be signed in to change notification settings

fastscape-lem/adascape

Repository files navigation

test build test notebooks DOI

AdaScape: Adaptive speciation and landscape evolution model

The "AdaScape" package contains a simple adaptive speciation model written in Python that is coupled with the landscape evolution model FastScape.

Install

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 .

Usage

Some examples are shown in the notebooks folder (Jupyter Notebooks).

Tests

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