Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.03 KB

Temporal Event Graph

A python library for analysing temporal networks (graphs).

Features:

  1. Building the temporal event graph (static representation of a temporal network)
  2. Calculating temporal motifs (with arbitrary number of events)
  3. Inter-event time distributions
  4. Motif distributions
  5. Network decompositions into temporal components
  6. Saving/Loading functionality

Please cite the following paper when using:

The Temporal Event Graph. Andrew Mellor (2017) ArXiv Link

Installation

To install first pull the latest version from github with:

git clone [email protected]:empiricalstateofmind/temporal-motifs.git

Install requirements with:

pip install -r requirements.txt

Install the package with:

python setup.py install

or add the package folder to your python path.

Run tests with:

python -m unittest discover ./motifs/tests/

If the tests pass, you're good to go!

Note that this package has been tested on Python 3.5 only