Skip to content

API reference

The names below are available directly from the nebcert package.

Functions

nebcert.calculate_neb_profile_analysis(energies_ev, coordinates_s_ang=None, tangent_forces_ev_ang=None, force_convergence_threshold=0.05, warning_force_threshold=0.1, band_converged=None, ts_energy_rel_ev=None, ts_optimisation_converged=None, min_well_depth_kcal_mol=0.5, min_path_length_ang=0.05, climbing_image_index=None)

Analyzes NEB minimum energy path, fits cubic spline interpolation, calculates forward and reverse activation barriers, and audits force convergence and continuity.

Parameters:

Name Type Description Default
energies_ev list of float

Total DFT energies for all images along the band (eV).

required
coordinates_s_ang list of float

Cumulative reaction coordinates s (Å). If None, uniform spacing 0..1 is used.

None
tangent_forces_ev_ang list of float

Parallel / residual forces along band (eV/Å).

None
force_convergence_threshold float

Limit on the force at the image nearest the barrier.

0.05 eV/Å
warning_force_threshold float

Unused; kept for backward compatibility.

0.10 eV/Å
band_converged bool

Convergence flag of the band as printed by the program (ORCA: "THE NEB OPTIMIZATION HAS CONVERGED"). False gives FAIL: an unconverged band does not locate the barrier.

None
ts_energy_rel_ev float

Energy of an optimised transition state (e.g. ORCA NEB-TS) relative to image 0. When given it replaces the spline maximum as the forward barrier; the spline value is kept for comparison.

None
ts_optimisation_converged bool

False gives FAIL (the TS energy is then not a saddle-point energy). When True, the force check on the band is skipped: NEB-TS converges the band only loosely by design and the TS optimisation refines it.

None
climbing_image_index int

Index of the climbing image. When the band converged and no optimised TS is given, the climbing-image energy is the barrier (a converged climbing image sits at the saddle point; a spline through a coarse band does not).

None
min_well_depth_kcal_mol float

An interior image lower than both neighbours by more than this is reported as an intermediate minimum; shallower dips are treated as noise of the band.

0.5
min_path_length_ang float

When coordinates_s_ang are distances along the path (Å), a shorter path means that both end points are the same structure (e.g. one end point slid into the other during pre-optimisation): FAIL.

0.05

Returns:

Name Type Description
result NEBProfileResult

nebcert.verify_ts_frequency_and_irc(frequencies_cm1, min_significant_freq_cm1=50.0, irc_confirmed=None)

Counts the imaginary frequencies of a candidate transition state. PASS requires exactly one with |nu| >= min_significant_freq_cm1 and no smaller imaginary modes.

Parameters:

Name Type Description Default
frequencies_cm1 list of float

Vibrational harmonic frequencies in cm^-1 (negative values represent imaginary frequencies).

required
min_significant_freq_cm1 float
50.0 cm^-1
irc_confirmed bool

Whether an IRC calculation connected the intended reactant and product minima, as reported by the user; NEBCert does not read or check the IRC itself.

None

Returns:

Name Type Description
result TSFrequencyResult

nebcert.calculate_eyring_tst_rates(e_activation_ev, temperatures_k=None, barrier_type='electronic')

Computes Eyring-Polanyi transition state theory rate constants k(T) across temperatures and extracts Arrhenius parameters A and E_a.

Parameters:

Name Type Description Default
e_activation_ev float

Barrier inserted in k = (k_B T / h) exp(-E / k_B T), in eV.

required
temperatures_k list of float

List of temperatures in Kelvin (default: [200, 250, 298.15, 350, 400, 500, 600, 800, 1000]).

None
barrier_type (electronic, gibbs)

'gibbs' when the barrier is a Gibbs free energy of activation (Delta G double-dagger): the result is the Eyring rate constant (PASS). 'electronic' (the default, and what an NEB band gives) means an electronic energy difference without zero-point, thermal or entropic terms: the number is then not a TST rate constant and the status is NOT_APPLICABLE (reported, but not counted in the overall status).

'electronic'

Returns:

Name Type Description
result TSTKineticsResult

nebcert.calculate_quantum_tunneling_corrections(imaginary_freq_cm1, e_forward_barrier_ev, e_reverse_barrier_ev=None, temperatures_k=None)

Computes Wigner and 1D asymmetric Eckart quantum tunneling factors kappa(T).

Parameters:

Name Type Description Default
imaginary_freq_cm1 float

Magnitude of imaginary frequency (cm^-1).

required
e_forward_barrier_ev float

Forward activation energy (eV).

required
e_reverse_barrier_ev float

Reverse activation energy (eV). If None, symmetric barrier (V1 = V2) is used.

None
temperatures_k list of float
None

Returns:

Name Type Description
result TunnelingResult

nebcert.assess_reaction_pathway_quality(metadata, neb_res=None, ts_freq_res=None, tst_res=None, tunneling_res=None)

Consolidates NEB minimum energy path, TS frequency verification, TST kinetics, and quantum tunneling corrections.

Parameters:

Name Type Description Default
metadata dict

Reaction title, software engine, exchange-correlation functional / level of theory.

required
neb_res NEBProfileResult
None
ts_freq_res TSFrequencyResult
None
tst_res TSTKineticsResult
None
tunneling_res TunnelingResult
None

Returns:

Name Type Description
report ReactionPathwayReport

Result classes

nebcert.NEBProfileResult dataclass

nebcert.TSFrequencyResult dataclass

nebcert.TSTKineticsResult dataclass

nebcert.TunnelingResult dataclass

nebcert.ReactionPathwayReport dataclass