From 4066c9b2d42e0ad94e0a15aeb251cfdfb6174f05 Mon Sep 17 00:00:00 2001 From: Jens K Date: Mon, 19 Mar 2018 17:33:44 +0100 Subject: [PATCH] Fix missing import in example (#147) Example does not run without. --- elephant/sta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elephant/sta.py b/elephant/sta.py index 6d3564782..329e35fac 100644 --- a/elephant/sta.py +++ b/elephant/sta.py @@ -226,7 +226,7 @@ def spike_field_coherence(signal, spiketrain, **kwargs): >>> import numpy as np >>> import matplotlib.pyplot as plt - >>> from quantities import ms, mV, Hz, kHz + >>> from quantities import s, ms, mV, Hz, kHz >>> import neo, elephant >>> t = pq.Quantity(range(10000),units='ms')