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_Resultsinstance) – The next non-base-levelDR_Resultsitem. Its entries are moreDR_Resultsitems.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_Resultsnor a SimpleNamespace are quietly ignored.Examples
See
all_base_events()for an example.