trace_counter

catkit2.testbed.trace_counter(name, series, counter)

Trace a counter event.

The time at which this function is called is logged, in addition to a scalar that we want to keep track of. The event will be shown as a line graph.

namestr

The name of the event.

seriesstr

The series of the event, e.g. “contrast”, “iteration”.

counterfloat, int

The contents of this event, i.e. what changes over time.