weldx.WeldxFile.header#
- WeldxFile.header(use_widgets=None, path=None, _interactive=None)#
Show the header of the ASDF serialization.
Depending on the execution environment (plain Python interpreter, Jupyter Lab) and the use_widgets parameter the header will be displayed in different styles. By default, the display will be interactive (using widgets), but can be disabled if undesired.
- Parameters:
use_widgets (
Optional
[bool
]) – When in an interactive session, use widgets to traverse the header or show a static syntax highlighted string? Representation is determined upon the frontend. Jupyter lab supports a complex widget, which does not work in plain old Jupyter notebook.path (
Optional
[tuple
]) – tuple representing the lookup path in the yaml/asdf tree