piegy 1.1.4__py3-none-any.whl → 1.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- piegy/__version__.py +1 -0
- {piegy-1.1.4.dist-info → piegy-1.1.5.dist-info}/METADATA +6 -6
- {piegy-1.1.4.dist-info → piegy-1.1.5.dist-info}/RECORD +6 -6
- {piegy-1.1.4.dist-info → piegy-1.1.5.dist-info}/WHEEL +0 -0
- {piegy-1.1.4.dist-info → piegy-1.1.5.dist-info}/licenses/LICENSE.txt +0 -0
- {piegy-1.1.4.dist-info → piegy-1.1.5.dist-info}/top_level.txt +0 -0
piegy/__version__.py
CHANGED
@@ -18,5 +18,6 @@ version history:
|
|
18
18
|
1.1.2: fix text bad location in figure_tools, update labeling and titling in figures and test_var. Add dpi param to make_video in videos. Remove reset_data function in model.
|
19
19
|
1.1.3: update README.
|
20
20
|
1.1.4: changed name: ``model`` module to ``simulation``, and ``model.simulation`` class to ``simulation.model``. Bug fix in videos.
|
21
|
+
1.1.5: update README.
|
21
22
|
|
22
23
|
'''
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: piegy
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
4
4
|
Summary: Payoff-Driven Stochastic Spatial Model for Evolutionary Game Theory
|
5
5
|
Author-email: Chenning Xu <cxu7@caltech.edu>
|
6
6
|
License: BSD 3-Clause License
|
@@ -87,16 +87,16 @@ The *piegy* package also provides a wide range of analytic and supportive tools
|
|
87
87
|
To get started, simply get our demo model and run simulation:
|
88
88
|
|
89
89
|
```python
|
90
|
-
from piegy import
|
90
|
+
from piegy import simulation, figures
|
91
91
|
import matplotlib.pyplot as plt
|
92
92
|
|
93
|
-
|
94
|
-
|
93
|
+
mod = simulation.demo_model()
|
94
|
+
simulation.run(mod)
|
95
95
|
|
96
96
|
fig1, ax1 = plt.subplots()
|
97
|
-
figures.UV_dyna(
|
97
|
+
figures.UV_dyna(mod, ax1)
|
98
98
|
fig2, ax2 = plt.subplots(1, 2, figsize = (12.8, 4.8))
|
99
|
-
U_hmap, V_hmap = figures.UV_heatmap(
|
99
|
+
U_hmap, V_hmap = figures.UV_heatmap(mod, ax2[0], ax2[1])
|
100
100
|
```
|
101
101
|
|
102
102
|
The figures reveal population dynamics and steady state population distribution.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
piegy/__init__.py,sha256=plq8y9IE9ilaKtEFIblJ_QexipAvPBXoalXhXLbs71Q,3244
|
2
|
-
piegy/__version__.py,sha256=
|
2
|
+
piegy/__version__.py,sha256=AAqSGH3nuhPokfBCJAiDo5lX43TPen-UUqpb0w3AMKk,878
|
3
3
|
piegy/analysis.py,sha256=5X6cpEAgFlHiRoaVmqYALlUvkep_LmrqpJHLCtQrd9Q,8727
|
4
4
|
piegy/data_tools.py,sha256=Rw1fzeCGbxAB8MqTxZNZnOkVn7FmoUGoRz21scTAvF0,3550
|
5
5
|
piegy/figures.py,sha256=bMHS7gTYtWdixUMW_wokBD6NSj_WOjQtnWp0R8VXChw,19059
|
@@ -9,8 +9,8 @@ piegy/videos.py,sha256=QfSpOdwfaDsrQYRoiHmZ6gowzRQHom3m8kx1P65_8sM,10218
|
|
9
9
|
piegy/tools/__init__.py,sha256=eYOl_HJHDonYexfrmKh3koOlxvtSo46vH6jHvCEEB4k,300
|
10
10
|
piegy/tools/figure_tools.py,sha256=54vJSJMReXidFnSPE_xFvedtgnJU3d55zQDPNBLGs98,6975
|
11
11
|
piegy/tools/file_tools.py,sha256=ncxFWeHfIE-GYLQlOrahFlhBgqPyuY3R5_93fpQeCEs,630
|
12
|
-
piegy-1.1.
|
13
|
-
piegy-1.1.
|
14
|
-
piegy-1.1.
|
15
|
-
piegy-1.1.
|
16
|
-
piegy-1.1.
|
12
|
+
piegy-1.1.5.dist-info/licenses/LICENSE.txt,sha256=wfzEht_CxOcfGGmg3f3at4mWJb9rTBjA51mXLl_3O3g,1498
|
13
|
+
piegy-1.1.5.dist-info/METADATA,sha256=Ld9BLdh-FjcVyT8wwLMeVrXa3-YwitV9JawLoaMzYd0,5306
|
14
|
+
piegy-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
15
|
+
piegy-1.1.5.dist-info/top_level.txt,sha256=k4QLYL8PqdqDuy95-4NZD_FVLqJDsmq67tpKkBn4vMw,6
|
16
|
+
piegy-1.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|