open#
- ethograph.open(path)[source]#
Load a TrialTree from a saved NetCDF file.
Shorthand for
TrialTree.open.- Parameters:
path (str or Path) – Path to a
.ncfile previously saved withdt.save().- Return type:
Examples
>>> import ethograph as eto >>> dt = eto.open("experiment.nc") >>> dt.trials [1, 2, 3] >>> ds = dt.itrial(0)