Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

1
0

sta.rst 473 B

123456789101112131415161718
  1. =======================
  2. Spike-triggered average
  3. =======================
  4. .. testsetup::
  5. import numpy as np
  6. import neo
  7. from quantities import ms
  8. from elephant.sta import spike_triggered_average
  9. signal1 = np.arange(1000.0)
  10. signal2 = np.arange(1, 1001.0)
  11. spiketrain1 = neo.SpikeTrain([10.12, 20.23, 30.45], units=ms, t_stop=50*ms)
  12. spiketrain2 = neo.SpikeTrain([10.34, 20.56, 30.67], units=ms, t_stop=50*ms)
  13. .. automodule:: elephant.sta
  14. :members: