{ "info": { "author": "Daniel W. Davies", "author_email": "d.davies16@imperial.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering" ], "description": "[![DOI](https://zenodo.org/badge/14117740.svg)](https://zenodo.org/badge/latestdoi/14117740)\n[![Documentation Status](https://readthedocs.org/projects/smact/badge/?version=latest)](http://smact.readthedocs.org/en/latest/?badge=latest)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)\n[![Build Status](https://travis-ci.org/WMD-group/SMACT.svg?branch=master)](https://travis-ci.org/WMD-group/SMACT)\n[![HitCount](http://hits.dwyl.io/wmd-group/smact.svg)](http://hits.dwyl.io/wmd-group/smact)\n\nSMACT\n=====\n\n**Semiconducting Materials from Analogy and Chemical Theory** (SMACT) is a collection of rapid screening tools that uses data about chemical elements.\n\n- **Documentation:** https://smact.readthedocs.io/en/latest/\n- **Examples folder:** https://github.com/WMD-group/SMACT/tree/master/examples\n\n![](SMACT.png)\n\n*If you torture the data enough, nature will always confess* - Roland Coase (from 'How should economists choose?')\n\nStatement of need\n--------\nThere 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. Data collections such as the [Materials Project](https://www.materialsproject.org), [NREL Materials Database](http://materials.nrel.gov) and the [Open Quantum Materials Database](http://oqmd.org) are valuable resources, but they largely cover the properties of *known* compounds as calculated using high-level quantum mechanical theories.\n\nWe 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.\n\n\n![](smact_simple.gif)\n\n\nGetting started\n-----\n\nSMACT's features are accessed through Python scripts, importing classes and functions as needed.\nThe 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.\nExtended examples are available in [our examples folder](https://github.com/WMD-group/SMACT/tree/master/examples).\n\nCode features\n--------\n- 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. \n\n- The various oxidation states that are accessible to each element are included in their properties.\n\n- 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 further examples can be found in the [counting examples subfolder](https://github.com/WMD-group/SMACT/tree/master/examples/Counting).\n\n- 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: \n - 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).\n - The [oxidation_states module](https://smact.readthedocs.io/en/latest/smact.oxidation_states.html) can be used to filter out compositions containing metals in unlikely oxidation states according to [a data-driven model](https://pubs.rsc.org/en/content/articlelanding/2018/fd/c8fd00032h#!divAbstract).\n\n- Compositions can also be filtered based on sustainability via crustal abundance or the [HHI scale](https://pubs.acs.org/doi/10.1021/cm400893e). \n\n- Compositions can easily 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)).\n\n- The code also has some tools for manipulating common crystal lattice types: \n - Common crystal structure types can be built using the [builder module](https://smact.readthedocs.io/en/latest/smact.builder.html)\n - Lattice parameters can be quickly 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).\n - 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. \n\nList of modules\n-------\n\n* **smact** library containing:\n * **\\_\\_init\\_\\_.py** Contains the core `Element` and `Species` classes.\n * **data_loader.py** Handles the loading of external data used to initialise the core `smact.Element` and `smact.Species` classes.\n * **screening.py** Used for generating and applying filters to compositional search spaces.\n * **properties.py** A collection of tools for estimating useful properties based on composition.\n * **lattice.py** Given the sites, multiplicities and possible oxidation states\n at those sites, this reads from the database and generates all possible\n stoichiometeries.\n * **builder.py** Builds some common lattice structures, given the chemical\n composition.\n * **lattice_parameters.py** Estimation of lattice parameters for various lattice types using covalent/ionic radii.\n * **distorter.py** A collection of functions for enumerating and then\n substituting on inequivalent sites of a sub-lattice.\n\nRequirements\n------------\n\nThe main language is Python 3 and has been tested using Python 3.6+.\nBasic requirements are Numpy and Scipy.\nThe [Atomic Simulation Environment](https://wiki.fysik.dtu.dk/ase) (ASE), [spglib](http://atztogo.github.io/spglib), and [pymatgen](www.pymatgen.org) are also required for many components.\n\nInstallation\n------------\nThe latest stable release of SMACT can be installed via pip which will automatically setup other Python packages as required:\n\n pip install smact \n\nAlternatively, the very latest version can be installed using:\n\n pip install git+git://github.com/WMD-group/SMACT.git\n\nFor developer installation SMACT can be installed from a copy of the source\nrepository (https://github.com/wmd-group/smact); this will be preferred if using experimental code branches.\n\nTo clone the project from Github and make a local installation:\n\n git clone https://github.com/wmd-group/smact.git\n cd smact\n pip install --user -e .\n\nWith -e pip will create links to the source folder so that that changes\nto the code will be immediately reflected on the PATH.\n\n\nLicense and attribution\n-----------------------\n\nPython code and original data tables are licensed under the GNU General Public License (GPL) v3.\n\nThe following files have their own licenses: **data/elements.txt** is from the [OpenBabel](http://openbabel.sourceforge.net) project and licensed under the GPL v2, which is included in the parent folder.\n\nDevelopment notes\n-----------------\n\n### Bugs, features and questions\nPlease 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 Dan Davies by e-mail: D.Davies16@imperial.ac.uk. \n### Code contributions\nWe are always looking for ways to make SMACT better and more useful to the wider community; contributions are very 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:\n\n- 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)\nis also helpful, including a good model for docstrings.\n- Please use comments liberally when adding nontrivial features, and take the chance to clean up other people's code while looking at it.\n- Add tests wherever possible, and use the test suite to check if you broke anything.\n\n### Tests\nTesting modules should be pass/fail and wrapped into **tests/test.py**.\nRun the tests using `python -m smact.tests.test -v`.\n(The final `-v` is optional and adds more detail to the output.)\n\nWe also use integrated testing on Github via [travis](https://travis-ci.org).\n\nReferences\n----------\n\n[D. W. Davies et al,\n\"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)\n\n[D. W. Davies et al,\n\"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)\n\n[D. W. Davies et al,\n\"Computational screening of all stoichiometric inorganic materials\" *Chem* **1**, 617 (2016)](http://www.cell.com/chem/abstract/S2451-9294(16)30155-3)\n\n[B. R. Pamplin, \"A systematic method of deriving new semiconducting\ncompounds by structural analogy\", *J. Phys. Chem. Solids*\n**25**, 675 (1964)](http://www.sciencedirect.com/science/article/pii/0022369764901763)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/WMD-group/SMACT", "keywords": "", "license": "GNU General Public License (GPL) v3", "maintainer": "", "maintainer_email": "", "name": "SMACT", "package_url": "https://pypi.org/project/SMACT/", "platform": "", "project_url": "https://pypi.org/project/SMACT/", "project_urls": { "Homepage": "https://github.com/WMD-group/SMACT" }, "release_url": "https://pypi.org/project/SMACT/2.1/", "requires_dist": [ "scipy", "numpy", "spglib", "pymatgen", "ase" ], "requires_python": "", "summary": "Semiconducting Materials by Analogy and Chemical Theory", "version": "2.1" }, "last_serial": 5380468, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "86faf77cdb734d9262bd6fb676b278e8", "sha256": "abacde1d3a72557bd1508561cbb5d66a3a951bf4fb9efce6c7f19531110edd3a" }, "downloads": -1, "filename": "SMACT-1.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "86faf77cdb734d9262bd6fb676b278e8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 57536, "upload_time": "2017-01-03T14:50:17", "url": "https://files.pythonhosted.org/packages/6e/0f/e695a7a1c27f58bdbe6a451c09043712a8cd5150b32954301691bb0e4b56/SMACT-1.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "51bae620d86757b2ae890df50ebfd9ff", "sha256": "6213352b0836830021c30d82a4b6511460064b4abeb47ca0b0ccdaef95445b2d" }, "downloads": -1, "filename": "SMACT-1.1.0.tar.gz", "has_sig": false, "md5_digest": "51bae620d86757b2ae890df50ebfd9ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47394, "upload_time": "2017-01-03T14:50:19", "url": "https://files.pythonhosted.org/packages/6c/25/7d13cf7c153585edba3f3b4bcbade3c9941ebc0cc7aa8b684483be5ae288/SMACT-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "d24ae22e7f6cfedf81de4161432a7cd4", "sha256": "d026faadae0fca4b646f68bde0c4300d7d6967cd638338f5c3a628f824672ece" }, "downloads": -1, "filename": "SMACT-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d24ae22e7f6cfedf81de4161432a7cd4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 60296, "upload_time": "2017-01-03T15:03:39", "url": "https://files.pythonhosted.org/packages/9c/8d/497d20b8d2c8f29a898c8b0532d35ca08d66343458a3d647619c901c06af/SMACT-1.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ffe50e8136d79c3526be4b7ce954bf4", "sha256": "02269898605b91481beae78370d10f4385fe2b0a1dedfaf8a09cd0e6069d1023" }, "downloads": -1, "filename": "SMACT-1.1.1.tar.gz", "has_sig": false, "md5_digest": "2ffe50e8136d79c3526be4b7ce954bf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47334, "upload_time": "2017-01-03T15:03:41", "url": "https://files.pythonhosted.org/packages/71/b1/75b8d159b5b087da0f9e8d8cf029a21218668f99bd00800efef2114f54c4/SMACT-1.1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "06937f5579f2132cdbf702ae247df308", "sha256": "dc8d5c0cfb5d1c1a6f2e14a257a9b5d17284952c70a1c1e35f3bb8b3e08cb672" }, "downloads": -1, "filename": "SMACT-1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "06937f5579f2132cdbf702ae247df308", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 57834, "upload_time": "2017-02-06T11:35:55", "url": "https://files.pythonhosted.org/packages/4a/66/cb7d0c554042bfdc2e947bd2c276af49cac00afedc79920763da70ed9fe2/SMACT-1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8577174d28bbda72851244c69855f95", "sha256": "cdef812ddb342ba32e498ca320598e2c3ea78ad5d347200e814ca33fc89e6904" }, "downloads": -1, "filename": "SMACT-1.2.tar.gz", "has_sig": false, "md5_digest": "f8577174d28bbda72851244c69855f95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47416, "upload_time": "2017-02-06T11:36:58", "url": "https://files.pythonhosted.org/packages/96/f7/dfbe33a086af257d96bb59e6e0a27eb92f24f13a891ec431205fbc387580/SMACT-1.2.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "7cb6bf47c695c1b2c989606480dfa8f0", "sha256": "a555502d8f72fe847fe57745daa13397e234174543d0316d0b0d821a4a21de8d" }, "downloads": -1, "filename": "SMACT-2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7cb6bf47c695c1b2c989606480dfa8f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 66265, "upload_time": "2019-03-13T15:56:59", "url": "https://files.pythonhosted.org/packages/80/fb/7b899c9b7a41421be9b874401f0a569b8620e264b4e0db38cb5c8a9bff4d/SMACT-2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccc73cc6fcf88744067b654ea30800a0", "sha256": "eed5a465c0f0ef06fc5dc676daef71cffe440aeb2d11fabb4344731cc61878a2" }, "downloads": -1, "filename": "SMACT-2.0.tar.gz", "has_sig": false, "md5_digest": "ccc73cc6fcf88744067b654ea30800a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45905, "upload_time": "2019-03-13T15:57:01", "url": "https://files.pythonhosted.org/packages/71/4c/71b6d5d54d27012b1edc4ba6145c5804bd54a8fbb746e5f7203ee890fa59/SMACT-2.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "254dc64d7ebe59174ad887d74fbad4cf", "sha256": "e780e618ae044efab275c2df292e2c5acd68a10e1703d024490e84373c4050d9" }, "downloads": -1, "filename": "SMACT-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "254dc64d7ebe59174ad887d74fbad4cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 111623, "upload_time": "2019-03-13T16:22:27", "url": "https://files.pythonhosted.org/packages/fe/dc/cbbb827be4e92c80a17846bb985e5154a8d623726e1a684ae59c99fe647d/SMACT-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ae537aa818acb0fc246b75719b4556d", "sha256": "b1e9a246befb369d59e2076c8ac3f4171df1e5fd7bd620d974460e3e5e625d67" }, "downloads": -1, "filename": "SMACT-2.0.1.tar.gz", "has_sig": false, "md5_digest": "2ae537aa818acb0fc246b75719b4556d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93174, "upload_time": "2019-03-13T16:22:31", "url": "https://files.pythonhosted.org/packages/18/c2/94ad8ef9a21263f36ae116a6c96496a319ad839dc08b6c419076364e6d0b/SMACT-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "5814e59e604fe30a40f702a66b26eb23", "sha256": "f1a93242b9f803af4495326390daac6e1cea57b9f6b535ecf7e6bd7eccd7831c" }, "downloads": -1, "filename": "SMACT-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5814e59e604fe30a40f702a66b26eb23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 114460, "upload_time": "2019-03-26T15:49:25", "url": "https://files.pythonhosted.org/packages/9c/d3/f570ac9403d0bf1a66ad6549e055fdadb251135de7b7184d2beff8909b2a/SMACT-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff6db7704ddee8e3c6035984b4e27815", "sha256": "258fac66d4663b0771a439e26df14f6dbe299619492dd7eae508f5b119f4060b" }, "downloads": -1, "filename": "SMACT-2.0.2.tar.gz", "has_sig": false, "md5_digest": "ff6db7704ddee8e3c6035984b4e27815", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 105338, "upload_time": "2019-03-26T15:49:26", "url": "https://files.pythonhosted.org/packages/b5/38/0dc528368a7d38f051314730b4a4aa3e2f35504531cc3b780c079b3e9f19/SMACT-2.0.2.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "93c82b99534770603b5b094cd2a094ff", "sha256": "656582c0f48039e4d0a6b0331e3391275f1048c0f676e60e26156442d83b7a6d" }, "downloads": -1, "filename": "SMACT-2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "93c82b99534770603b5b094cd2a094ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 115800, "upload_time": "2019-06-10T09:22:03", "url": "https://files.pythonhosted.org/packages/ea/0a/ca950f5e5b0d3d50b7bd26280475a57e6e093ad174fd70ff6b531aa397fc/SMACT-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4398680cde1e5491fbcb4fbeb9aa6c39", "sha256": "21b3835604f01a8d543e12946d3d38320ed3029204fe57876126ff0221f01eda" }, "downloads": -1, "filename": "SMACT-2.1.tar.gz", "has_sig": false, "md5_digest": "4398680cde1e5491fbcb4fbeb9aa6c39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107834, "upload_time": "2019-06-10T09:22:04", "url": "https://files.pythonhosted.org/packages/9c/86/6f0fd1dd31e04d7e3f5f4102716fbbd5b7ff89df32b8a4f1c8a929a41427/SMACT-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93c82b99534770603b5b094cd2a094ff", "sha256": "656582c0f48039e4d0a6b0331e3391275f1048c0f676e60e26156442d83b7a6d" }, "downloads": -1, "filename": "SMACT-2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "93c82b99534770603b5b094cd2a094ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 115800, "upload_time": "2019-06-10T09:22:03", "url": "https://files.pythonhosted.org/packages/ea/0a/ca950f5e5b0d3d50b7bd26280475a57e6e093ad174fd70ff6b531aa397fc/SMACT-2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4398680cde1e5491fbcb4fbeb9aa6c39", "sha256": "21b3835604f01a8d543e12946d3d38320ed3029204fe57876126ff0221f01eda" }, "downloads": -1, "filename": "SMACT-2.1.tar.gz", "has_sig": false, "md5_digest": "4398680cde1e5491fbcb4fbeb9aa6c39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107834, "upload_time": "2019-06-10T09:22:04", "url": "https://files.pythonhosted.org/packages/9c/86/6f0fd1dd31e04d7e3f5f4102716fbbd5b7ff89df32b8a4f1c8a929a41427/SMACT-2.1.tar.gz" } ] }