def METHOD_NAME(syn, first_node_to_connect=1, freeze_before_connect=True):
    nest.ResetKernel()
    nest.local_num_threads = 4
    sg = nest.Create("spike_generator", {"spike_times": [1.0]})
    pn = nest.Create("parrot_neuron")
    nodes = nest.Create("iaf_psc_alpha", 4, {"V_th": 100000.0})
    if freeze_before_connect:
        nodes[0].set(frozen=True)
    nest.Connect(sg, pn)
    for node in nodes[first_node_to_connect:]:
        nest.Connect(pn, node, syn_spec={"synapse_model": syn, "weight": node.tolist()[0] * 100})
    if not freeze_before_connect:
        nodes[0].set(frozen=True)
    nest.Simulate(10)
    return nodes[first_node_to_connect:].get("V_m")