4. Input and Output Reference
4.1. Overview
This page summarizes the input and output files used by the CLI, the Barbieri/Van Hove backend, and the EEASiSSS backend. It is a quick reference; the detailed formats live in the backend guides and examples.
4.2. Inputs
4.2.1. Command-line inputs (phsh.py)
--bulkand--slabaccept either: - CLEED input files (*.bul,*.inp) - MTZ cluster input files (*_bulk.i,*_slab.i, orcluster.i)--inputaccepts a cleedpy-style JSON/YAML document. The schema lives inphaseshifts.leed._CLEEDPY_SCHEMAand is validated whenjsonschemais installed. Required top-level keys:unit_cell,bulk_layers,overlayers.--backendselects the calculation backend (bvh,eeasisss,viperleed). Use--backend-paramsfor backend-specific input files: - EEASiSSS native:inputX(model file) andinputA(atomic orbital list). - ViPErLEED mode:PARAMETERSfile.
4.2.2. Input file inventory (Barbieri/Van Hove)
Stage |
Inputs |
Outputs |
Notes |
|---|---|---|---|
Atorb (PhSh0) |
|
|
Atomic orbital charge densities |
Muffin-tin (PhSh1 / cavpot) |
|
|
|
Phase shifts (PhSh2*) |
|
|
Algorithm depends on |
Postprocess (PhSh3 / conphas) |
|
|
Removes pi-jumps and formats output |
Example inputs live under phaseshifts/examples/input_files/ and
phaseshifts/examples/CLEED/.
4.3. Outputs
4.3.1. Primary outputs
phsh.pywrites one phase shift file per element. The extension and format are controlled by--format: -cleedwrites*.phsand copies to$CLEED_PHASEwhen set. -curvewrites*.curfor plotting. -viperleedfollows ViPErLEED conventions. -nonekeeps the backend raw output filenames.
4.3.2. Intermediate outputs
The default workflow uses a temporary directory. Use
--tmpdirto override and--storeto keep intermediate files.Intermediate files commonly include: -
*_bulk.i,*_slab.i(generated MTZ inputs) -*_mufftin.d(muffin-tin potential) -*_phasout.i,*_dataph.d,*_inpdat.txt-*.phper element before formatting
4.4. See Also
Scripts for CLI usage
APPENDIX I: Barbieri/Van Hove Phase Shift Package - A Brief User Guide for the detailed Barbieri/Van Hove input format
APPENDIX II: Elastic Electron-Atom Scattering in Solids and Surface Slabs - User Guide for EEASiSSS input files
phshift2007 Porting Notes for step-by-step file lists