SMACT 2.5.4__tar.gz → 2.6__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.
- {SMACT-2.5.4/SMACT.egg-info → smact-2.6}/PKG-INFO +35 -45
- {SMACT-2.5.4 → smact-2.6}/README.md +30 -41
- {SMACT-2.5.4 → smact-2.6/SMACT.egg-info}/PKG-INFO +35 -45
- {SMACT-2.5.4 → smact-2.6}/SMACT.egg-info/SOURCES.txt +1 -0
- smact-2.6/SMACT.egg-info/requires.txt +8 -0
- {SMACT-2.5.4 → smact-2.6}/setup.py +8 -6
- smact-2.6/smact/data/species_rep/skipspecies_20221028_319ion_dim200_cosine_similarity.json +1 -0
- smact-2.6/smact/dopant_prediction/doper.py +436 -0
- {SMACT-2.5.4 → smact-2.6}/smact/oxidation_states.py +9 -2
- {SMACT-2.5.4 → smact-2.6}/smact/properties.py +4 -4
- {SMACT-2.5.4 → smact-2.6}/smact/screening.py +118 -15
- {SMACT-2.5.4 → smact-2.6}/smact/tests/test_core.py +39 -1
- smact-2.6/smact/tests/test_doper.py +82 -0
- SMACT-2.5.4/SMACT.egg-info/requires.txt +0 -7
- SMACT-2.5.4/smact/dopant_prediction/doper.py +0 -212
- SMACT-2.5.4/smact/tests/test_doper.py +0 -50
- {SMACT-2.5.4 → smact-2.6}/LICENSE +0 -0
- {SMACT-2.5.4 → smact-2.6}/MANIFEST.in +0 -0
- {SMACT-2.5.4 → smact-2.6}/SMACT.egg-info/dependency_links.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/SMACT.egg-info/not-zip-safe +0 -0
- {SMACT-2.5.4 → smact-2.6}/SMACT.egg-info/top_level.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/pyproject.toml +0 -0
- {SMACT-2.5.4 → smact-2.6}/setup.cfg +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/__init__.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/builder.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/Covalent_radii.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/HHIs.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/SSE.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/SSE_2015.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/SSE_Pauling.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/element_data.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/ionic_radii.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/ordered_periodic.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_state_probability_table.json +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_states.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_states_SP.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_states_icsd.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_states_pmg.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidation_states_wiki.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/oxidationstates.data +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/shannon_radii.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/shannon_radii_ML_extended.csv +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/solid_properties.txt +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data/solid_properties.xlsx +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/data_loader.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/distorter.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/dopant_prediction/__init__.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/lattice.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/lattice_parameters.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/mainpage.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/__init__.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/database.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/mutation.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/prediction.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/probability_models.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/structure.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/structure_prediction/utilities.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/tests/__init__.py +0 -0
- {SMACT-2.5.4 → smact-2.6}/smact/tests/test_structure.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: SMACT
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6
|
|
4
4
|
Summary: Semiconducting Materials by Analogy and Chemical Theory
|
|
5
5
|
Home-page: https://github.com/WMD-group/SMACT
|
|
6
6
|
Author: Daniel W. Davies
|
|
@@ -9,26 +9,27 @@ Maintainer: Anthony O. Onwuli
|
|
|
9
9
|
Maintainer-email: anthony.onwuli16@imperial.ac.uk
|
|
10
10
|
License: MIT
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Development Status :: 5 - Production/Stable
|
|
17
17
|
Classifier: Intended Audience :: Science/Research
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: License :: OSI Approved :: MIT License
|
|
20
20
|
Classifier: Topic :: Scientific/Engineering
|
|
21
21
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
Requires-Dist: scipy
|
|
26
|
-
Requires-Dist: numpy
|
|
26
|
+
Requires-Dist: numpy<2
|
|
27
27
|
Requires-Dist: spglib
|
|
28
|
-
Requires-Dist: pymatgen
|
|
28
|
+
Requires-Dist: pymatgen>=2024.2.20
|
|
29
29
|
Requires-Dist: ase
|
|
30
30
|
Requires-Dist: pandas
|
|
31
31
|
Requires-Dist: pathos
|
|
32
|
+
Requires-Dist: typing-extensions
|
|
32
33
|
|
|
33
34
|
[](https://doi.org/10.21105/joss.01361)
|
|
34
35
|
[](https://doi.org/10.5281/zenodo.5553202)
|
|
@@ -47,10 +48,10 @@ Requires-Dist: pathos
|
|
|
47
48
|
SMACT
|
|
48
49
|
=====
|
|
49
50
|
|
|
50
|
-
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening tools that uses data about chemical elements.
|
|
51
|
+
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening and informatics tools that uses data about chemical elements.
|
|
51
52
|
|
|
52
53
|
- **Documentation:** https://smact.readthedocs.io/en/latest/
|
|
53
|
-
- **Examples
|
|
54
|
+
- **Examples:** https://github.com/WMD-group/SMACT/tree/master/examples
|
|
54
55
|
|
|
55
56
|

|
|
56
57
|
|
|
@@ -58,18 +59,13 @@ SMACT
|
|
|
58
59
|
|
|
59
60
|
Statement of need
|
|
60
61
|
--------
|
|
61
|
-
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application.
|
|
62
|
-
|
|
63
|
-
We have developed low-cost procedures for screening hypothetical materials in SMACT. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
64
|
-
|
|
62
|
+
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application. We have developed low-cost procedures for screening hypothetical materials. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
65
63
|
|
|
66
64
|

|
|
67
65
|
|
|
68
|
-
|
|
69
66
|
Getting started
|
|
70
67
|
-----
|
|
71
|
-
|
|
72
|
-
SMACT's features are accessed through Python scripts, importing classes and functions as needed.
|
|
68
|
+
Features are accessed through Python scripts, importing classes and functions as needed.
|
|
73
69
|
The best place to start is looking at [the docs](https://smact.readthedocs.io/en/latest/), which highlight some simple examples of how these classes and functions can be used.
|
|
74
70
|
Extended examples are available in [our examples folder](https://github.com/WMD-group/SMACT/tree/master/examples).
|
|
75
71
|
|
|
@@ -77,9 +73,9 @@ Code features
|
|
|
77
73
|
--------
|
|
78
74
|
- At the core of SMACT are [Element](https://smact.readthedocs.io/en/latest/smact.html#smact.Element) and [Species](https://smact.readthedocs.io/en/latest/smact.html#smact.Species) (element in a given oxidation state) classes that have various properties associated with them.
|
|
79
75
|
|
|
80
|
-
-
|
|
76
|
+
- Oxidation states that are accessible to each element are included in their properties.
|
|
81
77
|
|
|
82
|
-
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and
|
|
78
|
+
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and more examples can be found in the [counting examples subfolder](https://github.com/WMD-group/SMACT/tree/master/examples/Counting).
|
|
83
79
|
|
|
84
80
|
- Further filters can be applied to generated lists of compositions in order to screen for particular properties. These properties are either intrinsic properties of elements or are calculated for compositions using the [properties module](https://smact.readthedocs.io/en/latest/smact.properties.html). For example:
|
|
85
81
|
- A use case is shown in [this publication](https://pubs.rsc.org/en/content/articlehtml/2018/sc/c7sc03961a), in which 160,000 chemical compositions are screened based on optical band gap calculated using the [solid-state energy scale](https://www.sciencedirect.com/science/article/pii/S0022459615300888).
|
|
@@ -87,18 +83,17 @@ Code features
|
|
|
87
83
|
|
|
88
84
|
- Compositions can also be filtered based on sustainability via the abundance of elements in the Earth's crust or via the [HHI scale](https://pubs.acs.org/doi/10.1021/cm400893e).
|
|
89
85
|
|
|
90
|
-
- Compositions can
|
|
86
|
+
- Compositions can be converted for use in Pymatgen or for representation to machine learning algorithms ([see "next steps" in this example](https://github.com/WMD-group/SMACT/blob/master/examples/Counting/Generate_compositions_lists.ipynb)) and the related [ElementEmbeddings](https://github.com/WMD-group/ElementEmbeddings) package.
|
|
91
87
|
|
|
92
|
-
- The code also has
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
88
|
+
- The code also has tools for manipulating common crystal lattice types:
|
|
89
|
+
- Certain structure types can be built using the [builder module](https://smact.readthedocs.io/en/latest/smact.builder.html)
|
|
90
|
+
- Lattice parameters can be estimated using ionic radii of the elements for various common crystal structure types using the [lattice_parameters module](https://smact.readthedocs.io/en/latest/smact.lattice_parameters.html).
|
|
91
|
+
- The [lattice module](https://smact.readthedocs.io/en/latest/smact.lattice.html) and [distorter module](https://smact.readthedocs.io/en/latest/smact.distorter.html) rely on the [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase/) and can be used to generate unique atomic substitutions on a given crystal structure.
|
|
92
|
+
- The [structure prediction](https://smact.readthedocs.io/en/latest/smact.structure_prediction.html) module can be used to predict the structure of hypothetical compositions using species similarity measures.
|
|
93
|
+
- The [dopant prediction](https://smact.readthedocs.io/en/latest/smact.dopant_prediction.html) module can be used to facilitate high-throughput predictions of p-type and n-type dopants of multicomponent solids.
|
|
98
94
|
|
|
99
95
|
List of modules
|
|
100
96
|
-------
|
|
101
|
-
|
|
102
97
|
* **smact** library containing:
|
|
103
98
|
* **\_\_init\_\_.py** Contains the core `Element` and `Species` classes.
|
|
104
99
|
* **data_loader.py** Handles the loading of external data used to initialise the core `smact.Element` and `smact.Species` classes.
|
|
@@ -106,7 +101,7 @@ List of modules
|
|
|
106
101
|
* **properties.py** A collection of tools for estimating useful properties based on composition.
|
|
107
102
|
* **lattice.py** Given the sites, multiplicities and possible oxidation states
|
|
108
103
|
at those sites, this reads from the database and generates all possible
|
|
109
|
-
|
|
104
|
+
stoichiometries.
|
|
110
105
|
* **builder.py** Builds some common lattice structures, given the chemical
|
|
111
106
|
composition.
|
|
112
107
|
* **lattice_parameters.py** Estimation of lattice parameters for various lattice types using covalent/ionic radii.
|
|
@@ -114,18 +109,17 @@ List of modules
|
|
|
114
109
|
substituting on inequivalent sites of a sub-lattice.
|
|
115
110
|
* **oxidation_states.py**: Used for predicting the likelihood of species coexisting in a compound based on a statistical model.
|
|
116
111
|
* **structure_prediction**: A submodule which contains a collection of tools for facilitating crystal structure predictions via ionic substitutions
|
|
117
|
-
* **dopant_prediction**: A submodule which contains a collections of tools for predicting
|
|
112
|
+
* **dopant_prediction**: A submodule which contains a collections of tools for predicting dopants.
|
|
118
113
|
|
|
119
114
|
Requirements
|
|
120
115
|
------------
|
|
121
|
-
|
|
122
|
-
The main language is Python 3 and has been tested using Python 3.8+.
|
|
116
|
+
The main language is Python 3 and has been tested using Python 3.9+.
|
|
123
117
|
Basic requirements are Numpy and Scipy.
|
|
124
|
-
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](
|
|
118
|
+
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](https://pymatgen.org) are also required for many components.
|
|
125
119
|
|
|
126
120
|
Installation
|
|
127
121
|
------------
|
|
128
|
-
The latest stable release
|
|
122
|
+
The latest stable release can be installed via pip which will automatically set up other Python packages as required:
|
|
129
123
|
|
|
130
124
|
pip install smact
|
|
131
125
|
|
|
@@ -137,12 +131,12 @@ conda install -c conda-forge smact
|
|
|
137
131
|
|
|
138
132
|
Alternatively, the very latest version can be installed using:
|
|
139
133
|
|
|
140
|
-
pip install git+
|
|
134
|
+
pip install git+https://github.com/WMD-group/SMACT.git
|
|
141
135
|
|
|
142
136
|
For developer installation SMACT can be installed from a copy of the source
|
|
143
137
|
repository (https://github.com/wmd-group/smact); this will be preferred if using experimental code branches.
|
|
144
138
|
|
|
145
|
-
To clone the project from
|
|
139
|
+
To clone the project from GitHub and make a local installation:
|
|
146
140
|
|
|
147
141
|
git clone https://github.com/wmd-group/smact.git
|
|
148
142
|
cd smact
|
|
@@ -164,10 +158,9 @@ Development notes
|
|
|
164
158
|
Please use the [Issue Tracker](https://github.com/WMD-group/smact/issues) to report bugs or request features in the first instance. While we hope that most questions can be answered by searching [the docs](https://smact.readthedocs.io/en/latest/), we welcome new questions on the issue tracker, especially if they helps us improve the docs! For other queries about any aspect of the code, please contact either Dan Davies (author) or Anthony Onwuli (maintainer) by e-mail: d.w.davies@imperial.ac.uk or anthony.onwuli16@imperial.ac.uk respectively.
|
|
165
159
|
|
|
166
160
|
### Code contributions
|
|
167
|
-
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are
|
|
161
|
+
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are welcome. Please use the ["Fork and Pull"](https://guides.github.com/activities/forking/) workflow to make contributions and stick as closely as possible to the following:
|
|
168
162
|
|
|
169
|
-
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html)
|
|
170
|
-
is also helpful, including a good model for docstrings.
|
|
163
|
+
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html) is also helpful, including a good model for docstrings.
|
|
171
164
|
- Please use comments liberally when adding nontrivial features, and take the chance to clean up other people's code while looking at it.
|
|
172
165
|
- Add tests wherever possible, and use the test suite to check if you broke anything.
|
|
173
166
|
|
|
@@ -176,24 +169,21 @@ Testing modules should be pass/fail and wrapped into **tests/test_core.py** or a
|
|
|
176
169
|
Run the tests using `python -m pytest -v`.
|
|
177
170
|
(The final `-v` is optional and adds more detail to the output.)
|
|
178
171
|
|
|
179
|
-
We also use integrated testing on
|
|
172
|
+
We also use integrated testing on GitHub via [GitHub Actions](hhttps://github.com/features/actions).
|
|
180
173
|
|
|
181
174
|
References
|
|
182
175
|
----------
|
|
183
176
|
|
|
184
|
-
[
|
|
185
|
-
"
|
|
177
|
+
[H. Park et al.,
|
|
178
|
+
"Mapping inorganic crystal chemical space" *Faraday Discuss.* (2024)](https://pubs.rsc.org/en/content/articlelanding/2024/fd/d4fd00063c)
|
|
186
179
|
|
|
187
|
-
[D. W. Davies et al
|
|
188
|
-
"
|
|
180
|
+
[D. W. Davies et al.,
|
|
181
|
+
"SMACT: Semiconducting Materials by Analogy and Chemical Theory" *JOSS* **4**, 1361 (2019)](https://joss.theoj.org/papers/7efd2f2ad60d25bdccee3fbd3fc11448)
|
|
189
182
|
|
|
190
|
-
[D. W. Davies et al
|
|
183
|
+
[D. W. Davies et al.,
|
|
191
184
|
"Materials discovery by chemical analogy: role of oxidation states in structure prediction" *Faraday Discuss.* **211**, 553 (2018)](https://pubs.rsc.org/en/Content/ArticleLanding/2018/FD/C8FD00032H)
|
|
192
185
|
|
|
193
|
-
[D. W. Davies et al
|
|
194
|
-
"Computer-aided design of metal chalcohalide semiconductors: from chemical composition to crystal structure" *Chem. Sci.* **9**, 1022 (2018)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
195
|
-
|
|
196
|
-
[D. W. Davies et al,
|
|
186
|
+
[D. W. Davies et al.,
|
|
197
187
|
"Computational screening of all stoichiometric inorganic materials" *Chem* **1**, 617 (2016)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
198
188
|
|
|
199
189
|
[B. R. Pamplin, "A systematic method of deriving new semiconducting
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
SMACT
|
|
16
16
|
=====
|
|
17
17
|
|
|
18
|
-
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening tools that uses data about chemical elements.
|
|
18
|
+
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening and informatics tools that uses data about chemical elements.
|
|
19
19
|
|
|
20
20
|
- **Documentation:** https://smact.readthedocs.io/en/latest/
|
|
21
|
-
- **Examples
|
|
21
|
+
- **Examples:** https://github.com/WMD-group/SMACT/tree/master/examples
|
|
22
22
|
|
|
23
23
|

|
|
24
24
|
|
|
@@ -26,18 +26,13 @@ SMACT
|
|
|
26
26
|
|
|
27
27
|
Statement of need
|
|
28
28
|
--------
|
|
29
|
-
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application.
|
|
30
|
-
|
|
31
|
-
We have developed low-cost procedures for screening hypothetical materials in SMACT. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
32
|
-
|
|
29
|
+
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application. We have developed low-cost procedures for screening hypothetical materials. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
33
30
|
|
|
34
31
|

|
|
35
32
|
|
|
36
|
-
|
|
37
33
|
Getting started
|
|
38
34
|
-----
|
|
39
|
-
|
|
40
|
-
SMACT's features are accessed through Python scripts, importing classes and functions as needed.
|
|
35
|
+
Features are accessed through Python scripts, importing classes and functions as needed.
|
|
41
36
|
The best place to start is looking at [the docs](https://smact.readthedocs.io/en/latest/), which highlight some simple examples of how these classes and functions can be used.
|
|
42
37
|
Extended examples are available in [our examples folder](https://github.com/WMD-group/SMACT/tree/master/examples).
|
|
43
38
|
|
|
@@ -45,9 +40,9 @@ Code features
|
|
|
45
40
|
--------
|
|
46
41
|
- At the core of SMACT are [Element](https://smact.readthedocs.io/en/latest/smact.html#smact.Element) and [Species](https://smact.readthedocs.io/en/latest/smact.html#smact.Species) (element in a given oxidation state) classes that have various properties associated with them.
|
|
47
42
|
|
|
48
|
-
-
|
|
43
|
+
- Oxidation states that are accessible to each element are included in their properties.
|
|
49
44
|
|
|
50
|
-
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and
|
|
45
|
+
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and more examples can be found in the [counting examples subfolder](https://github.com/WMD-group/SMACT/tree/master/examples/Counting).
|
|
51
46
|
|
|
52
47
|
- Further filters can be applied to generated lists of compositions in order to screen for particular properties. These properties are either intrinsic properties of elements or are calculated for compositions using the [properties module](https://smact.readthedocs.io/en/latest/smact.properties.html). For example:
|
|
53
48
|
- A use case is shown in [this publication](https://pubs.rsc.org/en/content/articlehtml/2018/sc/c7sc03961a), in which 160,000 chemical compositions are screened based on optical band gap calculated using the [solid-state energy scale](https://www.sciencedirect.com/science/article/pii/S0022459615300888).
|
|
@@ -55,18 +50,17 @@ Code features
|
|
|
55
50
|
|
|
56
51
|
- Compositions can also be filtered based on sustainability via the abundance of elements in the Earth's crust or via the [HHI scale](https://pubs.acs.org/doi/10.1021/cm400893e).
|
|
57
52
|
|
|
58
|
-
- Compositions can
|
|
53
|
+
- Compositions can be converted for use in Pymatgen or for representation to machine learning algorithms ([see "next steps" in this example](https://github.com/WMD-group/SMACT/blob/master/examples/Counting/Generate_compositions_lists.ipynb)) and the related [ElementEmbeddings](https://github.com/WMD-group/ElementEmbeddings) package.
|
|
59
54
|
|
|
60
|
-
- The code also has
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
55
|
+
- The code also has tools for manipulating common crystal lattice types:
|
|
56
|
+
- Certain structure types can be built using the [builder module](https://smact.readthedocs.io/en/latest/smact.builder.html)
|
|
57
|
+
- Lattice parameters can be estimated using ionic radii of the elements for various common crystal structure types using the [lattice_parameters module](https://smact.readthedocs.io/en/latest/smact.lattice_parameters.html).
|
|
58
|
+
- The [lattice module](https://smact.readthedocs.io/en/latest/smact.lattice.html) and [distorter module](https://smact.readthedocs.io/en/latest/smact.distorter.html) rely on the [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase/) and can be used to generate unique atomic substitutions on a given crystal structure.
|
|
59
|
+
- The [structure prediction](https://smact.readthedocs.io/en/latest/smact.structure_prediction.html) module can be used to predict the structure of hypothetical compositions using species similarity measures.
|
|
60
|
+
- The [dopant prediction](https://smact.readthedocs.io/en/latest/smact.dopant_prediction.html) module can be used to facilitate high-throughput predictions of p-type and n-type dopants of multicomponent solids.
|
|
66
61
|
|
|
67
62
|
List of modules
|
|
68
63
|
-------
|
|
69
|
-
|
|
70
64
|
* **smact** library containing:
|
|
71
65
|
* **\_\_init\_\_.py** Contains the core `Element` and `Species` classes.
|
|
72
66
|
* **data_loader.py** Handles the loading of external data used to initialise the core `smact.Element` and `smact.Species` classes.
|
|
@@ -74,7 +68,7 @@ List of modules
|
|
|
74
68
|
* **properties.py** A collection of tools for estimating useful properties based on composition.
|
|
75
69
|
* **lattice.py** Given the sites, multiplicities and possible oxidation states
|
|
76
70
|
at those sites, this reads from the database and generates all possible
|
|
77
|
-
|
|
71
|
+
stoichiometries.
|
|
78
72
|
* **builder.py** Builds some common lattice structures, given the chemical
|
|
79
73
|
composition.
|
|
80
74
|
* **lattice_parameters.py** Estimation of lattice parameters for various lattice types using covalent/ionic radii.
|
|
@@ -82,18 +76,17 @@ List of modules
|
|
|
82
76
|
substituting on inequivalent sites of a sub-lattice.
|
|
83
77
|
* **oxidation_states.py**: Used for predicting the likelihood of species coexisting in a compound based on a statistical model.
|
|
84
78
|
* **structure_prediction**: A submodule which contains a collection of tools for facilitating crystal structure predictions via ionic substitutions
|
|
85
|
-
* **dopant_prediction**: A submodule which contains a collections of tools for predicting
|
|
79
|
+
* **dopant_prediction**: A submodule which contains a collections of tools for predicting dopants.
|
|
86
80
|
|
|
87
81
|
Requirements
|
|
88
82
|
------------
|
|
89
|
-
|
|
90
|
-
The main language is Python 3 and has been tested using Python 3.8+.
|
|
83
|
+
The main language is Python 3 and has been tested using Python 3.9+.
|
|
91
84
|
Basic requirements are Numpy and Scipy.
|
|
92
|
-
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](
|
|
85
|
+
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](https://pymatgen.org) are also required for many components.
|
|
93
86
|
|
|
94
87
|
Installation
|
|
95
88
|
------------
|
|
96
|
-
The latest stable release
|
|
89
|
+
The latest stable release can be installed via pip which will automatically set up other Python packages as required:
|
|
97
90
|
|
|
98
91
|
pip install smact
|
|
99
92
|
|
|
@@ -105,12 +98,12 @@ conda install -c conda-forge smact
|
|
|
105
98
|
|
|
106
99
|
Alternatively, the very latest version can be installed using:
|
|
107
100
|
|
|
108
|
-
pip install git+
|
|
101
|
+
pip install git+https://github.com/WMD-group/SMACT.git
|
|
109
102
|
|
|
110
103
|
For developer installation SMACT can be installed from a copy of the source
|
|
111
104
|
repository (https://github.com/wmd-group/smact); this will be preferred if using experimental code branches.
|
|
112
105
|
|
|
113
|
-
To clone the project from
|
|
106
|
+
To clone the project from GitHub and make a local installation:
|
|
114
107
|
|
|
115
108
|
git clone https://github.com/wmd-group/smact.git
|
|
116
109
|
cd smact
|
|
@@ -132,10 +125,9 @@ Development notes
|
|
|
132
125
|
Please use the [Issue Tracker](https://github.com/WMD-group/smact/issues) to report bugs or request features in the first instance. While we hope that most questions can be answered by searching [the docs](https://smact.readthedocs.io/en/latest/), we welcome new questions on the issue tracker, especially if they helps us improve the docs! For other queries about any aspect of the code, please contact either Dan Davies (author) or Anthony Onwuli (maintainer) by e-mail: d.w.davies@imperial.ac.uk or anthony.onwuli16@imperial.ac.uk respectively.
|
|
133
126
|
|
|
134
127
|
### Code contributions
|
|
135
|
-
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are
|
|
128
|
+
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are welcome. Please use the ["Fork and Pull"](https://guides.github.com/activities/forking/) workflow to make contributions and stick as closely as possible to the following:
|
|
136
129
|
|
|
137
|
-
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html)
|
|
138
|
-
is also helpful, including a good model for docstrings.
|
|
130
|
+
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html) is also helpful, including a good model for docstrings.
|
|
139
131
|
- Please use comments liberally when adding nontrivial features, and take the chance to clean up other people's code while looking at it.
|
|
140
132
|
- Add tests wherever possible, and use the test suite to check if you broke anything.
|
|
141
133
|
|
|
@@ -144,26 +136,23 @@ Testing modules should be pass/fail and wrapped into **tests/test_core.py** or a
|
|
|
144
136
|
Run the tests using `python -m pytest -v`.
|
|
145
137
|
(The final `-v` is optional and adds more detail to the output.)
|
|
146
138
|
|
|
147
|
-
We also use integrated testing on
|
|
139
|
+
We also use integrated testing on GitHub via [GitHub Actions](hhttps://github.com/features/actions).
|
|
148
140
|
|
|
149
141
|
References
|
|
150
142
|
----------
|
|
151
143
|
|
|
152
|
-
[
|
|
153
|
-
"
|
|
144
|
+
[H. Park et al.,
|
|
145
|
+
"Mapping inorganic crystal chemical space" *Faraday Discuss.* (2024)](https://pubs.rsc.org/en/content/articlelanding/2024/fd/d4fd00063c)
|
|
154
146
|
|
|
155
|
-
[D. W. Davies et al
|
|
156
|
-
"
|
|
147
|
+
[D. W. Davies et al.,
|
|
148
|
+
"SMACT: Semiconducting Materials by Analogy and Chemical Theory" *JOSS* **4**, 1361 (2019)](https://joss.theoj.org/papers/7efd2f2ad60d25bdccee3fbd3fc11448)
|
|
157
149
|
|
|
158
|
-
[D. W. Davies et al
|
|
150
|
+
[D. W. Davies et al.,
|
|
159
151
|
"Materials discovery by chemical analogy: role of oxidation states in structure prediction" *Faraday Discuss.* **211**, 553 (2018)](https://pubs.rsc.org/en/Content/ArticleLanding/2018/FD/C8FD00032H)
|
|
160
152
|
|
|
161
|
-
[D. W. Davies et al
|
|
162
|
-
"Computer-aided design of metal chalcohalide semiconductors: from chemical composition to crystal structure" *Chem. Sci.* **9**, 1022 (2018)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
163
|
-
|
|
164
|
-
[D. W. Davies et al,
|
|
153
|
+
[D. W. Davies et al.,
|
|
165
154
|
"Computational screening of all stoichiometric inorganic materials" *Chem* **1**, 617 (2016)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
166
155
|
|
|
167
156
|
[B. R. Pamplin, "A systematic method of deriving new semiconducting
|
|
168
157
|
compounds by structural analogy", *J. Phys. Chem. Solids*
|
|
169
|
-
**25**, 675 (1964)](http://www.sciencedirect.com/science/article/pii/0022369764901763)
|
|
158
|
+
**25**, 675 (1964)](http://www.sciencedirect.com/science/article/pii/0022369764901763)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: SMACT
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6
|
|
4
4
|
Summary: Semiconducting Materials by Analogy and Chemical Theory
|
|
5
5
|
Home-page: https://github.com/WMD-group/SMACT
|
|
6
6
|
Author: Daniel W. Davies
|
|
@@ -9,26 +9,27 @@ Maintainer: Anthony O. Onwuli
|
|
|
9
9
|
Maintainer-email: anthony.onwuli16@imperial.ac.uk
|
|
10
10
|
License: MIT
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Development Status :: 5 - Production/Stable
|
|
17
17
|
Classifier: Intended Audience :: Science/Research
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: License :: OSI Approved :: MIT License
|
|
20
20
|
Classifier: Topic :: Scientific/Engineering
|
|
21
21
|
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
Requires-Dist: scipy
|
|
26
|
-
Requires-Dist: numpy
|
|
26
|
+
Requires-Dist: numpy<2
|
|
27
27
|
Requires-Dist: spglib
|
|
28
|
-
Requires-Dist: pymatgen
|
|
28
|
+
Requires-Dist: pymatgen>=2024.2.20
|
|
29
29
|
Requires-Dist: ase
|
|
30
30
|
Requires-Dist: pandas
|
|
31
31
|
Requires-Dist: pathos
|
|
32
|
+
Requires-Dist: typing-extensions
|
|
32
33
|
|
|
33
34
|
[](https://doi.org/10.21105/joss.01361)
|
|
34
35
|
[](https://doi.org/10.5281/zenodo.5553202)
|
|
@@ -47,10 +48,10 @@ Requires-Dist: pathos
|
|
|
47
48
|
SMACT
|
|
48
49
|
=====
|
|
49
50
|
|
|
50
|
-
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening tools that uses data about chemical elements.
|
|
51
|
+
**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening and informatics tools that uses data about chemical elements.
|
|
51
52
|
|
|
52
53
|
- **Documentation:** https://smact.readthedocs.io/en/latest/
|
|
53
|
-
- **Examples
|
|
54
|
+
- **Examples:** https://github.com/WMD-group/SMACT/tree/master/examples
|
|
54
55
|
|
|
55
56
|

|
|
56
57
|
|
|
@@ -58,18 +59,13 @@ SMACT
|
|
|
58
59
|
|
|
59
60
|
Statement of need
|
|
60
61
|
--------
|
|
61
|
-
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application.
|
|
62
|
-
|
|
63
|
-
We have developed low-cost procedures for screening hypothetical materials in SMACT. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
64
|
-
|
|
62
|
+
There is a strong demand for functional materials across a wide range of technologies. The motivation can include cost reduction, performance enhancement, or to enable a new application. We have developed low-cost procedures for screening hypothetical materials. This framework can be used for simple calculations on your own computer. SMACT follows a top-down approach where a set of element combinations is generated and then screened using rapid chemical filters. It can be used as part of a multi-technique workflow or to feed machine learning models for materials.
|
|
65
63
|
|
|
66
64
|

|
|
67
65
|
|
|
68
|
-
|
|
69
66
|
Getting started
|
|
70
67
|
-----
|
|
71
|
-
|
|
72
|
-
SMACT's features are accessed through Python scripts, importing classes and functions as needed.
|
|
68
|
+
Features are accessed through Python scripts, importing classes and functions as needed.
|
|
73
69
|
The best place to start is looking at [the docs](https://smact.readthedocs.io/en/latest/), which highlight some simple examples of how these classes and functions can be used.
|
|
74
70
|
Extended examples are available in [our examples folder](https://github.com/WMD-group/SMACT/tree/master/examples).
|
|
75
71
|
|
|
@@ -77,9 +73,9 @@ Code features
|
|
|
77
73
|
--------
|
|
78
74
|
- At the core of SMACT are [Element](https://smact.readthedocs.io/en/latest/smact.html#smact.Element) and [Species](https://smact.readthedocs.io/en/latest/smact.html#smact.Species) (element in a given oxidation state) classes that have various properties associated with them.
|
|
79
75
|
|
|
80
|
-
-
|
|
76
|
+
- Oxidation states that are accessible to each element are included in their properties.
|
|
81
77
|
|
|
82
|
-
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and
|
|
78
|
+
- Element compositions can be screened through based on the heuristic filters of charge neutrality and electronegativity order. This is handled using the [screening module](https://smact.readthedocs.io/en/latest/smact.screening.html) and [this publication](https://www.cell.com/chem/fulltext/S2451-9294(16)30155-3) describes the underlying theory. An example procedure is [outlined in the docs](https://smact.readthedocs.io/en/latest/examples.html#neutral-combinations) and more examples can be found in the [counting examples subfolder](https://github.com/WMD-group/SMACT/tree/master/examples/Counting).
|
|
83
79
|
|
|
84
80
|
- Further filters can be applied to generated lists of compositions in order to screen for particular properties. These properties are either intrinsic properties of elements or are calculated for compositions using the [properties module](https://smact.readthedocs.io/en/latest/smact.properties.html). For example:
|
|
85
81
|
- A use case is shown in [this publication](https://pubs.rsc.org/en/content/articlehtml/2018/sc/c7sc03961a), in which 160,000 chemical compositions are screened based on optical band gap calculated using the [solid-state energy scale](https://www.sciencedirect.com/science/article/pii/S0022459615300888).
|
|
@@ -87,18 +83,17 @@ Code features
|
|
|
87
83
|
|
|
88
84
|
- Compositions can also be filtered based on sustainability via the abundance of elements in the Earth's crust or via the [HHI scale](https://pubs.acs.org/doi/10.1021/cm400893e).
|
|
89
85
|
|
|
90
|
-
- Compositions can
|
|
86
|
+
- Compositions can be converted for use in Pymatgen or for representation to machine learning algorithms ([see "next steps" in this example](https://github.com/WMD-group/SMACT/blob/master/examples/Counting/Generate_compositions_lists.ipynb)) and the related [ElementEmbeddings](https://github.com/WMD-group/ElementEmbeddings) package.
|
|
91
87
|
|
|
92
|
-
- The code also has
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
88
|
+
- The code also has tools for manipulating common crystal lattice types:
|
|
89
|
+
- Certain structure types can be built using the [builder module](https://smact.readthedocs.io/en/latest/smact.builder.html)
|
|
90
|
+
- Lattice parameters can be estimated using ionic radii of the elements for various common crystal structure types using the [lattice_parameters module](https://smact.readthedocs.io/en/latest/smact.lattice_parameters.html).
|
|
91
|
+
- The [lattice module](https://smact.readthedocs.io/en/latest/smact.lattice.html) and [distorter module](https://smact.readthedocs.io/en/latest/smact.distorter.html) rely on the [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase/) and can be used to generate unique atomic substitutions on a given crystal structure.
|
|
92
|
+
- The [structure prediction](https://smact.readthedocs.io/en/latest/smact.structure_prediction.html) module can be used to predict the structure of hypothetical compositions using species similarity measures.
|
|
93
|
+
- The [dopant prediction](https://smact.readthedocs.io/en/latest/smact.dopant_prediction.html) module can be used to facilitate high-throughput predictions of p-type and n-type dopants of multicomponent solids.
|
|
98
94
|
|
|
99
95
|
List of modules
|
|
100
96
|
-------
|
|
101
|
-
|
|
102
97
|
* **smact** library containing:
|
|
103
98
|
* **\_\_init\_\_.py** Contains the core `Element` and `Species` classes.
|
|
104
99
|
* **data_loader.py** Handles the loading of external data used to initialise the core `smact.Element` and `smact.Species` classes.
|
|
@@ -106,7 +101,7 @@ List of modules
|
|
|
106
101
|
* **properties.py** A collection of tools for estimating useful properties based on composition.
|
|
107
102
|
* **lattice.py** Given the sites, multiplicities and possible oxidation states
|
|
108
103
|
at those sites, this reads from the database and generates all possible
|
|
109
|
-
|
|
104
|
+
stoichiometries.
|
|
110
105
|
* **builder.py** Builds some common lattice structures, given the chemical
|
|
111
106
|
composition.
|
|
112
107
|
* **lattice_parameters.py** Estimation of lattice parameters for various lattice types using covalent/ionic radii.
|
|
@@ -114,18 +109,17 @@ List of modules
|
|
|
114
109
|
substituting on inequivalent sites of a sub-lattice.
|
|
115
110
|
* **oxidation_states.py**: Used for predicting the likelihood of species coexisting in a compound based on a statistical model.
|
|
116
111
|
* **structure_prediction**: A submodule which contains a collection of tools for facilitating crystal structure predictions via ionic substitutions
|
|
117
|
-
* **dopant_prediction**: A submodule which contains a collections of tools for predicting
|
|
112
|
+
* **dopant_prediction**: A submodule which contains a collections of tools for predicting dopants.
|
|
118
113
|
|
|
119
114
|
Requirements
|
|
120
115
|
------------
|
|
121
|
-
|
|
122
|
-
The main language is Python 3 and has been tested using Python 3.8+.
|
|
116
|
+
The main language is Python 3 and has been tested using Python 3.9+.
|
|
123
117
|
Basic requirements are Numpy and Scipy.
|
|
124
|
-
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](
|
|
118
|
+
The [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](https://pymatgen.org) are also required for many components.
|
|
125
119
|
|
|
126
120
|
Installation
|
|
127
121
|
------------
|
|
128
|
-
The latest stable release
|
|
122
|
+
The latest stable release can be installed via pip which will automatically set up other Python packages as required:
|
|
129
123
|
|
|
130
124
|
pip install smact
|
|
131
125
|
|
|
@@ -137,12 +131,12 @@ conda install -c conda-forge smact
|
|
|
137
131
|
|
|
138
132
|
Alternatively, the very latest version can be installed using:
|
|
139
133
|
|
|
140
|
-
pip install git+
|
|
134
|
+
pip install git+https://github.com/WMD-group/SMACT.git
|
|
141
135
|
|
|
142
136
|
For developer installation SMACT can be installed from a copy of the source
|
|
143
137
|
repository (https://github.com/wmd-group/smact); this will be preferred if using experimental code branches.
|
|
144
138
|
|
|
145
|
-
To clone the project from
|
|
139
|
+
To clone the project from GitHub and make a local installation:
|
|
146
140
|
|
|
147
141
|
git clone https://github.com/wmd-group/smact.git
|
|
148
142
|
cd smact
|
|
@@ -164,10 +158,9 @@ Development notes
|
|
|
164
158
|
Please use the [Issue Tracker](https://github.com/WMD-group/smact/issues) to report bugs or request features in the first instance. While we hope that most questions can be answered by searching [the docs](https://smact.readthedocs.io/en/latest/), we welcome new questions on the issue tracker, especially if they helps us improve the docs! For other queries about any aspect of the code, please contact either Dan Davies (author) or Anthony Onwuli (maintainer) by e-mail: d.w.davies@imperial.ac.uk or anthony.onwuli16@imperial.ac.uk respectively.
|
|
165
159
|
|
|
166
160
|
### Code contributions
|
|
167
|
-
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are
|
|
161
|
+
We are always looking for ways to make SMACT better and more useful to the wider community; contributions are welcome. Please use the ["Fork and Pull"](https://guides.github.com/activities/forking/) workflow to make contributions and stick as closely as possible to the following:
|
|
168
162
|
|
|
169
|
-
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html)
|
|
170
|
-
is also helpful, including a good model for docstrings.
|
|
163
|
+
- Code style should comply with [PEP8](http://www.python.org/dev/peps/pep-0008) where possible. [Google's house style](https://google.github.io/styleguide/pyguide.html) is also helpful, including a good model for docstrings.
|
|
171
164
|
- Please use comments liberally when adding nontrivial features, and take the chance to clean up other people's code while looking at it.
|
|
172
165
|
- Add tests wherever possible, and use the test suite to check if you broke anything.
|
|
173
166
|
|
|
@@ -176,24 +169,21 @@ Testing modules should be pass/fail and wrapped into **tests/test_core.py** or a
|
|
|
176
169
|
Run the tests using `python -m pytest -v`.
|
|
177
170
|
(The final `-v` is optional and adds more detail to the output.)
|
|
178
171
|
|
|
179
|
-
We also use integrated testing on
|
|
172
|
+
We also use integrated testing on GitHub via [GitHub Actions](hhttps://github.com/features/actions).
|
|
180
173
|
|
|
181
174
|
References
|
|
182
175
|
----------
|
|
183
176
|
|
|
184
|
-
[
|
|
185
|
-
"
|
|
177
|
+
[H. Park et al.,
|
|
178
|
+
"Mapping inorganic crystal chemical space" *Faraday Discuss.* (2024)](https://pubs.rsc.org/en/content/articlelanding/2024/fd/d4fd00063c)
|
|
186
179
|
|
|
187
|
-
[D. W. Davies et al
|
|
188
|
-
"
|
|
180
|
+
[D. W. Davies et al.,
|
|
181
|
+
"SMACT: Semiconducting Materials by Analogy and Chemical Theory" *JOSS* **4**, 1361 (2019)](https://joss.theoj.org/papers/7efd2f2ad60d25bdccee3fbd3fc11448)
|
|
189
182
|
|
|
190
|
-
[D. W. Davies et al
|
|
183
|
+
[D. W. Davies et al.,
|
|
191
184
|
"Materials discovery by chemical analogy: role of oxidation states in structure prediction" *Faraday Discuss.* **211**, 553 (2018)](https://pubs.rsc.org/en/Content/ArticleLanding/2018/FD/C8FD00032H)
|
|
192
185
|
|
|
193
|
-
[D. W. Davies et al
|
|
194
|
-
"Computer-aided design of metal chalcohalide semiconductors: from chemical composition to crystal structure" *Chem. Sci.* **9**, 1022 (2018)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
195
|
-
|
|
196
|
-
[D. W. Davies et al,
|
|
186
|
+
[D. W. Davies et al.,
|
|
197
187
|
"Computational screening of all stoichiometric inorganic materials" *Chem* **1**, 617 (2016)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)
|
|
198
188
|
|
|
199
189
|
[B. R. Pamplin, "A systematic method of deriving new semiconducting
|
|
@@ -38,6 +38,7 @@ smact/data/shannon_radii.csv
|
|
|
38
38
|
smact/data/shannon_radii_ML_extended.csv
|
|
39
39
|
smact/data/solid_properties.txt
|
|
40
40
|
smact/data/solid_properties.xlsx
|
|
41
|
+
smact/data/species_rep/skipspecies_20221028_319ion_dim200_cosine_similarity.json
|
|
41
42
|
smact/dopant_prediction/__init__.py
|
|
42
43
|
smact/dopant_prediction/doper.py
|
|
43
44
|
smact/structure_prediction/__init__.py
|