def METHOD_NAME(self):
    #######################################################################
    #  We reset NEST to delete information from previous simulations
    # and adjust the number of threads.
    nest.ResetKernel()
    nest.local_num_threads = self.n_threads
    #######################################################################
    # We create neurons and devices with specified parameters.
    self.neuron = nest.Create(self.model, self.n_neurons, self.params)
    self.noise = nest.Create("noise_generator")
    self.spike_recorder = nest.Create("spike_recorder")