File: dimensionality.rst

package info (click to toggle)
python-ase 3.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (43 lines) | stat: -rw-r--r-- 1,473 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. _dimtutorial:

=======================
Dimensionality analysis
=======================

This is a example of analysis of the dimensionality of a structure using
the :func:`ase.geometry.dimensionality.analyze_dimensionality` function. This is
useful for finding low-dimensional materials, such as 1D chain-like
structures, 2D layered structures, or structures with multiple dimensionality
types, such as 1D+3D.

The example below creates a layered :mol:`MoS_2` structure and analyzes its
dimensionality.

.. literalinclude:: dimexample.py

Coloring the atoms by their tags shows the distinct bonded clusters, which in
this case are separate layers.

Each component in the material can be extracted, or "*isolated*",
using the :func:`ase.geometry.dimensionality.isolate_components` function as
the example below demonstrates.

.. literalinclude:: isolation_example.py

The method is described in the article:

  | P.M. Larsen, M. Pandey, M. Strange, and K. W. Jacobsen
  | :doi:`Definition of a scoring parameter to identify low-dimensional materials components <10.1103/PhysRevMaterials.3.034003>`
  | Phys. Rev. Materials 3 034003, 2019

A preprint is available :arxiv:`here <1808.02114>`.

.. seealso::

    More examples here: `Dimensionality analysis of ICSD and COD databases
    <https://cmr.fysik.dtu.dk/lowdim/lowdim.html>`_.


.. autofunction:: ase.geometry.dimensionality.analyze_dimensionality

.. autofunction:: ase.geometry.dimensionality.isolate_components