chemparseplot.plot.kinetics#

Rate plots for temperature-dependent kinetics.

Module Contents#

Functions#

plot_arrhenius

Plot base-ten log rates against inverse temperature on an existing axis.

render_path_ensemble

Render structures along a path as one overlaid xyzrender image.

add_image_inset

Place an RGBA image in an inset of ax at bounds (axes fractions).

Data#

API#

chemparseplot.plot.kinetics._MIN_ENSEMBLE_FRAMES#

2

chemparseplot.plot.kinetics.plot_arrhenius(ax, temperature, log10_rate_per_second, **kwargs)#

Plot base-ten log rates against inverse temperature on an existing axis.

Temperature is a quantity convertible to kelvin. Passing log rates avoids exponentiating very small tunneling rates. Matplotlib style arguments are forwarded to the curve, including marker styles for reference measurements.

chemparseplot.plot.kinetics.render_path_ensemble(frames, *, canvas_size=700, config='paton', opacity=0.45, color=None)#

Render structures along a path as one overlaid xyzrender image.

frames is a sequence of ASE Atoms with the same atom order, such as the replicas of a tunnelling path. The first frame is drawn opaque and sets the orientation. The others are aligned to it and drawn with opacity, coloured along the sequence unless color is given.

Returns an RGBA array with a transparent background.

chemparseplot.plot.kinetics.add_image_inset(ax, image, bounds, title=None)#

Place an RGBA image in an inset of ax at bounds (axes fractions).