neat.CompartmentFitter.create_tree_gf¶
- CompartmentFitter.create_tree_gf(channel_names=[], cache_name_suffix='', unmasked_nodes=None)[source]¶
Create a CachedGreensTree copy of the original tree, but only with the channels in
channel_names. Leak ‘L’ is included in the tree by default.- Parameters:
channel_names (list of strings) – List of channel names of the channels that are to be included in the new tree.
recompute_cache (bool) – Whether or not to force recompute the impedance caches
unmasked_nodes (‘node_arg’ (see documentation of MorphTree.convert_node_arg_to_nodes)) – The nodes where the channels in channel_names will be initialized to non-zero values
- Return type:
CachedGreensTree()