def METHOD_NAME(sctx, ctx, name, type):
    n = ctx(NeuronClass)(name)
    n.type(type)
    r = sctx(Neuron).query(name+"R")
    for rs in r.load():
        n.member(rs)
    l = sctx(Neuron).query(name+"L")
    for ls in l.load():
        n.member(ls)
    return n