heparchy.write.HdfEventWriter.set_custom_dataset(name: str, data: ndarray[Any, dtype[Any]], dtype: dtype[Any] | None | type[Any] | _SupportsDType[dtype[Any]] | str | tuple[Any, int] | tuple[Any, SupportsIndex | Sequence[SupportsIndex]] | list[Any] | _DTypeDict | tuple[Any, Any], strict_size: bool = True) None[source]

Write a custom dataset to the event.

Parameters
name : str

Handle used when reading the data.

data : nd numpy array

data to store.

dtype : valid string, numpy, or python data type

Type in which your data should be encoded for storage. Note: using little Endian for builtin datasets.


Last update: Nov 16, 2022