# Issues with SpikeGeneratorGroup

**URL:** <https://brian.discourse.group/t/issues-with-spikegeneratorgroup/626>\
**Category:** Support\
**Created:** [11 March 2022 14:31 UTC](https://brian.discourse.group/t/issues-with-spikegeneratorgroup/626 "2022-03-11T14:31:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Rihana](https://yyz2.discourse-cdn.com/free1/user_avatar/brian.discourse.group/rihana/32/369_2.png) [@Rihana](https://brian.discourse.group/u/Rihana)\
**Post date:** [11 March 2022 14:31 UTC](https://brian.discourse.group/t/issues-with-spikegeneratorgroup/626/1 "2022-03-11T14:31:35Z")

</div>

# Description of problem

I have 3 frequencies for 3 inputs and I’ve generated 3 poisson spikes using PoissonGroup for each of them. an example for the first input is :

> P1 = PoissonGroup(1, rates=rate1)  
> MP = SpikeMonitor(P)  
> run(500\*ms)  
> spikes\_i1 = MP.i  
> spikes\_t 1= MP.t

So I have spikes\_t1, spikes\_t2,spikes\_t3 and also for their indices. because I wanted these generated poisson spikes to remain fixed, I used ‘’’ SGG = SpikeGeneratorGroup(1, spikes\_i1, spikes\_t1) ‘’’ to give the spikes to a NeuronGroup.  
my goal is to give these 3 poisson inputs to my network consecutively during 3 continuous runs.  
Since spikes\_t1, spikes\_t2 and spikes\_t3 have generated over 500 _ms, Since time continues but the spikes time were generated over 500_ms , I don’t know how to set spikes\_time for SpikeGeneratorGroup ( my weights are changing after each input so I want them not to reset). In fact, the only thing should change is spikes\_times for SpikeGeneratorGroup .  
SGG is connected to a NeuronGroup using a synapse.

---

_[View the full topic](https://brian.discourse.group/t/issues-with-spikegeneratorgroup/626)._
