@@ -70,7 +70,7 @@ def __init__(self, control):
7070
7171 elif self .control .xtype == "pairs" :
7272 args = [iter (pl )] * 2
73- self .xlist = list (it .izip_longest (* args ))
73+ self .xlist = list (it .zip_longest (* args ))
7474
7575 elif self .control .xtype == "combo" :
7676 self .xlist = list (it .combinations (pl , 2 ))
@@ -226,10 +226,10 @@ def plot(self):
226226
227227 for p in np .arange (0 , self .control .frames * 2 , 2 ):
228228 sti_csd_data_coherence = np .zeros (
229- [self .control .num_fft , self .control .bins ], np .float
229+ [self .control .num_fft , self .control .bins ], np .float64
230230 )
231231 sti_csd_data_phase = np .zeros (
232- [self .control .num_fft , self .control .bins ], np .float
232+ [self .control .num_fft , self .control .bins ], np .float64
233233 )
234234
235235 sti_times = np .zeros ([self .control .bins ], np .complex128 )
@@ -383,7 +383,7 @@ def plot(self):
383383 print ("last " , start_sample )
384384
385385 # create a time stamp
386- start_time , picoseconds = drf .util .sample_to_time_floor (st0 , self . sr )
386+ start_time , picoseconds = drf .util .sample_to_time_floor (st0 , sr )
387387 srt_time = time .gmtime (start_time )
388388 sub_second = int (round (picoseconds / 1e10 ))
389389
0 commit comments