Hi Maryada,
If you have a predetermined current that you want to inject, you can use step_current_generator. This should work well if you have only
a limited number of injected currents as suggested by your figure. If you want to inject a very large number of currents, we would need to take another look, since step_current_generator is replicated on all threads, which can cause scaling problems.
If you just want noisy currents, you have the noise_generator for Gaussian noise. If you wanted noise with some amplitude profile (waxing
and waning as in the orange and green curves in your plot), one could probably extend noise_generator to modify the noise amplitude with time in similar ways as for the inhomogeneous_poisson_generator. I am not certain if NESTML already provides all that is
need to do this or if one still would need to implement this on the C++ level.
Note that noise_generator provides stepwise constant noise with Gaussian-distributed values, not strictly white noise, and is thus dependent
on the step size. For details, see
https://nest-simulator.readthedocs.io/en/stable/model_details/noise_generator.html
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Departmend Head
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser@nmbu.no
Home http://arken.nmbu.no/~plesser