heparchy.write.HdfWriter.new_process(name: str) HdfProcessWriter[source]

Returns a context handler object for storage of data in a given hard process.

Events can be iteratively added to this process by repeatedly calling the new_event() method, which itself returns a context handler object.

Parameters
key : str

Arbitrary name, used to look up data with reader.

Returns

process – Context manager for creating processes within the file, providing methods for adding metadata and events. See heparchy.write.HdfProcessWriter for more.

Return type

HdfProcessWriter


Last update: Nov 16, 2022