INM-6 / elephant

Elephant is the ElectroPhysiology Analysis Toolkit
BSD 3-Clause "New" or "Revised" License
9 stars 9 forks source link

Update spike_train_correlation.py #83

Closed Moritz-Alexander-Kern closed 2 years ago

Moritz-Alexander-Kern commented 2 years ago

Improvement of Spike Time Tiling Coefficient (STTC) calculation by utilizing numpy function.

Details: -use numpy.where to find overlapping tiles in run_T -some comments elaborated/changed -changed name of time_A to time_max for maximum time covered by tiles

This enhancement was inspired by Thierry Nieus code: https://github.com/thierrynieus/Spike-Time-Tiling-Coefficient-

Moritz-Alexander-Kern commented 2 years ago

wrong destination for PR