vibesketcher.document.crystal_templates¶
A library of standard crystals given by space group and asymmetric unit (#231).
Every template is a space-group setting, conventional-cell parameters and an
asymmetric unit, expanded by vibesketcher.document.crystal.from_space_group().
The library is therefore also a test of the space-group machinery: each entry
records the composition and Z it must produce.
The lattice constants are representative room-temperature experimental values.
reference names the source of the structure and its parameters; values a
study depends on should be checked against the primary literature for that
study’s conditions (temperature, pressure, composition).
Functions
|
Expand a template into a crystal, optionally overriding |
|
|
|
A template by name, alias or (when unambiguous) formula. |
The manual page listing every template, generated from the data above. |
|
|
Templates whose name, title, formula, alias or structure type contains |
Classes
|
A commonly studied surface of a template, for one-step slabs (#232). |
|
- class vibesketcher.document.crystal_templates.Surface(miller, note='')[source]¶
Bases:
objectA commonly studied surface of a template, for one-step slabs (#232).
- class vibesketcher.document.crystal_templates.Template(name: 'str', title: 'str', formula: 'str', category: 'Category', space_group: 'str', a: 'float', sites: 'tuple[Site, ...]', z: 'int', reference: 'str', c: 'float | None' = None, b: 'float | None' = None, beta: 'float | None' = None, aliases: 'tuple[str, ...]'=(), structure_type: 'str' = '', surfaces: 'tuple[Surface, ...]'=(), density: 'float | None' = None, extra: 'dict[str, Any]'=<factory>)[source]¶
Bases:
object- Parameters:
name (str)
title (str)
formula (str)
category (Literal['elements', 'halides', 'oxides', 'semiconductors', 'perovskites', 'spinels', 'layered', 'minerals', 'carbides and nitrides'])
space_group (str)
a (float)
z (int)
reference (str)
c (float | None)
b (float | None)
beta (float | None)
structure_type (str)
density (float | None)
- category: Literal['elements', 'halides', 'oxides', 'semiconductors', 'perovskites', 'spinels', 'layered', 'minerals', 'carbides and nitrides']¶
- vibesketcher.document.crystal_templates.find(name)[source]¶
A template by name, alias or (when unambiguous) formula.
- vibesketcher.document.crystal_templates.search(query=None, category=None)[source]¶
Templates whose name, title, formula, alias or structure type contains
query.