rldurham.InfoTracker

class rldurham.InfoTracker[source]

Bases: object

Track info by recursively descending into dict and creating lists of info values.

Public Methods:

__init__()

track(info[, ignore_empty])

plot([show, ax, key, ignore_empty, clear, ...])

Private Methods:

_check(new_info, tracked_info)

_create(new_info, tracked_info)

_update(new_info, tracked_info)


__annotations__ = {}
__dict__ = mappingproxy({'__module__': 'rldurham', '__doc__': '\n    Track info by recursively descending into dict and creating lists of info values.\n    ', '__init__': <function InfoTracker.__init__>, 'track': <function InfoTracker.track>, '_check': <function InfoTracker._check>, '_create': <function InfoTracker._create>, '_update': <function InfoTracker._update>, 'plot': <function InfoTracker.plot>, '__dict__': <attribute '__dict__' of 'InfoTracker' objects>, '__weakref__': <attribute '__weakref__' of 'InfoTracker' objects>, '__annotations__': {}})
__init__()[source]
__module__ = 'rldurham'
__weakref__

list of weak references to the object

_check(new_info, tracked_info)[source]
_create(new_info, tracked_info)[source]
_update(new_info, tracked_info)[source]
plot(show=True, ax=None, key='recorder', ignore_empty=True, clear=True, length=False, r_sum=False, r_mean=False, r_std=False, length_=False, r_sum_=False, r_mean_=False, r_std_=False)[source]
track(info, ignore_empty=True)[source]