Skip to content

Commit 02dbfcd

Browse files
committed
Update tutorial projects and remove structure display
1 parent c74cec2 commit 02dbfcd

3 files changed

Lines changed: 12 additions & 25 deletions

File tree

docs/docs/tutorials/ed-13.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"metadata": {},
120120
"outputs": [],
121121
"source": [
122-
"project_1 = ed.Project(name='si')"
122+
"project_1 = ed.Project(name='reference')"
123123
]
124124
},
125125
{
@@ -694,9 +694,9 @@
694694
"_space_group.name_H-M_alt \"F d -3 m\"\n",
695695
"_space_group.IT_coordinate_system_code 1\n",
696696
"\n",
697-
"_cell.length_a 5.4307\n",
698-
"_cell.length_b 5.4307\n",
699-
"_cell.length_c 5.4307\n",
697+
"_cell.length_a 5.43\n",
698+
"_cell.length_b 5.43\n",
699+
"_cell.length_c 5.43\n",
700700
"_cell.angle_alpha 90.0\n",
701701
"_cell.angle_beta 90.0\n",
702702
"_cell.angle_gamma 90.0\n",
@@ -807,7 +807,7 @@
807807
"metadata": {},
808808
"outputs": [],
809809
"source": [
810-
"project_1.structures['si'].cell.length_a = 5.4307"
810+
"project_1.structures['si'].cell.length_a = 5.43"
811811
]
812812
},
813813
{
@@ -1200,7 +1200,7 @@
12001200
"metadata": {},
12011201
"outputs": [],
12021202
"source": [
1203-
"project_1.save_as(dir_path='projects/ed_13_si')"
1203+
"project_1.save_as(dir_path='projects/ed_13_reference')"
12041204
]
12051205
},
12061206
{
@@ -1256,7 +1256,7 @@
12561256
"metadata": {},
12571257
"outputs": [],
12581258
"source": [
1259-
"project_2 = ed.Project(name='lbco_si')\n",
1259+
"project_2 = ed.Project(name='main')\n",
12601260
"project_2.info.title = 'La0.5Ba0.5CoO3 Fit'\n",
12611261
"project_2.info.description = 'Fitting simulated powder diffraction pattern of La0.5Ba0.5CoO3.'"
12621262
]
@@ -2635,7 +2635,7 @@
26352635
"metadata": {},
26362636
"outputs": [],
26372637
"source": [
2638-
"project_2.save_as(dir_path='projects/ed_13_lbco_si')"
2638+
"project_2.save_as(dir_path='projects/ed_13_main')"
26392639
]
26402640
},
26412641
{

docs/docs/tutorials/ed-3.ipynb

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,19 +1667,9 @@
16671667
"project.display.pattern(expt_name='hrpt', x_min=38, x_max=41)"
16681668
]
16691669
},
1670-
{
1671-
"cell_type": "code",
1672-
"execution_count": null,
1673-
"id": "163",
1674-
"metadata": {},
1675-
"outputs": [],
1676-
"source": [
1677-
"project.display.structure(struct_name='lbco')"
1678-
]
1679-
},
16801670
{
16811671
"cell_type": "markdown",
1682-
"id": "164",
1672+
"id": "163",
16831673
"metadata": {},
16841674
"source": [
16851675
"#### Display Structure"
@@ -1688,7 +1678,7 @@
16881678
{
16891679
"cell_type": "code",
16901680
"execution_count": null,
1691-
"id": "165",
1681+
"id": "164",
16921682
"metadata": {},
16931683
"outputs": [],
16941684
"source": [
@@ -1697,7 +1687,7 @@
16971687
},
16981688
{
16991689
"cell_type": "markdown",
1700-
"id": "166",
1690+
"id": "165",
17011691
"metadata": {},
17021692
"source": [
17031693
"## 📊 Report\n",
@@ -1717,7 +1707,7 @@
17171707
{
17181708
"cell_type": "code",
17191709
"execution_count": null,
1720-
"id": "167",
1710+
"id": "166",
17211711
"metadata": {},
17221712
"outputs": [],
17231713
"source": [

docs/docs/tutorials/ed-3.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,9 +669,6 @@
669669
# %%
670670
project.display.pattern(expt_name='hrpt', x_min=38, x_max=41)
671671

672-
# %%
673-
project.display.structure(struct_name='lbco')
674-
675672
# %% [markdown]
676673
# #### Display Structure
677674

0 commit comments

Comments
 (0)