Skip to content

Commit fbd695f

Browse files
authored
Merge pull request #155 from markovmodel/revision-cw
Revision cw
2 parents 11d616b + 57644f4 commit fbd695f

File tree

7 files changed

+114
-51
lines changed

7 files changed

+114
-51
lines changed

manuscript/figures/figure_2.pdf

-11.7 KB
Binary file not shown.

manuscript/figures/figure_3.pdf

-215 KB
Binary file not shown.

manuscript/figures/figure_4.pdf

146 KB
Binary file not shown.

manuscript/figures/figure_5.pdf

69.1 KB
Binary file not shown.

manuscript/figures/figure_6.pdf

22.7 KB
Binary file not shown.

manuscript/manuscript.tex

Lines changed: 54 additions & 31 deletions
Large diffs are not rendered by default.

notebooks/00-pentapeptide-showcase.ipynb

Lines changed: 60 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@
12211221
"cell_type": "markdown",
12221222
"metadata": {},
12231223
"source": [
1224-
"This is now the first figure which sketches the entire estimation and validation part:"
1224+
"This is Figure 2 (a,b,c,d) which sketches the system and coordinates part:"
12251225
]
12261226
},
12271227
{
@@ -1230,20 +1230,18 @@
12301230
"metadata": {},
12311231
"outputs": [],
12321232
"source": [
1233-
"fig = plt.figure(figsize=(3.47, 6.77))\n",
1233+
"fig = plt.figure(figsize=(3.47, 4.65))\n",
12341234
"gw = int(np.floor(0.5 + 1000 * fig.get_figwidth()))\n",
12351235
"gh = int(np.floor(0.5 + 1000 * fig.get_figheight()))\n",
12361236
"gs = plt.GridSpec(gh, gw)\n",
12371237
"gs.update(hspace=0.0, wspace=0.0, left=0.0, right=1.0, bottom=0.0, top=1.0)\n",
12381238
"\n",
12391239
"ax_box = fig.add_subplot(gs[:, :])\n",
12401240
"ax_box.set_axis_off()\n",
1241-
"ax_box.text(0.00, 0.98, '(a)', size=10, zorder=1)\n",
1242-
"ax_box.text(0.00, 0.71, '(b)', size=10)\n",
1243-
"ax_box.text(0.55, 0.71, '(c)', size=10)\n",
1244-
"ax_box.text(0.00, 0.46, '(d)', size=10)\n",
1245-
"ax_box.text(0.00, 0.32, '(e)', size=10)\n",
1246-
"ax_box.text(0.00, 0.14, '(f)', size=10)\n",
1241+
"ax_box.text(0.00, 0.95, '(a)', size=10, zorder=1)\n",
1242+
"ax_box.text(0.00, 0.58, '(b)', size=10)\n",
1243+
"ax_box.text(0.55, 0.58, '(c)', size=10)\n",
1244+
"ax_box.text(0.00, 0.22, '(d)', size=10)\n",
12471245
"\n",
12481246
"ax_mol = fig.add_subplot(gs[:1600, -2820:-400])\n",
12491247
"ax_mol.set_axis_off()\n",
@@ -1294,20 +1292,48 @@
12941292
"ax_tic2.set_ylabel('IC 2')\n",
12951293
"ax_tic2.set_xlabel('time / ns')\n",
12961294
"\n",
1297-
"ax_its = fig.add_subplot(gs[4680:5480, 400:3350])\n",
1295+
"fig.savefig('data/figure_2.pdf', dpi=300)"
1296+
]
1297+
},
1298+
{
1299+
"cell_type": "markdown",
1300+
"metadata": {},
1301+
"source": [
1302+
"Next is Figure 3 (a,b) which shows estimation and validation:"
1303+
]
1304+
},
1305+
{
1306+
"cell_type": "code",
1307+
"execution_count": null,
1308+
"metadata": {},
1309+
"outputs": [],
1310+
"source": [
1311+
"fig = plt.figure(figsize=(3.47, 2.60))\n",
1312+
"gw = int(np.floor(0.5 + 1000 * fig.get_figwidth()))\n",
1313+
"gh = int(np.floor(0.5 + 1000 * fig.get_figheight()))\n",
1314+
"gs = plt.GridSpec(gh, gw)\n",
1315+
"gs.update(hspace=0.0, wspace=0.0, left=0.0, right=1.0, bottom=0.0, top=1.0)\n",
1316+
"\n",
1317+
"ax_box = fig.add_subplot(gs[:, :])\n",
1318+
"ax_box.set_axis_off()\n",
1319+
"ax_box.text(0.00, 0.95, '(a)', size=10)\n",
1320+
"ax_box.text(0.00, 0.36, '(b)', size=10)\n",
1321+
"\n",
1322+
"ax_its = fig.add_subplot(gs[50:1300, 400:3350])\n",
12981323
"pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1, ax=ax_its, nits=4, ylog=True)\n",
12991324
"ax_its.set_ylim(1, ax_its.get_ylim()[1])\n",
13001325
"ax_its.set_xlabel(r'lag time $\\tau$ / ns')\n",
13011326
"\n",
13021327
"ax_ck = [\n",
1303-
" fig.add_subplot(gs[5940:6510, 400:970]),\n",
1304-
" fig.add_subplot(gs[5940:6510, 995:1565]),\n",
1305-
" fig.add_subplot(gs[5940:6510, 1590:2160]),\n",
1306-
" fig.add_subplot(gs[5940:6510, 2185:2755]),\n",
1307-
" fig.add_subplot(gs[5940:6510, 2780:3350])]\n",
1328+
" fig.add_subplot(gs[1730:2300, 400:970]),\n",
1329+
" fig.add_subplot(gs[1730:2300, 995:1565]),\n",
1330+
" fig.add_subplot(gs[1730:2300, 1590:2160]),\n",
1331+
" fig.add_subplot(gs[1730:2300, 2185:2755]),\n",
1332+
" fig.add_subplot(gs[1730:2300, 2780:3350])]\n",
13081333
"\n",
13091334
"for k, ax in enumerate(ax_ck):\n",
1310-
" lest, lpred = _add_ck_subplot(cktest, ax, k, k, ipos=cktest.nsets - 1, dt=0.1, units='ns')\n",
1335+
" lest, lpred = _add_ck_subplot(\n",
1336+
" cktest, ax, k, k, ipos=cktest.nsets - 1, dt=0.1, units='ns', linewidth=0.7)\n",
13111337
" if k > 0:\n",
13121338
" ax.set_yticks([])\n",
13131339
"predlabel = 'predict ({:3.1f}%)'.format(100.0 * cktest.conf)\n",
@@ -1319,14 +1345,14 @@
13191345
" loc='upper left',\n",
13201346
" bbox_to_anchor=(-0.4, 1.45))\n",
13211347
"\n",
1322-
"fig.savefig('data/figure_2.pdf', dpi=300)"
1348+
"fig.savefig('data/figure_3.pdf', dpi=300)"
13231349
]
13241350
},
13251351
{
13261352
"cell_type": "markdown",
13271353
"metadata": {},
13281354
"source": [
1329-
"And this is the second figure which highlights the analysis part:"
1355+
"Figure 4 (a,b,c,d) highlights the basic analysis part using map plots:"
13301356
]
13311357
},
13321358
{
@@ -1418,7 +1444,14 @@
14181444
"ax_flux.set_xlabel('IC 1')\n",
14191445
"ax_flux.set_yticklabels([])\n",
14201446
"\n",
1421-
"fig.savefig('data/figure_3.pdf', dpi=300)"
1447+
"fig.savefig('data/figure_4.pdf', dpi=300)"
1448+
]
1449+
},
1450+
{
1451+
"cell_type": "markdown",
1452+
"metadata": {},
1453+
"source": [
1454+
"Figure 5 visualizes the $\\mathcal{S}_2\\to\\mathcal{S}_4$ committor:"
14221455
]
14231456
},
14241457
{
@@ -1464,7 +1497,14 @@
14641497
" show_committor=True)\n",
14651498
"flux_ax.set_xticks(np.arange(0, 1.2, .2))\n",
14661499
"\n",
1467-
"fig.savefig('data/figure_4.pdf', dpi=300)"
1500+
"fig.savefig('data/figure_5.pdf', dpi=300)"
1501+
]
1502+
},
1503+
{
1504+
"cell_type": "markdown",
1505+
"metadata": {},
1506+
"source": [
1507+
"And, finally, Figure 6 (a,b) depicts the Trp-1 autocorrelation:"
14681508
]
14691509
},
14701510
{
@@ -1523,7 +1563,7 @@
15231563
"ax_rlx.set_xlim((eq_time_ml[1], eq_time_ml[-1]))\n",
15241564
"ax_rlx.set_xlabel(r'time / ns')\n",
15251565
"\n",
1526-
"fig.savefig('data/figure_5.pdf', dpi=300)"
1566+
"fig.savefig('data/figure_6.pdf', dpi=300)"
15271567
]
15281568
},
15291569
{

0 commit comments

Comments
 (0)