Pass your own reference polyhedra to cshm with -r/--ref, pointing to one or more YAML files. Each shape must have the same number of vertices as the structure you are analyzing.

Format

reference.yaml
symbol:
  name:
  symmetry:
  vertices:
    - [x, y, z]
    - ...
  centre:
    - [x, y, z]
 
symbol2:
  ...

A single reference.yaml file can contain several reference polyhedra. Comments are also supported by the YAML parser: every line that starts with # is ignored.

Cosmochlore’s YAML parser is somewhat flexible when specifying the key names. It accepts the following synonyms:

KeySynonymsValue type
symbolname
namename
symmetrysymmname
verticesligands[x, y, z]
centrecenter, metal[x, y, z]

Examples