forked from pathpy/pathpy.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tutorial.html
296 lines (265 loc) · 13.6 KB
/
tutorial.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Official pathpy tutorial — pathpy 3.0.22 documentation</title>
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/style.css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<script src="_static/copybutton.js"></script>
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Setting up pathpy" href="tutorial/installation.html" />
<link rel="prev" title="Simple Plot" href="examples/simple_plot.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="_static/js/jquery-1.11.0.min.js "></script>
<script type="text/javascript" src="_static/js/jquery-fix.js "></script>
<script type="text/javascript" src="_static/bootstrap-3.3.7/js/bootstrap.min.js "></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js "></script>
</head><body>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><span><img src="_static/pathpy_logo.png"></span>
</a>
<span class="navbar-text navbar-version pull-left"><b>3.0.22</b></span>
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li><a href="examples/index.html">Gallery</a></li>
<li><a href="#">Tutorial</a></li>
<li><a href="api.html">API</a></li>
<li class="dropdown globaltoc-container">
<a role="button"
id="dLabelGlobalToc"
data-toggle="dropdown"
data-target="#"
href="index.html">Site <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc"
role="menu"
aria-labelledby="dLabelGlobalToc"><ul class="current">
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="release.html">Release notes</a></li>
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installing</a></li>
<li class="toctree-l1"><a class="reference internal" href="examples/index.html">Example gallery</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="api.html">API reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="contribution.html">Contributing</a></li>
</ul>
</ul>
</li>
<li class="dropdown">
<a role="button"
id="dLabelLocalToc"
data-toggle="dropdown"
data-target="#"
href="#">Page <b class="caret"></b></a>
<ul class="dropdown-menu localtoc"
role="menu"
aria-labelledby="dLabelLocalToc"><ul>
<li><a class="reference internal" href="#">Official pathpy tutorial</a><ul>
</ul>
</li>
</ul>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="body col-md-12 content" role="main">
<div class="section" id="official-pathpy-tutorial">
<span id="tutorial"></span><h1>Official pathpy tutorial<a class="headerlink" href="#official-pathpy-tutorial" title="Permalink to this headline">¶</a></h1>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Getting started</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/installation.html">Setting up <code class="docutils literal notranslate"><span class="pre">pathpy</span></code></a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/installation.html#python-environment"><code class="docutils literal notranslate"><span class="pre">python</span></code> Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/installation.html#installing-pathpy3">Installing <code class="docutils literal notranslate"><span class="pre">pathpy3</span></code></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/network.html">Basic <code class="docutils literal notranslate"><span class="pre">pathpy</span></code> concepts</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/network.html#creating-networks">Creating networks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tutorial/network.html#node-and-edge-objects">Node and Edge objects</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/network.html#networks-nodes-and-edges-with-attributes">Networks, Nodes and Edges with attributes</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/network.html#adjacency-matrices">Adjacency matrices</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/visualisation.html">Visualising static networks</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/visualisation.html#interactive-network-visualisation-in-jupyter">Interactive network visualisation in <code class="docutils literal notranslate"><span class="pre">jupyter</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/visualisation.html#network-layouts">Network Layouts</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/visualisation.html#plotting-spatially-embedded-networks">Plotting spatially embedded networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/visualisation.html#plotting-networks-to-pdf">Plotting networks to PDF</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Reading network data</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/pandas.html">Reading and writing network data with <code class="docutils literal notranslate"><span class="pre">pandas</span></code></a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/csv.html">Reading networks from CSV files</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/graphml.html">Reading networks from graphml</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/sql.html">Reading networks from SQL databases</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/netzschleuder.html">Reading networks from netzschleuder</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/netzschleuder.html#reading-static-networks">Reading static networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/netzschleuder.html#reading-temporal-networks">Reading temporal networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/netzschleuder.html#reading-temporal-data-as-static-networks">Reading temporal data as static networks</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/konect.html">Reading networks from KONECT</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/konect.html#reading-static-networks">Reading static networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/konect.html#reading-temporal-networks">Reading temporal networks</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/konect.html#reading-temporal-data-as-static-network">Reading temporal data as static network</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/infomap.html">Exporting path data as InfoMap state files</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Basic network analysis</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/random_graphs.html">Generating random graphs</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/components.html">Connected components</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/centralities.html">Calculating node centralities</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/clustering.html">Clustering and Mixing patterns</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/community_detection.html">Community detection in static networks</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/cross_validation.html">Cross-validation experiments with networks</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Temporal network data</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/temporal_networks.html">Temporal Network Basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/temporal_network_visualisation.html">Temporal Network Visualisation</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/path_extraction.html">Extracting paths from temporal networks</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/path_extraction.html#paco-path-counting-in-temporal-networks">PaCO: Path Counting in Temporal Networks</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Higher-Order Network Models</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/higher_order_models.html">Higher-Order Models</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/multi_order_models.html">Multi-Order Models</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Dynamical processes</h3>
</div>
<div class="panel-body"><div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/random_walks.html">Random Walks in Static Networks</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/higher_order_random_walks.html">Random Walks in Higher-Order Networks</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/epidemic_spreading.html">Epidemic Spreading</a></li>
<li class="toctree-l1"><a class="reference internal" href="tutorial/temporal_spreading.html">Epidemic Spreading in Temporal Networks</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<a href="#">Back to top</a>
<br/>
</p>
<p>
© Copyright 2016-2021, Pathpy Developers.<br/>
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 3.2.1.<br/>
</p>
</div>
</footer>
</body>
</html>