rgpycrumbs.eon.orbit_residual

Measure the periodic Euclidean force residual of a thermal instanton orbit.

The input is a full period sampled at uniform imaginary times. A force provider evaluates those same geometries independently of the instanton optimization.

Functions

euclidean_force_residual(positions, forces, masses, ...)

Return F + M d²x/dτ² in eV/Å, with x in Å, masses in u, and T in K.

orbit_extent(positions, masses)

Measure the Cartesian diameter in the stored frame and mass metric.

_factory(spec)

observed_eon_forces(frames)

Read signed Cartesian forces from the native rate observation on each bead.

main(band, *, provider, options, temperature, ...)

Report stationarity and independent validation costs for a readcon BAND.

Module Contents

rgpycrumbs.eon.orbit_residual.euclidean_force_residual(positions, forces, masses, temperature, ring_polymer=False, *, period_seconds=None)[source]

Return F + M d²x/dτ² in eV/Å, with x in Å, masses in u, and T in K.

Columns are mobile Cartesian degrees of freedom. Rows are uniformly spaced through a full thermal period, excluding the repeated endpoint.

rgpycrumbs.eon.orbit_residual.orbit_extent(positions, masses)[source]

Measure the Cartesian diameter in the stored frame and mass metric.

rgpycrumbs.eon.orbit_residual._factory(spec)[source]
rgpycrumbs.eon.orbit_residual.observed_eon_forces(frames)[source]

Read signed Cartesian forces from the native rate observation on each bead.

rgpycrumbs.eon.orbit_residual.main(band, *, provider, options, temperature, tolerance, ipi_half_ring, atom_pair, compare_discretizations)[source]

Report stationarity and independent validation costs for a readcon BAND.

Each frame supplies tau_over_beta, atom IDs, masses and fixed components. Coordinates must be continuous across the period. The factory receives the band path and returns an object whose cartesian_forces(frame) gives an (atoms, 3) array in eV/Å. Its optional result_counts() returns the provider’s cumulative computed and served geometry counts.