coflandscaper¶
Cof landscaper package.
Functions
Compute half the $a+b$ diagonal length and angle from a CIF. |
|
Map a MACE head name to fixed calculator settings. |
|
Compute the default slip length and angle for AB stacking. |
|
Extract fractional atom sites from a CIF atom loop block. |
|
Return the index of the last occurrence of a keyword. |
|
Return output folders for the selected stacking mode(s). |
|
Guess a chemical symbol from a CIF-like raw token. |
|
List CIF files in a folder. |
|
Parse atom symbols and XYZ coordinates from a line block. |
|
Parse unit-cell lengths and angles from CIF text. |
|
Parse XYZ coordinates from a CIF atom line. |
|
Parse _z and _L tags from a structure stem. |
|
Pick the lower‑left atom pair from consecutive atom lines. |
|
Wrap a value into [0, 1). |
Classes
Construct a single-layer 2D COF from node/linker inputs. |
|
Generate ILD variations by rescaling the layer separation along $z$. |
|
Create an ILD×ILS matrix of stacking variants for a fixed COF layer. |
|
Base class for converting CIF structures into CRYSTAL .d12 inputs. |
|
CRYSTAL geometry-optimization input/output utilities. |
|
CRYSTAL single-point input and output parser utilities. |
|
Generate inclined ILS structures by tilting the $c$ vector. |
|
Generate serrated ILS structures by shifting the top layer in a bilayer. |
|
Generate potential energy landscape plots from single-point CSV data. |
|
Base helper for constructing MACE calculators with normalized settings. |
|
Optimize CIF structures with MACE and optional z-axis constraints. |
|
Evaluate single-point energies for CIF structures using MACE. |
|
Simulate PXRD patterns from optimized CIFs and create stacked plots. |
|
Select CIFs for downstream optimization based on ILD/ILS pairs. |
|
Build a supercell $atimes btimes c$ from each input unit cell. |
|
Visualize optimized COF structures with py3Dmol. |