sponge.colvar.TransformCV
- class sponge.colvar.TransformCV(colvar: Colvar, function: Callable, periodic: bool = False, shape: Tuple[int] = None, unit: str = None, name: str = 'transform')[source]
Transformation of the values of the a collective variable
using a specific functions .- Parameters
colvar (Colvar) – Collective variables (CVs)
.function (Callable) – Transformation function
.periodic (bool) – Whether the transformed collective variables is periodic. Default:
False
.shape (Tuple[int]) – Shape of the transformed collective variables. If None is given, then it will be assigned to the shape of the original colvar. Default:
None
.unit (str) – Unit of the collective variables. Default:
None
. NOTE: This is not the Units Cell that wraps length and energy.name (str) – Name of the collective variables. Default: 'transform'.
- Supported Platforms:
Ascend
GPU