coflandscaper.default_shift_from_cif¶
- coflandscaper.default_shift_from_cif(input_file, topo, print_shift=False)[source]¶
Compute the default slip length and angle for AB stacking.
- Parameters:
- Returns:
(length, angle_deg) tuple.
- Raises:
ValueError – If topo is not “sql”, “hcb”, or “kgm”.
- Return type: