recorder

CmeRecorder is a utility class for computation of measurements.

class cmepy.recorder.CmeRecorder(*targets)

CmeRecorder is a utility class to compute common measurements, such as marginals, expected values, and standard deviations, from a given distribution p.

add_target(*args)

Add zero or more targets to the recorder.

where each target has the form (variables[, transforms])

write(t, p)
Records measurements of time t and distribution p
cmepy.recorder.create(*targets)
Returns a recorder for the random variable groups defined by targets.
cmepy.recorder.display_plots(rec, vars=None, statistics=None, title=None)

Plot and display statistics from specified recorder measurement batch.

Requires pylab (eg the matplotlib package) to be installed.

Previous topic

ode_solver

Next topic

restorable_solver

This Page