From 08801e5c91dc3db34d917338930986ec42cdd39a Mon Sep 17 00:00:00 2001 From: jo460464 Date: Fri, 20 Oct 2023 14:05:27 +0200 Subject: [PATCH 1/2] shift right edges back to correct values Co-authored-by: skrausse --- elephant/spike_train_synchrony.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elephant/spike_train_synchrony.py b/elephant/spike_train_synchrony.py index bf6e181e6..9469e3150 100644 --- a/elephant/spike_train_synchrony.py +++ b/elephant/spike_train_synchrony.py @@ -397,10 +397,12 @@ def annotate_synchrofacts(self): ``self.epoch.array_annotations`` *in-place*. """ epoch_complexities = self.epoch.array_annotations['complexity'] + bin_shift = .5 / self.sampling_rate right_edges = ( self.epoch.times.magnitude.flatten() + self.epoch.durations.rescale( self.epoch.times.units).magnitude.flatten() + + bin_shift.rescale(self.epoch.times.units).magnitude ) for idx, st in enumerate(self.input_spiketrains): From cc24a9f08e758892b88ce677d7e7228c5da1c54f Mon Sep 17 00:00:00 2001 From: jo460464 Date: Fri, 20 Oct 2023 14:24:25 +0200 Subject: [PATCH 2/2] add names to contributer list Co-authored-by: skrausse --- doc/authors.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/authors.rst b/doc/authors.rst index 4af092105..31be9f1b9 100644 --- a/doc/authors.rst +++ b/doc/authors.rst @@ -51,6 +51,8 @@ contribution, and may not be the current affiliation of a contributor. * Florian Porrmann [13] * Sarah Pilz [13] * Oliver Kloß [1] +* Jonas Oberste-Frielinghaus [1] +* Sven Krausse [1] 1. Institute of Neuroscience and Medicine (INM-6) and Institute for Advanced Simulation (IAS-6) and JARA-Institute Brain Structure-Function Relationships (INM-10), Jülich Research Centre, Jülich, Germany 2. Unité de Neurosciences, Information et Complexité, CNRS UPR 3293, Gif-sur-Yvette, France