Skip to content

Instantly share code, notes, and snippets.

#"hoi==0.0.5", "ipywidgets"
def to_dict(self) -> Dict:
return {"structure": str(type(self)).split("'")[1].split(".")[-1], **self.__dict__}
#time_ordering: 3D or 2D, likely flattened 2D (including time); every row is a time step., other array values are
#Try for self-ref, "full grid", snippet etc.
import json