This simple code generates text gdf files. What am I doing wrong?
import nest nest.SetKernelStatus({"overwrite_files": True})
poiss = nest.Create("poisson_generator") nest.SetStatus(poiss, {"rate": float(100.0)}) parrots = nest.Create("parrot_neuron")
sdetector = nest.Create("spike_detector") nest.SetStatus(sdetector, {"withgid": True, "withtime": True, "to_file": True, "label": "receive", "file_extension": "spikes", "binary":True})
nest.Connect(poiss, parrots, 'one_to_one', {"weight":1.0, "delay": 2.0}) nest.Connect(parrots, sdetector)
nest.Simulate(1000.0)