StretchMoveSpec

class jaxrens.cli.schema.moves.StretchMoveSpec(*, step_size=0.1, weight=1.0, adaptation_warmup=100, target_acceptance=0.5, name=None, type='stretch')[source]

Bases: BaseMoveSpec

Volume-preserving anisotropic stretch, co-transforming positions.

Lengthens one cell axis and compresses the others to keep the volume fixed. The complement to shear: together they explore cell shape, while volume explores cell size.

Bounds come from the cell: section, not from this spec.

moves:
  - {type: stretch, step_size: 0.1, weight: 1}
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].