Skip to main content

MATerial and Atomic Databases Of Refined structures.

Project description

PyPI Version GH Actions Coverage Status Documentation Status MIT License

matador is an aggregator, manipulator and runner of first-principles calculations, written with a bent towards battery electrode materials. The source can be found on GitHub and online documentation is hosted on ReadTheDocs.

Example Jupyter notebooks and tutorials can be found online or in the examples/ folder of the matador source code.

Written & maintained by Matthew Evans (2016-).

docs/src/img/lipzn.png

Installation

In the simplest case, pip install matador-db is sufficient to get up and running, preferably in a fresh virtual environment. More detailed instructions can be found in the Installation instructions.

Usage

For basic command-line usage, please explore the help system for each sub-command. Common workflows can be found inside examples/ and in the online docs.

Please consult the full Python API documentation for programmatic usage.

usage: matador [-h] [--version]
               {stats,query,import,hull,voltage,changes,hulldiff,swaps,refine}
               ...

MATerial and Atomic Database Of Refined structures.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

subcommands:
  valid sub-commands

  {stats,query,import,hull,voltage,changes,hulldiff,swaps,refine}
    stats               print some stats about the database.
    query               query and extract structures from the database
    import              import new structures in folder into database
    hull                create a convex hull from query results (currently
                        limited to binaries and ternaries)
    voltage             plot a voltage curve from query results (currently
                        limited to binaries and ternaries)
    changes             view database changelog or undo additions to database
                        (NB: not deletions!)
    hulldiff            diff two convex hulls with the --compare flag.
    swaps               perform atomic swaps on query results
    refine              update structures in the database according to
                        specified --task

Core functionality

The core functionality can be summarised by the various sub-commands of the command-line interface above. The API has many more features that can be explored in the examples and API documentation.

  • Scraping of CASTEP (and Quantum Espresso) input/output files into flexible Python dictionaries/models.

  • The creation and curation of MongoDB collections of geometry optimisation, calculations, with a powerful querying CLI/API.

  • Customisable, publication-ready plots for all models, e.g. phase diagrams, PDF, PXRD, voltage profiles, electronic/vibrational bandstructures etc.

  • Automated high-throughput geometry optimisations, electronic and vibrational properties using CASTEP (and Quantum Espresso) with run3. Tested on several supercomputers.

  • Creation of phase diagrams and electrochemical voltage profiles from the results of DFT calculations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matador-db-0.9.1.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

matador_db-0.9.1-py3-none-any.whl (413.5 kB view details)

Uploaded Python 3

File details

Details for the file matador-db-0.9.1.tar.gz.

File metadata

  • Download URL: matador-db-0.9.1.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for matador-db-0.9.1.tar.gz
Algorithm Hash digest
SHA256 ecdd35beb5bd5cc41a1bb926ba487d4d20fac45ff47f9f5710a553c7dbd5da4c
MD5 60c8f348c9011fcdb7cd9020684b5b44
BLAKE2b-256 5118532367edfbbb1377a5e7f4b074855a995bd755145fe9d3e8ed7e903a76ee

See more details on using hashes here.

File details

Details for the file matador_db-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: matador_db-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 413.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for matador_db-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56bfeccca509448cf1a9ca0822cbc48b2f8de80994401df6f5ea2caa41cb1c00
MD5 d95bdf1fd3c6edb73e3c89d3c283f282
BLAKE2b-256 a50eefae6449728153bf4c199cd6cfde3ece65d7283e2fc44897b1de3fb34cdf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page