ShearMoveSpec¶
- class jaxrens.cli.schema.moves.ShearMoveSpec(*, step_size=0.1, weight=1.0, adaptation_warmup=100, target_acceptance=0.5, name=None, type='shear')[source]¶
Bases:
BaseMoveSpecVolume-preserving shear of the cell, co-transforming positions.
Lets the cell change shape at fixed volume, which is what allows a walker to find a non-cubic crystal structure. Pair it with
stretch; neither alone spans the full space of cell shapes. Proposals violatingcell.min_aspect_ratioare rejected.Bounds come from the
cell:section, not from this spec.moves: - {type: shear, step_size: 0.1, weight: 1} - {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].