Skip to content

Commit 39eb5b0

Browse files
committed
Fast-forward with org
1 parent 18b5766 commit 39eb5b0

10 files changed

Lines changed: 1266 additions & 875 deletions

File tree

docs/source/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ method to get started with visualization is through the `Jupyter notebook`_.
3131
:maxdepth: 2
3232
:caption: Examples
3333

34-
notebooks/water-demo.ipynb
34+
notebooks/00_index.ipynb
35+
notebooks/01_basics.ipynb
36+
notebooks/02_xyz.ipynb
37+
notebooks/03_orbitals.ipynb
3538
notebooks/nwchem.ipynb
3639
notebooks/qe.ipynb
3740

docs/source/notebooks/00_index.ipynb

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cell_type": "markdown",
1919
"metadata": {},
2020
"source": [
21-
"## [Basics of exatomic](source/notebooks/01_basics.ipynb)\n",
21+
"## [Basics of exatomic](./01_basics.ipynb)\n",
2222
"\n",
2323
"- Tutorial of basic usage and syntax\n",
2424
"- Demonstrates how to load/manipulate dataframe data"
@@ -28,7 +28,7 @@
2828
"cell_type": "markdown",
2929
"metadata": {},
3030
"source": [
31-
"## [XYZ Tutorial](source/notebooks/02_xyz.ipynb)\n",
31+
"## [XYZ Tutorial](./02_xyz.ipynb)\n",
3232
"\n",
3333
"- Load an XYZ trajectory\n",
3434
"- Visualize the structure\n",
@@ -39,19 +39,33 @@
3939
"cell_type": "markdown",
4040
"metadata": {},
4141
"source": [
42-
"## [Visualization of Molecular Orbitals](source/notebooks/03_orbitals.ipynb)\n",
42+
"## [Visualization of Molecular Orbitals](./03_orbitals.ipynb)\n",
4343
"\n",
4444
"- Tutorial on parsing data from wave function theory software\n",
4545
"- Visualization of molecular orbitals\n",
4646
"- Computation of overlap, density matrix, and other manipulations stemming from the basis set, order, and coefficient matrix"
4747
]
4848
},
49+
{
50+
"cell_type": "markdown",
51+
"metadata": {},
52+
"source": [
53+
"# [NWChem](./nwchem.ipynb)\n",
54+
"- [NWChem](https://github.com/nwchemgit/nwchem/wiki) is a computational chemistry software"
55+
]
56+
},
57+
{
58+
"cell_type": "markdown",
59+
"metadata": {},
60+
"source": [
61+
"# [QE](./qe.ipynb)\n",
62+
"- [QE](https://www.quantum-espresso.org/) is primarily a solid state physics simulation software"
63+
]
64+
},
4965
{
5066
"cell_type": "code",
5167
"execution_count": null,
52-
"metadata": {
53-
"collapsed": true
54-
},
68+
"metadata": {},
5569
"outputs": [],
5670
"source": []
5771
}

docs/source/notebooks/01_basics.ipynb

Lines changed: 68 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{
1818
"data": {
1919
"text/plain": [
20-
"'0.3.9'"
20+
"'0.3.11'"
2121
]
2222
},
2323
"execution_count": 1,
@@ -41,9 +41,7 @@
4141
{
4242
"cell_type": "code",
4343
"execution_count": 2,
44-
"metadata": {
45-
"collapsed": true
46-
},
44+
"metadata": {},
4745
"outputs": [],
4846
"source": [
4947
"exatomic.Universe?"
@@ -65,7 +63,7 @@
6563
{
6664
"data": {
6765
"text/plain": [
68-
"<exatomic.core.universe.Universe at 0x7f27280baeb8>"
66+
"<exatomic.core.universe.Universe at 0x7f77da0bd630>"
6967
]
7068
},
7169
"execution_count": 3,
@@ -95,18 +93,18 @@
9593
"data": {
9694
"text/html": [
9795
"<div>\n",
98-
"<style>\n",
99-
" .dataframe thead tr:only-child th {\n",
100-
" text-align: right;\n",
101-
" }\n",
102-
"\n",
103-
" .dataframe thead th {\n",
104-
" text-align: left;\n",
96+
"<style scoped>\n",
97+
" .dataframe tbody tr th:only-of-type {\n",
98+
" vertical-align: middle;\n",
10599
" }\n",
106100
"\n",
107101
" .dataframe tbody tr th {\n",
108102
" vertical-align: top;\n",
109103
" }\n",
104+
"\n",
105+
" .dataframe thead th {\n",
106+
" text-align: right;\n",
107+
" }\n",
110108
"</style>\n",
111109
"<table border=\"1\" class=\"dataframe\">\n",
112110
" <thead>\n",
@@ -181,18 +179,18 @@
181179
"data": {
182180
"text/html": [
183181
"<div>\n",
184-
"<style>\n",
185-
" .dataframe thead tr:only-child th {\n",
186-
" text-align: right;\n",
187-
" }\n",
188-
"\n",
189-
" .dataframe thead th {\n",
190-
" text-align: left;\n",
182+
"<style scoped>\n",
183+
" .dataframe tbody tr th:only-of-type {\n",
184+
" vertical-align: middle;\n",
191185
" }\n",
192186
"\n",
193187
" .dataframe tbody tr th {\n",
194188
" vertical-align: top;\n",
195189
" }\n",
190+
"\n",
191+
" .dataframe thead th {\n",
192+
" text-align: right;\n",
193+
" }\n",
196194
"</style>\n",
197195
"<table border=\"1\" class=\"dataframe\">\n",
198196
" <thead>\n",
@@ -242,12 +240,27 @@
242240
{
243241
"data": {
244242
"application/vnd.jupyter.widget-view+json": {
245-
"model_id": "f7c70903935c487a9524f863691d70ea",
243+
"model_id": "899aa74a418341cf90c6cc921b3c39b3",
246244
"version_major": 2,
247245
"version_minor": 0
248246
},
247+
"text/html": [
248+
"<p>Failed to display Jupyter Widget of type <code>UniverseWidget</code>.</p>\n",
249+
"<p>\n",
250+
" If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n",
251+
" that the widgets JavaScript is still loading. If this message persists, it\n",
252+
" likely means that the widgets JavaScript library is either not installed or\n",
253+
" not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n",
254+
" Widgets Documentation</a> for setup instructions.\n",
255+
"</p>\n",
256+
"<p>\n",
257+
" If you're reading this message in another frontend (for example, a static\n",
258+
" rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n",
259+
" it may mean that your frontend doesn't currently support widgets.\n",
260+
"</p>\n"
261+
],
249262
"text/plain": [
250-
"A Jupyter Widget"
263+
"UniverseWidget(active_scene_indices=[0], children=(GUIBox(children=(Button(description=' Close', icon='trash', layout=Layout(width='98%'), style=ButtonStyle()), Button(description=' Clear', icon='bomb', layout=Layout(width='98%'), style=ButtonStyle()), Folder(children=(Button(description=' Active Scenes', icon='bars', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Image', icon='save', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Camera', icon='camera', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Button(description=' Fill', icon='adjust', layout=Layout(width='98%'), style=ButtonStyle()), Button(description=' Axis', icon='arrows-alt', layout=Layout(width='98%'), style=ButtonStyle()), Folder(children=(Button(description=' Animate', icon='play', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Fields', icon='cube', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%'))), layout=Layout(flex='0 0 240px')), VBox(children=(HBox(children=(UniverseScene(atom_c={0: '#9b9b9b'}, atom_l='[[\"H0\",\"H1\"]]', atom_r={0: 0.30235616}, atom_s='[[0,0]]', atom_x='[[0.0,0.0]]', atom_y='[[0.0,0.0]]', atom_z='[[-0.34,0.34]]', cont_lim=[-8, -1], imgname='name', layout=Layout(flex='1 1 auto', height='auto', min_height='500px'), two_b0='[[0]]', two_b1='[[1]]', uni=True),), layout=Layout(flex='1 1 auto', height='auto', width='auto')),), layout=Layout(flex='1 1 auto', height='auto', width='auto'))), layout=Layout(flex='1 1 auto', height='auto', width='auto'))"
251264
]
252265
},
253266
"metadata": {},
@@ -275,18 +288,18 @@
275288
"data": {
276289
"text/html": [
277290
"<div>\n",
278-
"<style>\n",
279-
" .dataframe thead tr:only-child th {\n",
280-
" text-align: right;\n",
281-
" }\n",
282-
"\n",
283-
" .dataframe thead th {\n",
284-
" text-align: left;\n",
291+
"<style scoped>\n",
292+
" .dataframe tbody tr th:only-of-type {\n",
293+
" vertical-align: middle;\n",
285294
" }\n",
286295
"\n",
287296
" .dataframe tbody tr th {\n",
288297
" vertical-align: top;\n",
289298
" }\n",
299+
"\n",
300+
" .dataframe thead th {\n",
301+
" text-align: right;\n",
302+
" }\n",
290303
"</style>\n",
291304
"<table border=\"1\" class=\"dataframe\">\n",
292305
" <thead>\n",
@@ -346,18 +359,18 @@
346359
"data": {
347360
"text/html": [
348361
"<div>\n",
349-
"<style>\n",
350-
" .dataframe thead tr:only-child th {\n",
351-
" text-align: right;\n",
352-
" }\n",
353-
"\n",
354-
" .dataframe thead th {\n",
355-
" text-align: left;\n",
362+
"<style scoped>\n",
363+
" .dataframe tbody tr th:only-of-type {\n",
364+
" vertical-align: middle;\n",
356365
" }\n",
357366
"\n",
358367
" .dataframe tbody tr th {\n",
359368
" vertical-align: top;\n",
360369
" }\n",
370+
"\n",
371+
" .dataframe thead th {\n",
372+
" text-align: right;\n",
373+
" }\n",
361374
"</style>\n",
362375
"<table border=\"1\" class=\"dataframe\">\n",
363376
" <thead>\n",
@@ -404,36 +417,34 @@
404417
},
405418
{
406419
"cell_type": "code",
407-
"execution_count": 10,
408-
"metadata": {
409-
"collapsed": true
410-
},
420+
"execution_count": 9,
421+
"metadata": {},
411422
"outputs": [],
412423
"source": [
413424
"uni.compute_molecule_com()"
414425
]
415426
},
416427
{
417428
"cell_type": "code",
418-
"execution_count": 11,
429+
"execution_count": 10,
419430
"metadata": {},
420431
"outputs": [
421432
{
422433
"data": {
423434
"text/html": [
424435
"<div>\n",
425-
"<style>\n",
426-
" .dataframe thead tr:only-child th {\n",
427-
" text-align: right;\n",
428-
" }\n",
429-
"\n",
430-
" .dataframe thead th {\n",
431-
" text-align: left;\n",
436+
"<style scoped>\n",
437+
" .dataframe tbody tr th:only-of-type {\n",
438+
" vertical-align: middle;\n",
432439
" }\n",
433440
"\n",
434441
" .dataframe tbody tr th {\n",
435442
" vertical-align: top;\n",
436443
" }\n",
444+
"\n",
445+
" .dataframe thead th {\n",
446+
" text-align: right;\n",
447+
" }\n",
437448
"</style>\n",
438449
"<table border=\"1\" class=\"dataframe\">\n",
439450
" <thead>\n",
@@ -471,7 +482,7 @@
471482
"Molecule(1, 5)"
472483
]
473484
},
474-
"execution_count": 11,
485+
"execution_count": 10,
475486
"metadata": {},
476487
"output_type": "execute_result"
477488
}
@@ -483,9 +494,14 @@
483494
{
484495
"cell_type": "code",
485496
"execution_count": null,
486-
"metadata": {
487-
"collapsed": true
488-
},
497+
"metadata": {},
498+
"outputs": [],
499+
"source": []
500+
},
501+
{
502+
"cell_type": "code",
503+
"execution_count": null,
504+
"metadata": {},
489505
"outputs": [],
490506
"source": []
491507
}
@@ -507,7 +523,7 @@
507523
"name": "python",
508524
"nbconvert_exporter": "python",
509525
"pygments_lexer": "ipython3",
510-
"version": "3.6.2"
526+
"version": "3.6.4"
511527
}
512528
},
513529
"nbformat": 4,

0 commit comments

Comments
 (0)