braincell.io.load_branch#
- braincell.io.load_branch(path)[source]#
Load a
Branchfrom a braincell checkpoint file.- Parameters:
path (
str|PathLike) – Path to a.bcmcheckpoint produced bysave_branch().- Returns:
The reconstructed branch as the appropriate typed subclass (e.g.
Soma,Dendrite).- Return type:
- Raises:
CheckpointError – If the file is missing, not a braincell checkpoint, corrupt, or is a morphology checkpoint instead of a branch checkpoint.
CheckpointVersionError – If the checkpoint version is newer than this build supports.
See also
save_branchInverse operation.
load_morphoLoad a whole morphology tree.