Skip to content

msmu.pv.get_log

Return detached, decoded provenance in lineage order, then execution-start order.

Parameters:

Name Type Description Default
mdata MuData

MuData containing recorded history in .uns["_log"].

required

Returns:

Type Description
dict

A detached dictionary with schema_version, head, events (decoded event list), and environments (ID-to-environment mapping). No history yields an empty event list and empty head.

Notes

Changing this returned dictionary does not change the original log. Events contain parameters, inputs/outputs, timing, parent IDs, and environment references. See replay and to_env.

Examples:

import msmu as mm
history = mm.pv.get_log(mdata)