def METHOD_NAME(self):
    ps = PatternSpiker()
    sim.setup(timestep=1)
    simtime = 32
    spike_rate = 5
    spike_rec_indexes = [1, 3, 5, 7, 9, 10]
    v_rec_indexes = [0, 21, 32, 45]
    v_rate = 3
    pop = ps.create_population(sim, n_neurons=32 * 2, label="test",
                               spike_rate=spike_rate,
                               spike_rec_indexes=spike_rec_indexes,
                               v_rate=v_rate, v_rec_indexes=v_rec_indexes)
    sim.run(simtime)
    sim.run(simtime)
    sim.run(simtime)
    ps.check(pop, simtime * 3,
             spike_rate=spike_rate, spike_rec_indexes=spike_rec_indexes,
             v_rate=v_rate, v_rec_indexes=v_rec_indexes, is_view=False)
    ps.check(pop, simtime * 3,
             spike_rate=spike_rate, spike_rec_indexes=spike_rec_indexes,
             v_rate=v_rate, v_rec_indexes=v_rec_indexes, is_view=True)
    sim.end()