Make network windowing centered on 0 Hz
Windowing function should be symmetric about 0 Hz.
Negative frequencies are not included, so cut out the negative
part of the window.
@@ -2194,7 +2194,8 @@ class Network(object):
.. [1] Agilent Time Domain Analysis Using a Network Analyzer Application Note 1287-12
'''
- window = signal.get_window(window, len(self))
+
+ window = signal.get_window(window, 2*len(self))[len(self):]
window = window.reshape(-1, 1, 1) * npy.ones((len(self),
self.nports,
