coflandscaper.ChangeIld¶
- class coflandscaper.ChangeIld[source]¶
Generate ILD variations by rescaling the layer separation along $z$.
This class scans the interlayer distance (ILD) by rescaling the lattice vector along $z$ while keeping the in‑plane lattice vectors and atomic positions consistent in fractional coordinates. The layer thickness is preserved and the slab is re‑centered in the new unit cell.
Methods
Scan interlayer distances and write updated CIFs.
- run(input_folder, output_folder, ild_start=3.0, ild_end=4.5, ild_step=0.1)[source]¶
Scan interlayer distances and write updated CIFs.
- Parameters:
- Raises:
ValueError – If a requested ILD is smaller than the slab thickness.
- Return type:
None