Evolutionary Activity

Introduction

Very simply code for graphing activity. Takes input from stdin (or configurable to use a named pipe). Each line is a time step. Each line is a series of entity hashes (ascii), followed by a count of that entity for that time step. Counts are accumulated and graphed with color traces, a different color for each entity.

The definition of the entities are up to the code producing the lines on stdout. They could be genetic alleles, they could be whole genomes, they could be organism descriptors.

An example program producing suitable output is provided by N. Guttenberg’s predator-prey model, gutt.py (uses python2).

Code:

github repo: python code for displaying activity

1 Like