LinearInterpolation¶
- class LinearInterpolation(constraints=None)¶
Use linear interpolation for generating images.
- Parameters:
constraints (list of type int) – Unused constraint parameter to make the interface similar to the other interpolation algorithms.
- constraints()¶
- Returns:
The constrained atoms.
- Return type:
list of type int
- setConstraints(constraints)¶
Set the constraints.
- Parameters:
constraints (sequence of ints | list of str | str) – List of atom indices that are kept fixed during interpolation or the list of tags of the atoms whose positions should be constrained.
- tags()¶
- Returns:
The tags used for defining the constraints.
- Return type:
bool
- uniqueString()¶
Return a unique string representing the state of the object.