neurom.io.utils.make_tree

neurom.io.utils.make_tree(rdw, root_id=-1, post_action=None)

Return a tree obtained from a raw data block

The tree contains rows of raw data. :param rdw: a RawDataWrapper object. :param root_id: ID of the root of the tree to be built. :param post_action: optional function to run on the built tree.