Skip to content

fastscape-lem/adascape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdaScape: Adaptive speciation and landscape evolution model

The "AdaScape" package contains a simple adaptive speciation models written in Python that can be easily coupled with a landscape evolution model (FastScape).

Install

This package depends on Python (3.5 or later is recommended), numpy, scipy and pandas.

This package also provides a fastscape and a dendropy extensions (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