pyyeti.cla.DR_Results.all_nonbase_events

DR_Results.all_nonbase_events(top_level_name='Top Level')[source]

A generator for looping over all non-base events

Parameters:

top_level_name (str; optional) – This is the name of the event at the top level of the results structure

Yields:
  • name (str) – The next non-base-level dictionary key.

  • nonbase (DR_Results instance) – The next non-base-level DR_Results item. Its entries are more DR_Results items.

  • path (list) – List of strings showing the path to the non-base event, including the name of the non-base event itself.

Notes

Entries that are neither a DR_Results nor a SimpleNamespace are quietly ignored.

Examples

See all_base_events() for an example.