vibeqc.write_xsf_structure

vibeqc.write_xsf_structure(path, system)[source]

Write a structure-only XSF file.

The opening block is CRYSTAL, SLAB or POLYMER according to system.dim, so a reader knows which PRIMVEC rows are real lattice vectors and which are non-physical padding.

The result opens directly in VESTA / XCrySDen as the periodic structure – useful as a quick visual sanity check on a PeriodicSystem before running anything expensive.

Parameters:
  • path (str | Path)

  • system (vibeqc._vibeqc_core.PeriodicSystem)

Return type:

Path