surface-construct 0.12__tar.gz → 0.12.1__tar.gz
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.
- {surface_construct-0.12/surface_construct.egg-info → surface_construct-0.12.1}/PKG-INFO +15 -24
- {surface_construct-0.12 → surface_construct-0.12.1}/README.md +14 -23
- {surface_construct-0.12 → surface_construct-0.12.1}/setup.py +1 -1
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/surface_grid.py +4 -3
- {surface_construct-0.12 → surface_construct-0.12.1/surface_construct.egg-info}/PKG-INFO +15 -24
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_surface_grid.py +9 -1
- {surface_construct-0.12 → surface_construct-0.12.1}/LICENSE +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/setup.cfg +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/__init__.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/db.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/default_parameter.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/sg_sampler.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/__init__.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/adsorbate.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/combiner.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/pymsym_test.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/surface.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/tasks/__init__.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/tasks/afm.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/tasks/sitesampling.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/tasks/taskbase.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/tasks/terminations.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/__init__.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/atoms.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/geometry.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/pymsym_wrapper.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/spglib_wrapper.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/weight_functions.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/SOURCES.txt +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/dependency_links.txt +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/requires.txt +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/top_level.txt +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_adsorbate.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_combiner.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_sampling1.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_sampling2.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_simple_surface.py +0 -0
- {surface_construct-0.12 → surface_construct-0.12.1}/tests/test_task.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: surface_construct
|
|
3
|
-
Version: 0.12
|
|
3
|
+
Version: 0.12.1
|
|
4
4
|
Summary: Surface construction and surface reaction sampling tools.
|
|
5
5
|
Home-page: https://gitee.com/pjren/surface_construct/
|
|
6
6
|
Author: ren
|
|
@@ -32,7 +32,9 @@ Dynamic: summary
|
|
|
32
32
|
|
|
33
33
|
催化剂构效关系是建立表面位点结构和反应过程势能面的关联关系,这依赖对表面上各种可能位点的充分分析和采样,找到这些位点对关键反应步骤的影响情况。从催化剂的角度看,研究的目标是从表面上存在的位点中找到表面最适合反应的位点,即使反应势能面最低的位点;从反应的角度看,研究目标是对于一系列反应通道,找到反应势能面上的卡点,找到能够突破卡点的催化环境。
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
本软件同时进行表面位点的构建、采样、计算、分析,和反应过程的分析采样,即过渡态和分子构象,由此可以实现分子在表面反应的全过程采样。不仅包括平板模型的表面,还包括分子筛孔道內、团簇表面等。
|
|
36
|
+
|
|
37
|
+
表面反应过程采样的技术关键是采样的效率,我们针对性地使用综合使用了多样化的采样策略,保证表面各类型位点和关键位点的充分采样。
|
|
36
38
|
|
|
37
39
|
### 应用场景
|
|
38
40
|
* 催化剂表面最可能反应位点采样
|
|
@@ -41,15 +43,17 @@ Dynamic: summary
|
|
|
41
43
|
* 优化 C、R、Z (z方向,距离表面的距离)空间,固定COM
|
|
42
44
|
* 返回所采结构中最低能量和对应的结构和能量
|
|
43
45
|
|
|
44
|
-
*
|
|
46
|
+
* 催化剂表面全势能面采样(位点、分子构象、旋转)
|
|
45
47
|
* 适用于催化剂位点全局考察
|
|
46
48
|
* 适用于表面分子全局的构象和姿态
|
|
47
49
|
* 适用于反应全过程采样
|
|
48
50
|
* 不优化,或者仅优化Z空间
|
|
49
51
|
* 返回全部能量和结构,以及全局的fitting结果
|
|
50
52
|
* 使用能量截断(dEmax<2eV)
|
|
53
|
+
* 原子力显微镜(AFM)谱图模拟
|
|
54
|
+
* 分子筛孔道內分子构象采样
|
|
55
|
+
|
|
51
56
|
|
|
52
|
-
<img src="docs/birds_view.png" alt="表面位点全局分析" style="zoom:50%;" />
|
|
53
57
|
|
|
54
58
|
## 程序流程图 Program Workflow
|
|
55
59
|
|
|
@@ -96,24 +100,6 @@ Dynamic: summary
|
|
|
96
100
|
* MDMin
|
|
97
101
|
* FIRE
|
|
98
102
|
|
|
99
|
-
各种优化算法的对比,参考[链接](https://wiki.fysik.dtu.dk/gpaw/devel/ase_optimize/ase_optimize.html)
|
|
100
|
-
|
|
101
|
-
**使用方法**
|
|
102
|
-
|
|
103
|
-
修改 `surface_reaction_sample.py` 其中的一行
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
from ase.optimize import BFGS
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
改为
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
from ase.optimize import XXX as BFGS
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
注意:目前这只是权宜之计,后面会把相应的设置加入到 `parameter.py`
|
|
116
|
-
|
|
117
103
|
### Gaussian Process Regression 方法
|
|
118
104
|
|
|
119
105
|
高斯过程回归 GPR 的优点:
|
|
@@ -166,6 +152,8 @@ $$
|
|
|
166
152
|
* v 0.9.2: debug 支持三斜晶系的表面格点化
|
|
167
153
|
* v 0.9.3: debug GridGenerator
|
|
168
154
|
* v 0.10: 表面终结生成完整并入
|
|
155
|
+
* v0.11:分子构象和旋转采样
|
|
156
|
+
* v0.12:AFM 模拟
|
|
169
157
|
|
|
170
158
|
**TODO**
|
|
171
159
|
|
|
@@ -174,13 +162,16 @@ $$
|
|
|
174
162
|
* Low-Energy Region Explorer 方法借鉴[^LoreX]: 划分能量区域, 进行 Delaunay 划分,合并较小的区域为较大的区域。然后针对低能的区域进行额外采样。也可以适用不同的方法,低精度进行低能高能区域识别,然后高精度方法加强。
|
|
175
163
|
* 表面格点使用对称性进行降维。在最初期就引入对称性。参考 adsorbate rotation 思路
|
|
176
164
|
* 表面位点数据库
|
|
177
|
-
*
|
|
165
|
+
* 覆盖度问题
|
|
166
|
+
* 表面上每增加一个吸附分子,就更新一次格点(可以仅仅更新 vip points,或者dock points)
|
|
167
|
+
* 表面上新增 dock points 属性,根据吸附能、位点类型或者用户进行定义。默认是所有的位点,根据能量分析或者用户更新
|
|
168
|
+
* sg 增加 del_grid(indices), 删除对应的 points, vectors,Dga 等等
|
|
178
169
|
* 完善用户界面、例子、教程
|
|
179
170
|
|
|
180
171
|
|
|
181
172
|
## Reference
|
|
182
173
|
|
|
183
|
-
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
174
|
+
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
184
175
|
[^BASC]: Shane Carr, Roman Garnett, Cynthia LoBASC: Applying Bayesian Optimization to the Search for Global Minima on Potential Energy Surfaces.
|
|
185
176
|
|
|
186
177
|
[^向量空间转化]: 计算实空间和向量空间的相邻格点距离的映射系数,根据此系数将实空间的距离转化为向量空间距离。
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
催化剂构效关系是建立表面位点结构和反应过程势能面的关联关系,这依赖对表面上各种可能位点的充分分析和采样,找到这些位点对关键反应步骤的影响情况。从催化剂的角度看,研究的目标是从表面上存在的位点中找到表面最适合反应的位点,即使反应势能面最低的位点;从反应的角度看,研究目标是对于一系列反应通道,找到反应势能面上的卡点,找到能够突破卡点的催化环境。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
本软件同时进行表面位点的构建、采样、计算、分析,和反应过程的分析采样,即过渡态和分子构象,由此可以实现分子在表面反应的全过程采样。不仅包括平板模型的表面,还包括分子筛孔道內、团簇表面等。
|
|
6
|
+
|
|
7
|
+
表面反应过程采样的技术关键是采样的效率,我们针对性地使用综合使用了多样化的采样策略,保证表面各类型位点和关键位点的充分采样。
|
|
6
8
|
|
|
7
9
|
### 应用场景
|
|
8
10
|
* 催化剂表面最可能反应位点采样
|
|
@@ -11,15 +13,17 @@
|
|
|
11
13
|
* 优化 C、R、Z (z方向,距离表面的距离)空间,固定COM
|
|
12
14
|
* 返回所采结构中最低能量和对应的结构和能量
|
|
13
15
|
|
|
14
|
-
*
|
|
16
|
+
* 催化剂表面全势能面采样(位点、分子构象、旋转)
|
|
15
17
|
* 适用于催化剂位点全局考察
|
|
16
18
|
* 适用于表面分子全局的构象和姿态
|
|
17
19
|
* 适用于反应全过程采样
|
|
18
20
|
* 不优化,或者仅优化Z空间
|
|
19
21
|
* 返回全部能量和结构,以及全局的fitting结果
|
|
20
22
|
* 使用能量截断(dEmax<2eV)
|
|
23
|
+
* 原子力显微镜(AFM)谱图模拟
|
|
24
|
+
* 分子筛孔道內分子构象采样
|
|
25
|
+
|
|
21
26
|
|
|
22
|
-
<img src="docs/birds_view.png" alt="表面位点全局分析" style="zoom:50%;" />
|
|
23
27
|
|
|
24
28
|
## 程序流程图 Program Workflow
|
|
25
29
|
|
|
@@ -66,24 +70,6 @@
|
|
|
66
70
|
* MDMin
|
|
67
71
|
* FIRE
|
|
68
72
|
|
|
69
|
-
各种优化算法的对比,参考[链接](https://wiki.fysik.dtu.dk/gpaw/devel/ase_optimize/ase_optimize.html)
|
|
70
|
-
|
|
71
|
-
**使用方法**
|
|
72
|
-
|
|
73
|
-
修改 `surface_reaction_sample.py` 其中的一行
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
from ase.optimize import BFGS
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
改为
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
from ase.optimize import XXX as BFGS
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
注意:目前这只是权宜之计,后面会把相应的设置加入到 `parameter.py`
|
|
86
|
-
|
|
87
73
|
### Gaussian Process Regression 方法
|
|
88
74
|
|
|
89
75
|
高斯过程回归 GPR 的优点:
|
|
@@ -136,6 +122,8 @@ $$
|
|
|
136
122
|
* v 0.9.2: debug 支持三斜晶系的表面格点化
|
|
137
123
|
* v 0.9.3: debug GridGenerator
|
|
138
124
|
* v 0.10: 表面终结生成完整并入
|
|
125
|
+
* v0.11:分子构象和旋转采样
|
|
126
|
+
* v0.12:AFM 模拟
|
|
139
127
|
|
|
140
128
|
**TODO**
|
|
141
129
|
|
|
@@ -144,13 +132,16 @@ $$
|
|
|
144
132
|
* Low-Energy Region Explorer 方法借鉴[^LoreX]: 划分能量区域, 进行 Delaunay 划分,合并较小的区域为较大的区域。然后针对低能的区域进行额外采样。也可以适用不同的方法,低精度进行低能高能区域识别,然后高精度方法加强。
|
|
145
133
|
* 表面格点使用对称性进行降维。在最初期就引入对称性。参考 adsorbate rotation 思路
|
|
146
134
|
* 表面位点数据库
|
|
147
|
-
*
|
|
135
|
+
* 覆盖度问题
|
|
136
|
+
* 表面上每增加一个吸附分子,就更新一次格点(可以仅仅更新 vip points,或者dock points)
|
|
137
|
+
* 表面上新增 dock points 属性,根据吸附能、位点类型或者用户进行定义。默认是所有的位点,根据能量分析或者用户更新
|
|
138
|
+
* sg 增加 del_grid(indices), 删除对应的 points, vectors,Dga 等等
|
|
148
139
|
* 完善用户界面、例子、教程
|
|
149
140
|
|
|
150
141
|
|
|
151
142
|
## Reference
|
|
152
143
|
|
|
153
|
-
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
144
|
+
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
154
145
|
[^BASC]: Shane Carr, Roman Garnett, Cynthia LoBASC: Applying Bayesian Optimization to the Search for Global Minima on Potential Energy Surfaces.
|
|
155
146
|
|
|
156
147
|
[^向量空间转化]: 计算实空间和向量空间的相邻格点距离的映射系数,根据此系数将实空间的距离转化为向量空间距离。
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/surface_grid.py
RENAMED
|
@@ -98,11 +98,12 @@ class MLATVectorGen:
|
|
|
98
98
|
index_array = grid_dist.argsort(axis=-1)
|
|
99
99
|
grid_dist = np.take_along_axis(grid_dist, index_array, axis=-1)
|
|
100
100
|
# 设定距离向量长度
|
|
101
|
-
vlen = self.vlen
|
|
102
101
|
r0 = self.kwargs.get('r0_dict')[atomnum] # r0_dict 是一个字典,放着 r0 值
|
|
103
|
-
v = grid_dist[:, :vlen]
|
|
104
102
|
kwargs.update({'r0': r0})
|
|
105
|
-
|
|
103
|
+
vlen = min(self.vlen,grid_dist.shape[-1])
|
|
104
|
+
rt = grid_dist[:, :vlen]
|
|
105
|
+
v_w = np.zeros((grid_dist.shape[0],self.vlen))
|
|
106
|
+
v_w[:,:vlen] = self.weight_func(rt, **kwargs)
|
|
106
107
|
vector.append(v_w)
|
|
107
108
|
vector = np.concatenate(vector, axis=1)
|
|
108
109
|
return vector
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: surface_construct
|
|
3
|
-
Version: 0.12
|
|
3
|
+
Version: 0.12.1
|
|
4
4
|
Summary: Surface construction and surface reaction sampling tools.
|
|
5
5
|
Home-page: https://gitee.com/pjren/surface_construct/
|
|
6
6
|
Author: ren
|
|
@@ -32,7 +32,9 @@ Dynamic: summary
|
|
|
32
32
|
|
|
33
33
|
催化剂构效关系是建立表面位点结构和反应过程势能面的关联关系,这依赖对表面上各种可能位点的充分分析和采样,找到这些位点对关键反应步骤的影响情况。从催化剂的角度看,研究的目标是从表面上存在的位点中找到表面最适合反应的位点,即使反应势能面最低的位点;从反应的角度看,研究目标是对于一系列反应通道,找到反应势能面上的卡点,找到能够突破卡点的催化环境。
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
本软件同时进行表面位点的构建、采样、计算、分析,和反应过程的分析采样,即过渡态和分子构象,由此可以实现分子在表面反应的全过程采样。不仅包括平板模型的表面,还包括分子筛孔道內、团簇表面等。
|
|
36
|
+
|
|
37
|
+
表面反应过程采样的技术关键是采样的效率,我们针对性地使用综合使用了多样化的采样策略,保证表面各类型位点和关键位点的充分采样。
|
|
36
38
|
|
|
37
39
|
### 应用场景
|
|
38
40
|
* 催化剂表面最可能反应位点采样
|
|
@@ -41,15 +43,17 @@ Dynamic: summary
|
|
|
41
43
|
* 优化 C、R、Z (z方向,距离表面的距离)空间,固定COM
|
|
42
44
|
* 返回所采结构中最低能量和对应的结构和能量
|
|
43
45
|
|
|
44
|
-
*
|
|
46
|
+
* 催化剂表面全势能面采样(位点、分子构象、旋转)
|
|
45
47
|
* 适用于催化剂位点全局考察
|
|
46
48
|
* 适用于表面分子全局的构象和姿态
|
|
47
49
|
* 适用于反应全过程采样
|
|
48
50
|
* 不优化,或者仅优化Z空间
|
|
49
51
|
* 返回全部能量和结构,以及全局的fitting结果
|
|
50
52
|
* 使用能量截断(dEmax<2eV)
|
|
53
|
+
* 原子力显微镜(AFM)谱图模拟
|
|
54
|
+
* 分子筛孔道內分子构象采样
|
|
55
|
+
|
|
51
56
|
|
|
52
|
-
<img src="docs/birds_view.png" alt="表面位点全局分析" style="zoom:50%;" />
|
|
53
57
|
|
|
54
58
|
## 程序流程图 Program Workflow
|
|
55
59
|
|
|
@@ -96,24 +100,6 @@ Dynamic: summary
|
|
|
96
100
|
* MDMin
|
|
97
101
|
* FIRE
|
|
98
102
|
|
|
99
|
-
各种优化算法的对比,参考[链接](https://wiki.fysik.dtu.dk/gpaw/devel/ase_optimize/ase_optimize.html)
|
|
100
|
-
|
|
101
|
-
**使用方法**
|
|
102
|
-
|
|
103
|
-
修改 `surface_reaction_sample.py` 其中的一行
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
from ase.optimize import BFGS
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
改为
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
from ase.optimize import XXX as BFGS
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
注意:目前这只是权宜之计,后面会把相应的设置加入到 `parameter.py`
|
|
116
|
-
|
|
117
103
|
### Gaussian Process Regression 方法
|
|
118
104
|
|
|
119
105
|
高斯过程回归 GPR 的优点:
|
|
@@ -166,6 +152,8 @@ $$
|
|
|
166
152
|
* v 0.9.2: debug 支持三斜晶系的表面格点化
|
|
167
153
|
* v 0.9.3: debug GridGenerator
|
|
168
154
|
* v 0.10: 表面终结生成完整并入
|
|
155
|
+
* v0.11:分子构象和旋转采样
|
|
156
|
+
* v0.12:AFM 模拟
|
|
169
157
|
|
|
170
158
|
**TODO**
|
|
171
159
|
|
|
@@ -174,13 +162,16 @@ $$
|
|
|
174
162
|
* Low-Energy Region Explorer 方法借鉴[^LoreX]: 划分能量区域, 进行 Delaunay 划分,合并较小的区域为较大的区域。然后针对低能的区域进行额外采样。也可以适用不同的方法,低精度进行低能高能区域识别,然后高精度方法加强。
|
|
175
163
|
* 表面格点使用对称性进行降维。在最初期就引入对称性。参考 adsorbate rotation 思路
|
|
176
164
|
* 表面位点数据库
|
|
177
|
-
*
|
|
165
|
+
* 覆盖度问题
|
|
166
|
+
* 表面上每增加一个吸附分子,就更新一次格点(可以仅仅更新 vip points,或者dock points)
|
|
167
|
+
* 表面上新增 dock points 属性,根据吸附能、位点类型或者用户进行定义。默认是所有的位点,根据能量分析或者用户更新
|
|
168
|
+
* sg 增加 del_grid(indices), 删除对应的 points, vectors,Dga 等等
|
|
178
169
|
* 完善用户界面、例子、教程
|
|
179
170
|
|
|
180
171
|
|
|
181
172
|
## Reference
|
|
182
173
|
|
|
183
|
-
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
174
|
+
[^Duvenaud]: [The Kernel Cookbook: Advice on Covariance functions](https://www.cs.toronto.edu/~duvenaud/)
|
|
184
175
|
[^BASC]: Shane Carr, Roman Garnett, Cynthia LoBASC: Applying Bayesian Optimization to the Search for Global Minima on Potential Energy Surfaces.
|
|
185
176
|
|
|
186
177
|
[^向量空间转化]: 计算实空间和向量空间的相邻格点距离的映射系数,根据此系数将实空间的距离转化为向量空间距离。
|
|
@@ -118,4 +118,12 @@ class TestSurfaceGrid:
|
|
|
118
118
|
atoms = ase.io.read('atoms_files/Fe28C12_115_12_POSCAR')
|
|
119
119
|
sg_obj = SurfaceGrid(atoms, interval=0.1, ads_num=6, lpca=False)
|
|
120
120
|
sg_obj.gridize(subtype='slab')
|
|
121
|
-
print(sg_obj.points.shape)
|
|
121
|
+
print(sg_obj.points.shape)
|
|
122
|
+
|
|
123
|
+
def test_ads_C4H4O(self):
|
|
124
|
+
atoms = ase.io.read('atoms_files/C4H4O_Cu.vasp')
|
|
125
|
+
sg_obj = SurfaceGrid(atoms, interval=0.2, ads_num=6, lpca=False)
|
|
126
|
+
sg_obj.gridize(subtype='slab')
|
|
127
|
+
sg_obj.vectorize()
|
|
128
|
+
assert sg_obj.vector.shape==(6582, 40)
|
|
129
|
+
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/__init__.py
RENAMED
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/adsorbate.py
RENAMED
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/combiner.py
RENAMED
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/structures/pymsym_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/pymsym_wrapper.py
RENAMED
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/spglib_wrapper.py
RENAMED
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct/utils/weight_functions.py
RENAMED
|
File without changes
|
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{surface_construct-0.12 → surface_construct-0.12.1}/surface_construct.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|