Marble
Study residential segregation, with Python.
Features
- Many measures implemented (see below for a peek)
- Inherits the simplicity of the python language
- Open source (BSD license)
- Leverage other python libraries for spatial analysis, statistics, and to plot maps.
Measures implemented
representation
- Compute the representation of categories in areal units.exposure
- Compute the exposure and isolation of categories.uncover_classes
- Regroup categories in classes based on their spatial pattern of interactions.neighbourhoods
- Find the neighbourhoods where categories cluster.clustering
- Compute the clustering index of categories.dissmilarity
- Compute the (traditional) dissimilarity index.
Install
Pypi (stable version)
You can install Marble via the Pypi repository. In a linux environment, type
sudo pip install marble
This should install Marble and its dependencies. You can now import Marble by typing
import marble as mb
at the begining of your programs (or in the python interpreter).