Connectome¶ btorch.connectome ¶ Functions¶ simple_id_to_root_id(neurons, reverse=False) ¶ Source code in btorch/connectome/__init__.py 4 5 6 7 8 9def simple_id_to_root_id(neurons: pd.DataFrame, reverse: bool = False): return dict( neurons[ ["root_id", "simple_id"] if reverse else ["simple_id", "root_id"] ].to_numpy() )