def METHOD_NAME(num_threads=1):
    """
    Build network with specified number of threads.
    The following network is built:
        - Create 100 neurons
            - 1, 3, ..., 99 are sources
            - 2, 4, ..., 100 are targets
        - Connect 1, 3, ..., 69 -> 2, 4, ..., 70 with `static_synapse`
        - Connect 31, 33, ..., 99   -> 32, 34, ..., 100 with `stdp_synapse`
    """
    nest.ResetKernel()
    nest.local_num_threads = num_threads
    nest.Create("iaf_psc_alpha", 100)
    static_sources = nest.NodeCollection(list(range(1, 70, 2)))
    static_targets = nest.NodeCollection(list(range(2, 71, 2)))
    stdp_sources = nest.NodeCollection(list(range(31, 100, 2)))
    stdp_targets = nest.NodeCollection(list(range(32, 101, 2)))
    nest.Connect(static_sources, static_targets, "one_to_one", "static_synapse")
    nest.Connect(stdp_sources, stdp_targets, "one_to_one", "stdp_synapse")
    return {
        "static_synapse": {"sources": static_sources, "targets": static_targets},
        "stdp_synapse": {"sources": stdp_sources, "targets": stdp_targets},
    }