Abstract
We apply tools from topological data analysis to two mathematical models inspired by biological aggregations such as bird flocks, fish schools, and insect swarms. Our data consists of numerical simulation output from the models of Vicsek and D'Orsogna. These models are dynamical systems describing the movement of agents who interact via alignment, attraction, and/or repulsion. Each simulation time frame is a point cloud in position-velocity space. We analyze the topological structure of these point clouds, interpreting the persistent homology by calculating the first few Betti numbers. These Betti numbers count connected components, topological circles, and trapped volumes present in the data. To interpret our results, we introduce a visualization that displays Betti numbers over simulation time and topological persistence scale. We compare our topological results to order parameters typically used to quantify the global behavior of aggregations, such as polarization and angular momentum. The topological calculations reveal events and structure not captured by the order parameters.
Introduction
Biological aggregations are groups of organisms such as fish schools, bird flocks, insect swarms, and mammal herds [1–3]. Social interactions between members can play a crucial role in the formation and behavior of these groups [4–6]. Social interactions are behaviors like attraction, repulsion, and alignment, which are activated when one organism senses another via sight, sound, smell, touch, or perhaps some combination of senses [7]. Aggregations take on a vast array of morphologies: advancing fronts of running wildebeest, branched dendritic structures of bacteria, tornado-like vortices of swimming anchovy, and much more. Beyond serving as examples of emergent pattern formation, organisms moving in groups can affect resource consumption, disease transmission, and at the longest spatiotemporal scales, evolution itself [8]. Beyond the realm of biology, the understanding of biological aggregations has inspired applications from computer algorithms to robotic self-assembly [9].
Quantitative understanding of aggregations has been developed in part through mathematical modeling. Modeling of aggregations dates back (at least) to the 1950s with the seminal work of [10], which describes the motion of individual fish as particles obeying Newton’s law. The forces in the model are social forces between two fish—namely attraction and repulsion—and are described by a simple functional form dependent on the distance between individuals, akin to gravitational or intermolecular forces in physics. Since then, hundreds of aggregation models have been created; some of the most well-studied include [6, 11, 12]. The common approach is to envision organisms as point particles with motion laws that are first or second order in time, and with behavioral rules that are some combination of self-propulsion and/or social alignment, attraction, and repulsion. An alternative modeling approach, also the subject of a rich literature, is to treat a sufficiently large population as a continuum and describe its dynamics with a partial integrodifferential equation as in, e.g., [13–17]. The discrete and continuum models that we have mentioned here are largely phenomenological. They are minimal models inspired to greater or lesser degree by biological observation, and their minimalism allows one to understand the basic behaviors necessary or sufficient for a particular type of aggregation phenomenon.
Quantitative understanding of aggregations has also been developed through the exploration and modeling of rich data sets measured in the field or in experiment. This type of study has a much more recent history, as the technology necessary to gather and process large, accurate data sets did not exist several decades ago. Notable examples include data-based modeling of starlings [18], ducks [19], aphids [20], golden shiner fish [21], and desert locusts [22]. In data based studies, one typically collects time series of organisms’ positions, and possibly, velocities. One may use this data in two different ways: to infer the rules for motion that each individual follows and/or to characterize the collective dynamics of the group.
In a classical approach to characterizing collective dynamics, one begins with N organisms’ positions x i and velocities v i, either from biological observation or numerical simulation of a model. One then calculates some global metric hoped to give insight into macroscopic dynamics. For instance, [6] simulates discrete swarmers who interact via attraction, repulsion, and alignment, and measures the group polarization P and angular momentum M ang,
(1) |
where r i = x i − x cm and x cm is the center of mass of the group. By varying parameters that control the social interactions and plotting P and M ang, [6] identifies different regimes of behavior, including swarming, motion on a torus, and a highly parallel (polarized) group. A different aggregation model, from [12], can produce a rotating annulus of individuals (a “single mill”) or superposed, counterrotating annuli (a “double mill”). Metrics P and M ang cannot distinguish a single from a double mill, so [12] introduces the absolute angular momentum
(2) |
whose numerator differs from M ang. Together, M ang and M abs can distinguish single from double mills. Other examples of metrics include the average number of neighbors with whom an individual interacts (which requires knowledge of interaction rules) and the mean distance to nearest neighbor [23].
Our discussion here provides a sampling of metrics in the literature. Most are inspired by order parameters from physics, and many have been constructed a posteriori, based on knowledge of the dynamic whose detection was desired. In our present work, we explore whether topology offers a natural way to characterize collective behavior. In brief, we use the methods of topological data analysis to compute the persistent homology of spatiotemporal aggregation data sets arising from numerical simulation of models. We introduce a new visualization to explore homological persistence over spatial scales and over time. As we will explain at length, this visualization displays a data point cloud’s Betti numbers in a contour diagram. We refer to this plot as the Contour Realization Of Computed k-dimensional hole Evolution in the Rips complex (CROCKER). We show that our topological analysis reveals dynamical events not captured in time series of the classically studied order parameters. Our primary goal is to demonstrate the utility of topological data analysis for biological aggregations and similar applications.
We note that the term topology has been invoked in the aggregation literature in a different sense than we use it here. In both the biological modeling literature and the robotics literature, “topology” sometimes refers to the coupling scheme between agents, that is, by which members of the group a given individual is influenced [18, 24]. For instance, in some models or algorithms, a given agent might be influenced by the closest agent, or the closest two agents, or the closest few agents within an agent’s field of view. In this sense, topology is an input of the model. In a different sense, we are using topological tools to analyze the outputs of a model.
The rest of this paper is organized as follows. We begin with an overview of persistent homology. This discussion aims to present some of the key concepts to a mathematical reader unfamiliar with algebraic topology. Brief descriptions of computational methods and our data visualization follow. Then, we proceed to topological analyses of the models of Vicsek, et al. [11] and D’Orsogna, et al. [25] before concluding.
Topological Data Analysis and Persistent Homology
Homology is a tool from algebraic topology that measures the features of a topological space such as an annulus, sphere, torus, or more complicated surface or manifold. In particular, homology can distinguish these spaces from one another by quantifying their connected components, topological circles, trapped volumes, and so forth. A finite set of data points can be viewed as a (noisy) sampling from an underlying topological space. One can measure the homology of the data by creating connections between proximate data points, varying the scale over which these connections are made, and looking for features that persist across scales. This is called persistent homology. Persistent homology has been used in a wide array of applications to uncover the topological structure of data, including neuroscience, language processing, natural images, signal analysis, bioinformatics, computer vision, and sensor networks [26–32].
We explain these ideas in greater detail for the remainder of this section. Our discussions in the first two subsections below recapitulate presentations in texts such as [33, 34].
Forming a Simplicial Complex
To build a global object from a discrete set of N data points, we construct a simplicial complex S. A simplicial complex is a set consisting of a finite collection of k-simplices (simple pieces), where a 0-simplex is a vertex, a 1-simplex is an edge, a 2-simplex is a triangle, a 3-simplex is a tetrahedon, and so on; see Fig 1. These simplices satisfy two properties. First, for every set σ in S, every non-empty subset τ ⊆ σ also belongs in S. For instance, if tetrahedron abcd is in S, then the triangles abc, abd, acd, bcd, the edges ab, ac, ab and the vertices a, b, c, d are also in S. Second, two k-simplices are either disjoint or they intersect in a lower dimensional simplex.
To form k-simplices, we use the Vietoris-Rips complex, sometimes simply called the Rips complex. To build this complex, one first defines a distance metric which can be realized as a symmetric N × N matrix of pairwise distances between points. For each ɛ > 0, called the proximity parameter, we construct a simplicial complex S ɛ in the following way. In S ɛ, every collection of k+1 data points is a k-simplex if the pairwise distance between points is less than ɛ. Thus, the 0-simplices are the data points themselves. A 1-simplex (an edge) is formed whenever two points are within ɛ of one another. A 2-simplex (a triangle) is formed whenever three points are pairwise within ɛ of one another; this occurs when there is a 3-cycle in the underlying graph formed by the vertices and edges in S ɛ (this graph is sometimes called the 1-skeleton of S ɛ). A 3-simplex (a tetrahedron) is formed whenever four points are pairwise within ɛ of one another. See Fig 2, in which the yellow circles represent ɛ/2 balls so that two vertices are connected by an edge if their ɛ/2-balls intersect.
For purposes of homology, it is necessary to impose an orientation on the vertices of each k-simplex. A k-simplex [v 0, v 1, …, v k] of k+1 data points is ordered such that if elements are permuted with an odd permutation, the order is negated. Thus, [v 0, …, v i, …, v j, …, v k] = − [v 0, …, v j, …, v i, …, v l]. The simplices in Fig 1 are illustrated with a given orientation.
There are other methods one could use to form a simplicial complex. The Rips complex is the flag or clique complex that is the maximal simplicial complex built from the underlying graph. Another commonly used method is the Cech complex, where k-simplices are formed if the ɛ/2-balls around k+1 vertices have a nonempty intersection. We use the Rips complex since it is more computationally tractable than the Cech complex; see the discussion in Section 1.3 of [35]. The witness complex is another method to form a simplicial complex. It is particularly useful with large data sets as it subsamples the data in a way that uses information from the entire data set; see [36].
Homology
Homology is a way to uncover k-dimensional “holes” in a simplicial complex. This requires imposing an algebraic structure on the simplicial complex S ɛ. For each k ≥ 0, we create an abstract vector space with basis consisting of the set of k-simplices in S ɛ, so that the dimension of equals the number of k-simplices. The elements of are called k-chains. In practical computations, the coefficients of this vector space come from a finite field ℤp (integers modulo p) for a small prime p. These vector spaces consist of all formal linear combinations c = ∑i a i σ i, where a i ∈ ℤp and the sum is over all k-simplices σ i in S ɛ.
To compute homology, one must be able to describe the boundary of a k-simplex algebraically. The boundary of a k-simplex σ is the union of the (k − 1)-subsimplices τ ⊆ σ. For each k ≥ 1, the boundary map is the linear transformation defined on a k-simplex σ = [v 0, v 1, …, v k] by
(3) |
where is the (k − 1)-simplex obtained from [v 0, …, v k] by removing the vertex v i. For example,
Observe that for a k-simplex σ, ∂k(σ) is an algebraic representation of its boundary. For instance, in the second example above, [v 0, v 1, v 2] represents a triangle and [v 1, v 2] − [v 0, v 2] + [v 0, v 1] are the oriented edges that form its boundary.
Boundary operators connect the vector spaces into a chain complex,
(4) |
Consider the following two subspaces of , which are determined by the kernel and the image of the boundary operators,
(5) |
The boundary operator satisfies the following fundamental property: ∂k○∂k+1 = 0. That is, “a boundary has no boundary”. For example,
It then follows that is a subspace of . Thus, is the vector space of all k-chains in the simplicial complex S ɛ, is the subspace of consisting of k-chains that are also k-cycles, and is the subspace of consisting of k-cycles that are also k-boundaries.
The goal of homology is to “discard” cycles that are also boundaries. To this end, we put an equivalence relation on as follows. Two cycles are homologous (equivalent), written z 1 ∼ z 2, if they differ by a boundary, i.e., . Consider the example in Fig 3. The blue 1-chain b = [v 0, v 1] + [v 1, v 2] + [v 2, v 3] + [v 3, v 4] + [v 4, v 0] and the red 1-chain r = [v 1, v 2] + [v 2, v 3] + [v 3, v 4] + [v 4, v 1] are cycles because ∂1(b) = ∂1(r) = 0. These cycles are homologous because their difference is a (green) boundary, g = b − r = [v 0, v 1] + [v 4, v 0] − [v 4, v 1] = [v 1, v 4] − [v 0, v 4] + [v 0, v 1] = ∂[v 0, v 1, v 4].
The equivalence relation ∼ defined above partitions the k-cycles into a union of disjoint subsets, called homology classes. We let [z] denote the homology class of and define the kth homology of S ɛ as the set of homology classes
(6) |
Algebraically, , a quotient of vector spaces. The kth Betti number, , is defined as the dimension
(7) |
In terms of boundary operators, , where n k is the dimension of the vector space .
In terms of the topological characteristics one might hope to measure, equals the number of independent holes of dimension k, and this is the key point for our analysis later in this paper. For instance, is the number of connected components, is the number of topological circles, is the number of trapped volumes, and so on. The topology of a simplicial complex may be described by the sequence of Betti numbers, . For instance, a topological circle has , a topological torus has , and a topological sphere has . Betti numbers are a topological invariant, meaning that topologically equivalent spaces have the same Betti number. See, e.g., [33, 34] for these and other examples.
Persistence
Given a collection of N data points, the resulting Rips complex and its homology are highly dependent on the choice of proximity parameter ɛ. Fig 4 presents an example. The data pictured in the four small snapshots are the same as Fig 2, but different values of ɛ are chosen for forming connections. Distinct simplicial complexes result. For small values of ɛ, the simplicial complex consists of isolated vertices. At the largest value of ɛ shown, the entire data set is a single connected component. As ɛ changes, other topological events occur which we will describe momentarily. A natural question is what is the optimal ɛ to use for any data set. This can hardly be selected without a priori knowledge of the underlying space.
To reconcile this ambiguity, one exploits the fact that as ɛ grows so do the Rips complexes, giving an inclusion of complexes for small ɛ into those for larger values. That is, if ɛ 1 ≤ ɛ 2 ≤ ⋯ ≤ ɛ M, then we have an inclusion of simplicial complexes
(8) |
This sequence is called a filtration. “Persistent” homology, then, tracks topological features which persist across a range of values of ɛ. Those features which persist over a large range are considered signals of the underlying topology, while the short lived features are taken to be noise inherent in approximating a topological space with a finite sample. Foundational papers on this methodology include [35, 37, 38].
A convenient way to visualize persistent homology is through a graphical representation called a barcode. There is a distinct barcode for each homology space from which we infer the Betti number . As an example, see Fig 4. The horizontal axis corresponds to the proximity parameter ɛ, and the vertical axis is an (arbitrary) ordering of the homology generators, i.e., the distinct homology classes of dimension k. Each homology class is visualized by a bar that persists for a given range of ɛ. Its leftmost endpoint is at the ɛ value at which the homology class forms, and its rightmost endpoint is the ɛ value at which it disappears. At any given ɛ, the Betti number is the number of bars that intersect the vertical line through ɛ. Those bars which persist over longer intervals generally correspond to real topological features, whereas short bars are considered noise. In the figure, we see the following sequence of Betti numbers. For ɛ = 1.5, because there are no connections amongst the 18 vertices. For ɛ = 5, , reflecting the fact that some vertices have joined into larger connected components. For ɛ = 7, , reflecting even further joining of components as well as the formation of one topological circle. Finally, for ɛ = 9.5, , meaning that all of the data has joined into one connected component that contains two topological circles.
Another method of displaying homological information is through a persistence diagram. Each bar in the barcode is represented in the Cartesian plane with the horizontal and vertical axes encoding the leftmost and rightmost ɛ values of the bar. Points near the diagonal are inferred to be noise while points further from the diagonal are considered topological signal. Fig 5(D) shows the persistence diagram corresponding to two barcodes in panels (B) and (C). This data is generated by a biological aggregation model which we discuss later.
Because our data sets are obtained from numerical simulation, they are noiseless. Still, one might wonder whether small perturbations of data would impact the topological features that are measured. For biological aggregations, this question would be especially relevant in analyzing experimental data, for which measurement error might introduce noise. As shown in [39], small perturbations of data result in small perturbations of persistence diagrams, indicating stability of topological features.
Computational Methods and Data Visualization
In the next two sections, we will present topological analyses of simulation output from the two aggregation models of [11] and [25]. We perform the simulations in Matlab. For the Vicsek model [11], as we describe in more detail in the next section, the simulation output consists of the two dimensional position and the angular heading of each agent in a group of interacting agents. The physical domain is a square with sides of length ℓ and periodic boundary conditions. Heading is defined on [0, 2π). To avoid issues arising from disparities between the position coordinates and the heading coordinate, we rescale position coordinates, multiplying them by 2π/ℓ. For the D’Orsogna model [25], the simulation output consists of the two dimensional position and two dimensional velocity of each agent in an interacting group. The spatial domain is an unbounded plane and velocity is (theoretically) unbounded, so we perform no rescaling of coordinates.
The computational complexity of computing depends on the number of k-simplices. For n data points, the number of k-simplices is at most ; of course, the actual number depends on the proximity parameter ɛ and the configuration of the data. Once the simplicial complex is constructed, computing homology over a field reduces to methods in linear algebra. The boundary operator is the linear transformation realized as an integer matrix with entries {−1, 0, 1} over the basis elements of each vector space. The null space of this matrix corresponds to , and the range space corresponds to . The computational algorithm uses Gaussian elimination over a finite field, which is at worst case 𝓞(m 3), where m is the actual number of k-simplices. One needs efficient algorithms when computing over large data sets and recording homological information over a range of proximity parameter ɛ. See [40–43] for implementations and algorithms used in computing persistent homology. The development of faster algorithms is an active area of investigation.
To extract topological information, we process simulation data in the statistical computing environment R. Each time step of the simulation consists of a static point cloud of data in position-heading or position-velocity space. We use the phom package [44] to construct the Rips complex and calculate the topological barcodes of the point cloud. More specifically, we calculate the first two Betti numbers and where the proximity parameter ɛ takes on discrete but closely-spaced values. Calculating for k ≥ 2 is computationally costly, and we do this only for selected simulation snapshots.
Because we have a series of simulation time steps, we introduce a visualization that captures homological persistence over both scale ɛ and time t. That is, we now imagine the kth Betti number as , a function of the proximity parameter ɛ > 0 and simulation time t ≥ 0. A natural way to display is as a contour diagram, which we refer to as a Contour Realization Of Computed k-dimensional hole Evolution in the Rips complex (CROCKER). To facilitate visual interpretation of the contour diagram, we make two simplifications. First, we do not include every time step, but rather only every jth time step, where j is chosen to preserve at least several hundred snapshots per simulation. We found that this downsampling did not noticeably alter the appearance of our CROCKER plots. Second, focusing only on the most coarse and coherent topological structures, we only plot level curves for when . All of the topological data for which is lumped together in the contour diagram; that is, we do not draw distinct contours for . For the models we study, these regions of the contour diagram typically represent many topological structures that do not persist over scales.
As an example, consider Fig 6. Panels (B) and (C) show contour diagrams of and for a particular simulation of the Vicsek model (described and analyzed later). In these plots, simulation time t appears along the horizontal axis and the topological proximity parameter ɛ appears on the vertical axis. Focus first on panel (B), which shows . Below the purple (lowest) contour, , and thus in this region, the point cloud has many connected components; we interpret these as noise. Above the yellow (top) contour, , demonstrating that at large enough ɛ, the entire point cloud of data joins together into one connected component. Less trivially, there are regions between the intermediate contours that persist over scale and time. For example, centered near t = 2000 there is a somewhat triangular region between the yellow and green contours. In this region, , showing a strong, persistent signal of two connected components in the data. Panel (C) is similar, but shows . Towards the bottom of the diagram, there is an oblong region enclosed by a purple contour. In this region, , which we again interpret as topological noise. There are two large regions enclosed by a red contour in which , indicating an absence of topological circles. However, there is also a region between red and yellow contours in which , showing a strong signal of a persistent topological circle.
In summary, large regions in the contour diagram (excluding ) represent topological features that persist over scale ɛ and simulation time t. When interpreting the contour diagrams, it is important to remember that the function inherently takes on only nonnegative integer values.
Analysis of the Vicsek Model
Using persistent homology, we now analyze data generated by aggregation models. One of the most referenced aggregation models is that of Vicsek and collaborators [11], cited thousands of times as of the writing of this manuscript. A complete discussion of results related to this model is beyond our present scope. The review paper [45] provides a broad look, and mentions some of the systems that have been described with Vicsek-like models, including cells, bacteria, insects, fish, and birds.
The Vicsek model is a dynamical system in discrete time and continuous space that describes the motion of interacting point particles in a square with periodic boundary conditions. The model appears in the literature written in different forms; we write it as
(9a) |
(9b) |
(9c) |
Here, x i(t) ∈ ℝ2 is the position of particle i = 1, …, N at time t, and v i is velocity. We refer to the angle of the velocity vector v i as θ i, the heading. Additionally, v 0 is a constant, U is a uniform random variable on the specified interval, and Δt is the time step.
For clarity, let us re-state the model in prose. To update the model, each particle must be given a new heading. This heading is the average of the previous headings of all other particles within a radius R, plus some added noise parameterized by η. With this new heading determined, each particle moves a fixed distance v 0Δt, thus completing the time step. The model is posed on a square with sides of length ℓ and periodic boundary conditions. For all simulations performed, the initial particle positions and headings are random.
The parameters in the model are the number of particles N, the particle interaction radius R, the noise η, the fixed particle speed v 0, the box size ℓ, and the time step Δt. One may nondimensionalize the problem to reduce the number of free parameters. We adopt the standard convention R = 1 and Δt = 1. This leaves the remaining parameters N, η, v 0, and ℓ. Some studies refer to three effective parameters: η, v 0, and ρ = N/ℓ2, a particle density.
Two preliminary matters will build understanding prior to a discussion of results. First, we analyze the topology of an initial condition. Second, we discuss the classic order parameter used in the physics literature to characterize the global dynamics of the system.
Fig 5(A) shows a random initial condition for N = 300 particles and a square with sides of length ℓ = 25. This gives rise to a cloud of 300 points whose coordinates are (x, y, θ). However, since the simulation domain is periodic and since θ is an angle, this space is not ℝ3 but rather S 1 × S 1 × S 1 = 𝕋3, the three-torus, which has Betti numbers . Panel (B) shows the topological barcode for , which has one persistent bar. This topological signature indicates no clusters other than the trivial connected component formed by the entire point cloud on the longest scales. Panel (C) shows the barcode for . There are three persistent bars (which terminate for larger values of ɛ not shown) representing three topological circles. This signature captures the fact that the point cloud is well-spread over the three-torus due to the randomness of the initial condition. We have also calculated the barcode (not shown) for , which displays three persistent bars, representing the three trapped volumes of the three-torus. Panel (D) shows the persistence diagram, which combines the information captured in (B) and (C). The particular initial condition we have analyzed is used to seed our first simulation below. The initial conditions of the other two simulations that we will perform are topologically equivalent. Below, we will see that key dynamics involve the formation of nontrivial topological connected components and/or the destruction of topological circles.
As discussed in the introduction, a traditional approach is to characterize global behavior via an order parameter. For (9), the order parameter most often studied is the normalized average velocity of the group,
(10) |
The order parameter 0 ≤ φ(t) ≤ 1 measures global polarization. For a group of particles moving in approximately the same direction, φ(t) will be near one. If particle headings are spread out randomly, φ(t) will be near zero. As a simple additional example, two groups of particles that are highly polarized within each group but are traveling in opposite directions will also have φ(t) ≈ 0. This simple example sheds some light on the limited information the order parameter carries.
The model (9) can display three qualitatively different global behaviors, depending on parameters. We visualize snapshots of these states in Fig 7, which is analogous to Fig 1 of Vicsek’s original paper [11]. When noise η is small and particle density ρ is small, the system tends to form clusters each of which moves in a different direction, as in (A). For higher η and ρ, particles are somewhat correlated but still move randomly, as in (B). Finally, for large ρ but small η, the motion becomes polarized, that is, all particles travel in the same direction, as in (C). For the simulations represented by these three panels, we will now view the global behavior through the lens of the order parameter φ(t) and through a topological lens. The topological analysis gives rich information which is detected neither by the order parameter nor, as we will show, by the eye.
Vicsek Simulation #1
Fig 6 displays the analysis of our first set of simulation results, the same simulation that began with the initial condition in Fig 5(A) and produced the state in Fig 7(A). Here, N = 300, ℓ = 25, and η = 0.1. The order parameter φ(t) increases steeply (with two small plateaus) before leveling off to a value very close to one, signaling a high degree of alignment. After time t = 1000, φ(t) varies little.
Fig 6(B) shows , measuring the number of connected components on the three dimensional torus defined by position and heading. Recall that, per our previous discussion, we have displayed only contours for levels five and below. In the large region below the purple (bottom) contour, . This region represents connected components existing only over small ranges of ɛ; we interpret these as noise. In the region above the yellow (top) contour, , and all the data forms a single connected component for large ɛ. The spaces between the other contours reveal clusters that persist over scale and simulation time. For example, there is a triangular region between the green and yellow contours around t ≈ 2000, indicating a strong signal of two clusters.
Further analyzing this region, consider the times marked by the two dashed gray bars, namely t = 2080 and t = 2150. While the order parameter φ(t) (by design) does not detect clusters, at t = 2080, the spaces between the contours reveal successive ranges of ɛ over which there are four, three, two, and one connected components in the data, with persistent over the largest range of ɛ, as previously discussed. The corresponding simulation snapshot appears in Fig 8(A). The transition from four to three connected components corresponds to the merging of two small, slightly misaligned groups in the lower left of Fig 8(A) as ɛ increases. The transition from three to two connected components corresponds to the merging of the two larger groups and so on. The situation for t = 2150 is similar. However, the range of ɛ over which one counts three connected components has shrunk drastically. The simulation snapshot in Fig 8(B) suggests why. In Fig 8(A), the distance between the two leftmost groups approximately equals the distance between the two rightmost groups. Hence, there does not exist a large range of ɛ over which there are three clusters. It is important to remember that the data has three coordinates (x, y, θ), but in the discussion above, the key dynamics are in (x, y), consistent with the fact that φ(t) ≈ 1.
Fig 6(C) shows , measuring the number of topological circles formed by the data on the three-torus. First, we note that the three topological circles present in the initial condition (described above) are lost on a very short simulation time scale (nearly immediately). In the bottom, oblong region of the graph enclosed by the purple contour, which, as before, we interpret as noise. There are two large regions enclosed by red in which there exist no topological circles. However, for approximately t > 1800 and 1.25 ≤ ɛ ≤ 2.1 we have , consistent with coverage of the data across one of the circles of the underlying three-torus. This circle is visible in Fig 8 as the vertical swath of data along the right side of each panel. The fact that there is a high degree of alignment removes one of the potential topological circles of the underlying space, and the lack of coverage horizontally across the spatial domain removes the other.
Taken together, panels (B) and (C) of Fig 6 show the following topology. First, reveals that a small number of clusters form persistently over time and scale. The number of clusters is variable as merging and fragmenting occur. Second, reveals that topological circles present in the initial condition are destroyed, but eventually one circle persists, consistent with coverage across one dimension of the simulation domain.
Vicsek Simulation #2
Fig 9 shows results from the same simulation as the snapshot in Fig 7(B). Here, N = 300, ℓ = 7, and η = 2. In panel (A), the order parameter φ(t) appears more noisy than in the previous simulation, and levels off to a value less than one.
Fig 9(B) shows , measuring the number of connected components. In the large region below the purple (bottom) contour, , which we interpret as noise. In the large region at the top, above the yellow contour, , indicating one connected component at the largest scales. The bottom and top regions in the graph are separated by a noisy boundary of intermediate curves. These curves indicate that at scales approximately in the range 0.75 < ɛ < 1.6 there is sporadic coagulation and fragmentation of connected components over short simulation time scales.
Fig 9(C) shows , measuring the number of topological circles. At early times, there is a region in which , consistent with the initial condition in which agents cover the spatial domain and have low alignment, with headings spread across [0, 2π). This state persists until approximately t ≈ 50, at which time we see noisy formation and break up of additional topological circles in the range 1.5 ≤ ɛ ≤ 2. At time t ≈ 210, a transition occurs, and we see a clear region where , indicating two persistent topological circles. The high (albeit not complete) alignment of particles visible in φ(t) suggests the lack of a topological circle in the heading coordinate θ. We have calculated for one time step that . This trapped volume tells us that our data has the topology of a two-torus, that is, for the first three Betti numbers. This topology eliminates the possibility that the two topological circles arise from holes in the data, which would have the first three Betti numbers . We conclude that the two topological circles correspond to the periodic spatial domain. Neither dimension of this domain is favored, as suggested by the fact that the two topological circles close at the same value of ɛ, demonstrated by the yellow and red contours at the top of the plot being nearly coincident.
Vicsek Simulation #3
Fig 10 shows results from the same simulation as the snapshot in Fig 7(C). Here, N = 300, ℓ = 5, and η = 0.1. In panel (A), the order parameter φ(t) rises steeply to one with a small intermediate step. The order parameter here and in Fig 6(A) share some features, and yet we will see that the topological calculations capture the differences in the dynamics already apparent in the snapshots of Fig 7.
Fig 10(B) shows , measuring the number of connected components. In the large region below the purple (bottom) contour, , which we interpret as noise. In the large region at the top, above the yellow contour, , indicating one connected component at the largest scales. The most noticeable intermediate region is in between the yellow and green contours where , indicating a strong signal of two connected components at the scale 0.6 ≤ ɛ ≤ 1. We return to a discussion of these two connected components after a discussion of .
Fig 9(C) shows , measuring the number of topological circles. At t ≈ 20, there is a marked transition to in the upper portion of the contour diagram. Taking into account that the order parameter φ(t) indicates alignment—and thus the lack of a topological circle in the heading dimension—the data is reduced to living on the two-torus of the periodic spatial domain. For the snapshot t = 300, we have computed that in the range of ɛ where . This indicates there are no trapped volumes. The first three Betti numbers are those of a punctured torus, and this interpretation is consistent with the hole in the data seen in the upper right quadrant of Fig 7(C).
We now return attention to the region of Fig 10(B) in which over a range of ɛ, indicating two connected components. Once the group has achieved strong alignment, agents do not change their relative configuration, and the population travels as a rigid body. Thus, there is potential for any outliers to remain outliers terminally. This is indeed the case in our simulation. There is a single agent in Fig 7(C) (second from the top along the right hand border) who is isolated. It is only at the scale of the distance to its nearest neighbor that the transition to occurs.
Summary of Vicsek Model Analysis
For both the first and third simulations, the order parameter φ(t)—shown in Figs 6(A) and 10(A)—increases rapidly to φ(t) ≈ 1 with little variation. However, the topological structures are distinct. The first simulation shows cluster formation and eventual coverage across one dimension of the spatial domain. The third simulation shows one cluster (with an outlier) and coverage across both dimensions of the spatial domain. Curiously, this is the same topological signature as the second simulation, even though the order parameter in 9(A) is noisy and achieves a lower degree of alignment. Thus, the persistent homology computations capture the fact that in some sense, the second and third simulations are topologically equivalent. Also, as previously discussed, these computations reveal dynamical events not discernible in the order parameter, and we find them to be a helpful complement.
Analysis of the D’Orsogna Model
Another model is that of D’Orsogna and collaborators [12, 25], cited over 300 times as of the writing of this manuscript, and itself a refinement of [46]. In contrast to the alignment-driven Vicsek model, the D’Orsogna model hinges on attractive-repulsive interactions between particles and produces many patterns including rotating rings, traveling swarms, and vortex states—sometimes called mills—reminiscent of fish schools.
The D’Orsogna model is a continuous-time dynamical system that describes the motion of interacting point particles in an unbounded plane. The model takes the form of Newtonian force equations and thus is second order in time. The equations are
(11a) |
(11b) |
(11c) |
Here, x i(t) ∈ ℝ2 is the position of particle i = 1, …, N at time t, and v i(t) ∈ ℝ2 is velocity. The first equation simply defines velocity as the derivative of position. The second equation is Newton’s law, stating that mass times acceleration is equal to a sum of forces. These forces include self-propulsion of strength α, friction of strength β, and interaction forces described by the potential Q. The first term in Q describes repulsion of strength C r and characteristic length scale L r. The second term is similar, but describes attraction of strength C a and characteristic length scale L a. Put together, these two terms are similar to potentials used in molecular physics. In biological scenarios, typically L r < L a and C r > C a, meaning that repulsion occurs over shorter distances and is stronger. For an isolated pair of particles interacting solely according to this attractive-repulsive rule, and for appropriately chosen parameters, the potential has a unique minimum, and there exists an equilibrium distance at which attraction and repulsion balance. When one deals with an ensemble of N particles each experiencing pairwise interactions, the behavior is highly nontrivial. Restated in brief, (11) prescribes that each particle obeys Newton’s law, with the relevant forces being self-propulsion, friction, and pairwise attraction-repulsion with all other particles.
Arguably, one of the most intriguing behaviors of the model is the formation of mills, occurring in certain parameter regimes. These structures are annular in shape, with particles rotating around a hollow core. In a single mill, all particles travel with the same orientation (clockwise or counterclockwise). In a double mill, some particles travel clockwise and some travel counterclockwise. It is helpful to think about the topology of these states. A mill and a double mill have distinct topologies in four dimensional position-velocity space. The single mill is one connected component and one topological circle, that is, . The double mill is two connected components each of which is a topological circle, that is, . The two circles are concentric, nonplanar, and nonintersecting in four dimensional space.
We conduct a simulation of (11) with N = 500 particles, and model parameters α = 1.5, β = 0.5, C a = 0.5, C r = 1, L a = 2, L r = 0.5. Fig 11 shows selected simulation snapshots. For convenience, we color blue all particles traveling clockwise with respect to the center of mass of the group; particles traveling counterclockwise are red. In panel (A), at t = 5, the particles occupy a disk-like region with somewhat disorganized velocities. At t = 23, we see that a hollow core has begun to form. At t = 45, the mill structure has a well defined core. The group favors the clockwise direction, though there is a minority group of particles traveling counterclockwise.
Fig 12(A) shows time series of three order parameter metrics used in [12] to characterize the global behavior of the system. Polarization P, defined in (Eq 1), is similar to φ(t) for the Vicsek model; it measures the degree to which agents are aligned. Because the group is traveling around a circle, P (red curve) remains low for the duration of the simulation. Angular momentum M, also defined in (Eq 1), helps quantify the rotation of the group. For a perfect mill structure, M = 1. For our simulation, we see an evolution from M ≈ 0 early in time to M ≈ 0.93 for later times (green curve). However, as mentioned previously, the metric M cannot distinguish between single and double mills, and so [12] introduces the absolute angular momentum M abs, defined in (Eq 2). The fact that M abs approaches unity signals that the asymptotic behavior of the group is rotational. The fact that M approaches a number close to but less than unity signals that a small minority of the group members are rotating counter to the majority.
Fig 12(B) shows , measuring the number of connected components in the four dimensional space defined by position and velocity. In the large region below the purple (bottom) contour, . The connected components in this region persist only for very short ranges of ɛ; this is a noisy topological signal which we disregard. In the large region at the top, above the yellow contour, , indicating one connected component at the largest scales, that is, a component consisting of all the data points. The bottom and top regions in the graph are separated by a noisy boundary of intermediate curves. These curves indicate that at scales approximately in the range 0.5 < ɛ < 1.0 there is, over time, sporadic coagulation and fragmentation of connected components. For example, at times near t ≈ 30 and t ≈ 46, the region between the yellow and green contours is thicker, indicating a more persistent signal of two connected components.
Panel (C) shows , measuring the number of topological circles in four dimensional space. In the bottom region of the graph enclosed by the purple contour, which, as before, we interpret as noise. At early times, the only non-noisy signal is the large region above the red contour, indicating an absence of topological circles. Starting at t ≈ 20, a marked transition occurs, and becomes persistent by t ≈ 30. This transition detects the formation of a hole in the simulation, as shown in Fig 11(B). For t ≥ 30, there is a discernible region of the contour diagram in which , indicating two topological circles in four dimensional position-velocity space. For these same times, over larger values of ɛ, , indicating the loss of a circle. A topological circle could disappear by closing across its diameter or by merging with another circle. For our data, antipodal points in the mill with opposite orientations of travel are approximately 0.5 units apart (as seen in Fig 11) and this is (approximately) the proximity scale at which transitions from two to one, indicating that the two mills merge into one at this scale. The remaining topological circle will be lost when it closes on itself across its diameter for sufficiently large values of ɛ (not shown).
Pulling together the information from panels (B) and (C), we conclude the following. At times below t ≈ 20, there is little topological structure. Then, a clear topological transition occurs. For later times, we have one or—intermittently—two connected components of data points. There are two discernible topological circles for smaller ɛ and one circle for larger ɛ. These circles survive for long periods of simulation time. The topological signature of the first two Betti numbers, , is consistent with a double mill structure. The noisiness of the second connected component arises from the sparsity of the counterclockwise mill in four dimensional space.
Conclusions
Inspired by physics, order parameters such as polarization and angular momentum have been useful for characterizing the global behavior of biological aggregations. We propose topological data analysis as an additional, valuable technology for understanding their group behavior.
We have performed numerical simulations of two well-known mathematical models of biological aggregations, resulting in point clouds of data that evolve in time. To understand the global behavior of each model, we study the topological structure of the point clouds by calculating their persistent homology. More specifically, we compute Betti numbers, which count connected components, topological circles, trapped volumes, and so forth.
To interpret the topological computations, we introduce a new visualization tool, namely a Contour Realization Of Computed k-dimensional hole Evolution in the Rips complex (CROCKER), which track Betti numbers across both proximity scale and simulation time. In topological data analysis, persistent features in a static point cloud correspond to long bars in a topological barcode. In our analysis, features persisting over scale and simulation time appear as large regions in the contour plot.
In Vicsek’s model of aligning particles, the homological measures distinguish simulations that the usual alignment order parameter cannot. They also find topological similarity between simulations with different order parameter time series. In D’Orsogna’s model of self-propelled, attracting-repelling particles, the topological calculations recognize the presence of a double mill state. In our study we have, for tutorial purposes, sought to explain our CROCKER plots by a subsequent manual examination of the data. That said, though phenomena such as group alignment, clustering, and double mills could be seen upon detailed examination of our raw simulation data, we would not have found them by eye if the topological methods had not first detected them.
One limitation of our work is that we have only calculated the first two Betti numbers, and , except for a small number of isolated cases in which we have also calculated . Calculating higher Betti numbers of our point clouds would yield additional information, but is computationally costly. Another limitation is that topological persistence over scale is different from persistence over time. For a fixed simulation time, the topological barcode is guaranteed to measure the same topological features through multiple proximity scales because nested sequences of simplicial complexes form a filtration over which homology persists. However, this guarantee does not hold over simulation time. For example, if indicating four connected components in two successive frames of a simulation, there is no mathematical guarantee that these are the same four connected components. Nonetheless, because the aggregation models we study evolve smoothly in time, we expect persistent topological features to do so as well.
One attempt to address time evolution of topological features uses vineyards, which have been applied to protein folding in the context of level set persistence [47]. Another attempt might involve multidimensional persistence, which allows a persistence computation simultaneously over multiple parameters [48]. It could be useful to apply these two tools to biological aggregations. It could also be useful to consider another topological approach, namely braids, which have yielded insight into other dynamical systems applications such as fluids and crowd dynamics [49, 50]. Finally, our main goal has been to demonstrate the utility of topological data analysis for biological aggregations and similar applications. We have used the Vicsek and D’Orsogna models as convenient examples, and focused on a small number of simulations. That said, it could be revealing to conduct large numbers of randomly-seeded simulations for fixed parameters, compute the persistent homology of each one, and average this topological data. Doing so would allow more precise quantification of the timescales and persistence scales of the topological transitions.
Topological data analysis is an active and growing area of current research. We hope that our work above contributes to the toolkit that applied mathematicians might bring to bear on models they study.
Data Availability
We have deposited our data with Dryad. The Dryad DOI is: doi:10.5061/dryad.91j93. Journal editors may view the submission using the following url: http://datadryad.org/review?doi=doi:10.5061/dryad.91j93.
Funding Statement
This work was supported by National Science Foundation grant DMS-1412674, www.nsf.gov, to CT; National Science Foundation grant DMS-1009633, www.nsf.gov, to CT; and Simons Foundation Grant 283311, www.simonsfoundation.org, to TH. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1. Parrish JK, Hamner WM, editors. Animal Groups in Three Dimensions. Cambridge, UK: Cambridge University Press; 1997. [Google Scholar]
- 2. Okubo A, Levin SA, editors. Diffusion and Ecological Problems. vol. 14 of Interdisciplinary Applied Mathematics: Mathematical Biology. 2nd ed. New York: Springer; 2001. [Google Scholar]
- 3. Camazine S, Deneubourg JL, Franks NR, Sneyd J, Theraulaz G, Bonabeau E. Self-Organization in Biological Systems Princeton Studies in Complexity. Princeton, NJ: Princeton University Press; 2001. [Google Scholar]
- 4. Parrish JK, Edelstein-Keshet L. Complexity, Pattern, and Evolutionary Trade-Offs in Animal Aggregation. Science. 1999. April;284:99–101. 10.1126/science.284.5411.99 [DOI] [PubMed] [Google Scholar]
- 5. Sumpter DJT. Collective Animal Behavior. Princeton, NJ: Princeton University Press; 2010. [Google Scholar]
- 6. Couzin ID, Krause J, James R, Ruxton GD, Franks NR. Collective Memory and Spatial Sorting in Animal Groups. J Theor Biol. 2002. September;218(1):1–11. 10.1006/jtbi.2002.3065 [DOI] [PubMed] [Google Scholar]
- 7. Eftimie R, de Vries G, Lewis MA. Complex spatial group patters result from different animal communication mechanisms. Proc Natl Acad Sci. 2007. April;104(17):6974–6979. 10.1073/pnas.0611483104 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Okubo A, Grünbaum D, Edelstein-Keshet L. The Dynamics of Animal Grouping In: Okubo A, Levin SA, editors. Diffusion and Ecological Problems. vol. 14 of Interdisciplinary Applied Mathematics: Mathematical Biology. 2nd ed. New York: Springer; 2001. p. 197–237. [Google Scholar]
- 9. Passino KM. Biomimicry for Optimization, Control, and Automation. London: Springer; 2005. [Google Scholar]
- 10. Breder CM. Equations Descriptive of Fish Schools and Other Animal Aggregations. Ecol. 1954;35(3):361–370. 10.2307/1930099 [DOI] [Google Scholar]
- 11. Vicsek T, Czirok A, Ben Jacob E, Cohen I, Shochet O. Novel Type of Phase-Transition in a System of Self-Driven Particles. Phys Rev Lett. 1995. August;75(6):1226–1229. 10.1103/PhysRevLett.75.1226 [DOI] [PubMed] [Google Scholar]
- 12. Chuang YL, D’Orsogna MR, Marthaler D, Bertozzi AL, Chayes LS. State Transitions and the Continuum Limit for a 2D Interacting, Self-Propelled Particle System. Physica D. 2007. August;232(1):33–47. 10.1016/j.physd.2007.05.007 [DOI] [Google Scholar]
- 13. Mogilner A, Edelstein-Keshet L. A Non-Local Model for a Swarm. J Math Bio. 1999. June;38(6):534–570. 10.1007/s002850050158 [DOI] [Google Scholar]
- 14. Topaz CM, Bertozzi AL, Lewis MA. A Nonlocal Continuum Model for Biological Aggregation. Bull Math Bio. 2006;68(7):1601–1623. 10.1007/s11538-006-9088-6 [DOI] [PubMed] [Google Scholar]
- 15. Bernoff AJ, Topaz CM. A Primer of Swarm Equilibria. SIAM J Appl Dyn Sys. 2011;10(1):212–250. 10.1137/100804504 [DOI] [Google Scholar]
- 16. Bernoff AJ, Topaz CM. Nonlocal Aggregation Equations: A Primer of Swarm Equilibria. SIAM Rev. 2013;55(4):709–747. 10.1137/130925669 [DOI] [Google Scholar]
- 17. Potts JR, Mokross K, Lewis MA. A unifying framework for quantifying the nature of animal interactions. J Roy Soc Interface. 2014;11(96). 10.1098/rsif.2014.0333 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Ballerini M, Calbibbo N, Candeleir R, Cavagna A, Cisbani E, Giardina I, et al. Interaction ruling animal collective behavior depends on topological rather than metric distance: Evidence from a field study. Proc Natl Acad Sci. 2008. January;105(4):1232–1237. 10.1073/pnas.0711437105 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Lukeman R, Li YX, Edelstein-Keshet L. Inferring Individual Rules from Collective Behavior. Proc Natl Acad Sci. 2010. July;107(28):12576–12580. 10.1073/pnas.1001763107 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Nilsen C, Paige J, Warner O, Mayhew B, Sutley R, Lam M, et al. Social Aggregation in Pea Aphids: Experiment and Random Walk Modeling. PLOS One. 2013;8(12):e83343 10.1371/journal.pone.0083343 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Tunstrom K, Katz Y, Ioannou CC, Huepe C, Lutz MJ, Couzin ID. Collective States, Multistability and Transitional Behavior in Schooling Fish. PLOS Comp Bio. 2013. February;9(2):e1002915 10.1371/journal.pcbi.1002915 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Bazazi S, Bartumeus F, Hale JJ, Couzin ID. Intermittent Motion in Desert Locusts: Behavioural Complexity in Simple Environments. PLOS Comp Bio. 2012. May;8(5):e1002498 10.1371/journal.pcbi.1002498 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Huepe C, Aldana M. New tools for characterizing swarming systems: A comparison of minimal models. Phys A. 2008. May;387(12):2809–2822. 10.1016/j.physa.2008.01.081 [DOI] [Google Scholar]
- 24. Olfati-Saber R, Murray RM. Consensus problems in networks of agents with switching topology and time-delays. IEEE Trans Auto Control. 2004;49(9):1520–1533. 10.1109/TAC.2004.834113 [DOI] [Google Scholar]
- 25. D’Orsogna MR, Chuang YL, Bertozzi AL, Chayes L. Self-Propelled Particles with Soft-Core Interactions: Patterns, Stability, and Collapse. Phys Rev Lett. 2006. March;96:104302 10.1103/PhysRevLett.96.104302 [DOI] [PubMed] [Google Scholar]
- 26. Singh G, Memoli F, Ishkhanov T, Sapiro G, Carlsson G, Ringach DL. Topological analysis of population activity in visual cortex. J Vision. 2008;8(8):11.1–18. 10.1167/8.8.11 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Zhu X. Persistent homology: An introduction and a new text representation for natural language processing. In: Proceedings of the Twenty-Third international joint conference on Artificial Intelligence. AAAI Press; 2013. p. 1953–1959.
- 28. Carlsson G, Ishkhanov T, De Silva V, Zomorodian A. On the local behavior of spaces of natural images. Int J Comp Vis. 2008;76(1):1–12. 10.1007/s11263-007-0056-x [DOI] [Google Scholar]
- 29. Perea JA, Harer J. Sliding windows and persistence: An application of topological methods to signal analysis. Found Comp Math; 2013;p. 1–40. [Google Scholar]
- 30. Kasson PM, Zomorodian A, Park S, Singhal N, Guibas LJ, Pande VS. Persistent voids: A new structural metric for membrane fusion. Bioinformatics. 2007;23(14):1753–1759. 10.1093/bioinformatics/btm250 [DOI] [PubMed] [Google Scholar]
- 31. Freedman D, Chen C. Algebraic topology for computer vision. Hewlett Packard; 2009. [Google Scholar]
- 32. de Silva V, Ghrist R. Coverage in sensor networks via persistent homology. Alg Geom Topol. 2007;7:339–358. 10.2140/agt.2007.7.339 [DOI] [Google Scholar]
- 33. Hatcher A. Algebraic Topology. Cambridge University Press; 2002. [Google Scholar]
- 34. Crossley MD. Essential Topology. Springer; 2006. [Google Scholar]
- 35. Ghrist R. Barcodes: The persistent topology of data. Bull Am Math Soc. 2008;45(1):61–75. 10.1090/S0273-0979-07-01191-3 [DOI] [Google Scholar]
- 36.De Silva V, Carlsson G. Topological estimation using witness complexes. In: Proceedings of the First Eurographics conference on Point-Based Graphics. Eurographics Association; 2004. p. 157–166.
- 37. Edelsbrunner H, Harer J. Persistent Homology: A Survey. Contemp Math. 2008;453:257–282. 10.1090/conm/453/08802 [DOI] [Google Scholar]
- 38. Carlsson G. Topology and Data. Bull Am Math Soc. 2009;46(2):255–308. 10.1090/S0273-0979-09-01249-X [DOI] [Google Scholar]
- 39. Cohen-Steiner D, Edelsbrunner H, Harer J. Stability of persistence diagrams. Disc Comp Geom. 2007;37(1):103–120. 10.1007/s00454-006-1276-5 [DOI] [Google Scholar]
- 40. Zomorodian A, Carlsson G. Computing persistent homology. Disc Comp Geom. 2005;33(2):249–274. 10.1007/s00454-004-1146-y [DOI] [Google Scholar]
- 41. Kaczynski T, Mischaikow K, Mrozek M. Computational Homology. vol. 157 Springer; 2004. [Google Scholar]
- 42. Edelsbrunner H, Letscher D, Zomorodian A. Topological persistence and simplification. Disc Comp Geom. 2002;28(4):511–533. 10.1007/s00454-002-2885-2 [DOI] [Google Scholar]
- 43. Bauer U, Kerber M, Reininghaus J, Wagner H. PHAT—Persistent Homology Algorithms Toolbox In: Mathematical Software—ICMS 2014. Springer; 2014. p. 137–143. [Google Scholar]
- 44.Tausz A. phom: Persistent Homoloy in R; 2011. Available at CRAN http://cran.r-project.org.
- 45. Vicsek T, Zafeiris A. Collective Motion. Phys Rep. 2012;517(3–4):71–140. 10.1016/j.physrep.2012.03.004 [DOI] [Google Scholar]
- 46. Levine H, Rappel WJ, Cohen I. Self-Organization in Systems of Self-Propelled Particles. Phys Rev E. 2001. January;63:017101 10.1103/PhysRevE.63.017101 [DOI] [PubMed] [Google Scholar]
- 47.Cohen-Steiner D, Edelsbrunner H, Morozov D. Vines and vineyards by updating persistence in linear time. In: Proceedings of the Twenty-Second Annual Symposium on Computational Geometry; 2006. p. 119–126.
- 48. Carlsson G, Zomorodian A. The Theory of Multidimensional Persistence. Disc Comp Geom. 2009;42(1):71–93. 10.1007/s00454-009-9176-0 [DOI] [Google Scholar]
- 49. Allshouse MR, Thiffeault JL. Detecting coherent structures using braids. Physica D. 2012;241(2):95–105. 10.1016/j.physd.2011.10.002 [DOI] [Google Scholar]
- 50.Ali S. Measuring Flow Complexity in Videos. In: 2013 IEEE International Conference on Computer Vision. IEEE; 2013. p. 1097–1104.
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
We have deposited our data with Dryad. The Dryad DOI is: doi:10.5061/dryad.91j93. Journal editors may view the submission using the following url: http://datadryad.org/review?doi=doi:10.5061/dryad.91j93.