def load_neuron(handle, reader=None):
rdw = load_data(handle, reader)<EOL>if isinstance(handle, StringType):<EOL><INDENT>name = os.path.splitext(os.path.basename(handle))[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>name = None<EOL><DEDENT>return FstNeuron(rdw, name)<EOL>
Build section trees from an h5 or swc file