From 53b07ce0a38c84c01e6ebd7e8b38be5b20ec15b6 Mon Sep 17 00:00:00 2001 From: Shyue Ping Ong Date: Sat, 4 Nov 2023 13:22:55 -0700 Subject: [PATCH] iRemove tutorials first. --- docs/tutorials/Calculating MLIP properties.md | 530 ------------------ 1 file changed, 530 deletions(-) delete mode 100644 docs/tutorials/Calculating MLIP properties.md diff --git a/docs/tutorials/Calculating MLIP properties.md b/docs/tutorials/Calculating MLIP properties.md deleted file mode 100644 index c09fe1d..0000000 --- a/docs/tutorials/Calculating MLIP properties.md +++ /dev/null @@ -1,530 +0,0 @@ ---- -layout: default -title: Calculating MLIP properties.md -nav_exclude: true ---- - -```python -from matcalc.relaxation import RelaxCalc -from matcalc.phonon import PhononCalc -from matcalc.eos import EOSCalc -from matcalc.elasticity import ElasticityCalc -from matcalc.util import get_universal_calculator -from datetime import datetime -from tqdm import tqdm - -from pymatgen.ext.matproj import MPRester -``` - - -```python -mpr = MPRester() -``` - - /Users/shyue/miniconda3/envs/mavrl/lib/python3.9/site-packages/mp_api/client/mprester.py:182: UserWarning: mpcontribs-client not installed. Install the package to query MPContribs data, or construct pourbaix diagrams: 'pip install mpcontribs-client' - warnings.warn( - - - -```python -mp_data = mpr.materials._search(nelements=2, fields=["material_id", "structure"]) -``` - - - Retrieving MaterialsDoc documents: 0%| | 0/20627 [00:00 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
midcompositionnsitestime_relax_M3GNettime_elastic_M3GNettime_eos_M3GNettime_phonon_M3GNetM3GNettime_relax_CHGNettime_elastic_CHGNettime_eos_CHGNettime_phonon_CHGNetCHGNettime_total_M3GNettime_total_CHGNet
0mp-1106268Pr14 Pd6205.0388330.3415462.87767018.464435{'relax': {'final_structure': [[-5.19403841 2...1.8809300.1754650.93600014.569963{'relax': {'final_structure': [[-5.17384363 2...26.72248417.562358
1mp-974315Ru2 I240.7735360.1792191.0705392.316252{'relax': {'final_structure': [[ 1.84542095 -1...1.1601280.0898490.4372772.086802{'relax': {'final_structure': [[ 1.65819622 -0...4.3395463.774056
2mp-1206714Al2 Sn130.1676870.1157950.2240740.234789{'relax': {'final_structure': [[1.59915279 1.5...0.0794180.0374100.0901260.148499{'relax': {'final_structure': [[1.7730046 1.7...0.7423450.355453
3mp-30339Er1 Ag230.1035800.1861560.5958750.667356{'relax': {'final_structure': [[ 8.89873414e-0...0.0991270.0447740.6265110.447964{'relax': {'final_structure': [[6.55745455e-08...1.5529671.218376
4mp-696Si4 Pt480.8848840.3210634.6997287.904360{'relax': {'final_structure': [[0.89916847 3.8...3.0560380.2554164.0779603.434237{'relax': {'final_structure': [[1.0806827 3.8...13.81003510.823651
5mp-866222Ac2 Si683.1001280.2539950.8239626.351784{'relax': {'final_structure': [[-5.41563953e-0...0.2668550.1484240.5975665.063765{'relax': {'final_structure': [[-7.10695448e-0...10.5298696.076610
6mp-11422Gd1 Hg120.0780040.1163290.1684640.172210{'relax': {'final_structure': [[0. 0. 0.] Gd, ...0.0383910.0335960.0554060.109223{'relax': {'final_structure': [[ 1.26072246e-0...0.5350070.236616
7mp-21238Th4 Si480.7559270.2032861.4787112.996610{'relax': {'final_structure': [[1.08960316 0.7...0.2014970.1034881.1545571.503147{'relax': {'final_structure': [[1.0389477 0.7...5.4345342.962689
8mp-1215363Zr4 Pd150.2727510.2060091.2016482.377837{'relax': {'final_structure': [[1.68717563e-07...0.2106000.1248400.4599931.993330{'relax': {'final_structure': [[1.04751628e-06...4.0582452.788763
9mp-1212658Ga1 C670.6287000.2374541.2951003.996263{'relax': {'final_structure': [[-1.88279105e-0...1.8732890.1998981.0644034.189688{'relax': {'final_structure': [[-6.66235219e-0...6.1575177.327278
10mp-1101922Eu4 Fe8121.7285440.4205621.8291216.689619{'relax': {'final_structure': [[-2.87170119e-0...1.9397940.2142201.4401526.306060{'relax': {'final_structure': [[4.98291305e-04...10.6678469.900226
11mp-1183610Ca2 Sm680.5027530.2395880.7049320.858113{'relax': {'final_structure': [[3.63931889 2.1...0.1284530.0582290.1354670.982124{'relax': {'final_structure': [[3.78035221 2.1...2.3053861.304273
12mp-1187980Yb6 Pb280.4346600.1669100.6857160.849555{'relax': {'final_structure': [[2.0021903 1.1...0.1579950.0445240.1221181.047720{'relax': {'final_structure': [[1.91249449 1.1...2.1368411.372357
13mp-1187953Yb3 Pb140.1875640.1201730.2180630.192944{'relax': {'final_structure': [[2.84492250e-09...0.0481100.0464920.0731630.093079{'relax': {'final_structure': [[1.78586414e-09...0.7187440.260844
14mp-1185577Cs2 Hg680.2078660.1902340.4352081.504534{'relax': {'final_structure': [[1.97069239e-05...0.1558790.0588243.7723191.030184{'relax': {'final_structure': [[2.13005453e-05...2.3378425.017206
15mp-570436Ca2 Ir460.2300310.2622200.3850670.766176{'relax': {'final_structure': [[2.33205448 1.6...0.1603860.1388790.2856401.973823{'relax': {'final_structure': [[2.32066406 1.6...1.6434942.558728
16mp-1184183Cu1 Ge340.3395470.1771240.3201890.642880{'relax': {'final_structure': [[-9.97837602e-0...0.2525910.2510990.3151711.908043{'relax': {'final_structure': [[ 1.15179087e-0...1.4797402.726904
17mp-1025440Cu2 Ge680.3128630.2433990.8315791.779199{'relax': {'final_structure': [[2.17845727 1.2...0.9023310.1410781.1173334.821146{'relax': {'final_structure': [[2.06660372 1.1...3.1670406.981888
18mp-1184147Cu2 Ge681.4660850.2790861.3486337.323365{'relax': {'final_structure': [[ 3.87471272 -2...0.4408010.1832261.1442643.075049{'relax': {'final_structure': [[ 3.65967384 -2...10.4171694.843340
19mp-1187368Tb2 Mn685.8263070.3170861.6020823.894644{'relax': {'final_structure': [[3.13273031 1.8...0.6260250.1911461.2592794.358320{'relax': {'final_structure': [[3.08463436 1.7...11.6401196.434770
- - - - - -```python -ax = df.plot(x="nsites", y="time_relax_M3GNet", kind="scatter") -``` - - - -![png](assets/Calculating%20MLIP%20properties_8_0.png) - - - - -```python -ax = df["time_total_M3GNet"].hist() -ax = df["time_total_CHGNet"].hist() -``` - - - -![png](assets/Calculating%20MLIP%20properties_9_0.png)