TemperatureTerminationSpec

class jaxrens.cli.schema.termination.TemperatureTerminationSpec(*, type='temperature', target_temp, threshold=10.0)[source]

Bases: BaseTerminationSpec

Stop once the NS temperature estimate cools to target_temp.

Use when the physics sets the endpoint — “sample down to 100 K” — rather than a count. Relies on the finite-difference estimator, so set output.temperature_kB to match your backend’s energy units or the target is meaningless.

termination:
  - type: temperature
    target_temp: 100.0
    threshold: 10.0
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

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