BaseTerminationSpec

class jaxrens.cli.schema.termination.BaseTerminationSpec[source]

Bases: BaseModel

Fields shared by every termination criterion.

to_criterion takes n_live and n_cull from the resolver so criteria that need walker-count information (e.g. prior-mass, temperature) don’t redundantly re-declare it in the YAML.

model_config = {'extra': 'forbid', 'frozen': True}

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