Skip to main content

MATerial and Atomic Databases Of Refined structures.

Project description

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.0.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

matador_db-0.9.0post1-py3-none-any.whl (417.4 kB view details)

Uploaded Python 3

matador_db-0.9.0-py3-none-any.whl (96.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matador-db-0.9.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 534d24471324e7ded9f4f6478b6bc589a66c0e3d9ca8a19bc39d811ff0edca8e
MD5 fd0e05506d54918da7723a35b6bb1b94
BLAKE2b-256 4c2779a4ca5f9c18d2c065ab008be249833f57c6fb025ed2b7c2d737667b8723

See more details on using hashes here.

File details

Details for the file matador_db-0.9.0post1-py3-none-any.whl.

File metadata

  • Download URL: matador_db-0.9.0post1-py3-none-any.whl
  • Upload date:
  • Size: 417.4 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.0post1-py3-none-any.whl
Algorithm Hash digest
SHA256 9859bfde3e6deae4cc1fb9973ab0dd9c4e788b94821c263f16a9a199aa7f679b
MD5 68d08a57548e88fca35e6b0f64d5c8d3
BLAKE2b-256 ffe91e79ba28becca4c55554d28bc3129b9c318a7c151e20b49a6b035bc20e0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: matador_db-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 96.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ada2b615b2e215b5c91f9b5090627d7c21cde8c9206707f5f0cd731e5185e0a
MD5 17eea5d0a66b3c2e31d66107a1c7668d
BLAKE2b-256 6a7318c3cbcd7343ff13ce220cab520840b43a520fa47e66c6d231a4eb521e8d

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