HarmonicBackendSpec

class jaxrens.cli.schema.backend.HarmonicBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='harmonic', k=1.0)[source]

Bases: BaseBackendSpec

Toy isotropic harmonic well about the origin. For tests.

Has an analytic partition function, which makes it the reference for checking that the evidence estimator is unbiased.

backend:
  type: harmonic
  k: 1.0
Parameters:
build_backend()[source]

Construct and return the EnergyBackend instance.

Subclasses override to pass their specific constructor kwargs.

Return type:

EnergyBackend

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

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