deltakit.explorer.types.ObservableFlips#
- class deltakit.explorer.types.ObservableFlips(data: Path | DataString | list[list[int]] | ndarray[tuple[Any, ...], dtype[_ScalarT]], data_format: DataFormat = DataFormat.B8, data_width: int = -1)#
Bases:
BinaryDataTypeBinary table, representing observables.
Methods#
Represent content of the object as 01 string. |
|
Represent underlying data as b8 bit-packed bytes. |
|
Converts the object to a compact datastring. |
|
Represent the data as unsigned 1 byte/number (uint8) numpy table. |
|
Stack multiple binary tables into one using numpy representation. |
|
Split a data file into multiple blocks based on the number of output files. |
|
Split a data file into batches of fixed size. |