@@ -1005,7 +1005,7 @@ def cache_fft(time_series, ij, lb=0, ub=None,
1005
1005
FFT_conj_slices = {}
1006
1006
1007
1007
for i_channel in all_channels :
1008
- Slices = np .zeros ((n_slices , n_freqs ), dtype = np . complex )
1008
+ Slices = np .zeros ((n_slices , n_freqs ), dtype = complex )
1009
1009
for iSlice in range (n_slices ):
1010
1010
thisSlice = time_series [i_channel ,
1011
1011
i_times [iSlice ]:i_times [iSlice ] + NFFT ]
@@ -1161,7 +1161,7 @@ def cache_to_relative_phase(cache, ij):
1161
1161
channels_i = max (1 , max (ij_array [:, 0 ]) + 1 )
1162
1162
channels_j = max (1 , max (ij_array [:, 1 ]) + 1 )
1163
1163
# Pre-allocate for speed:
1164
- Phi_xy = np .zeros ((channels_i , channels_j , freqs ), dtype = np . complex )
1164
+ Phi_xy = np .zeros ((channels_i , channels_j , freqs ), dtype = complex )
1165
1165
1166
1166
# These checks take time, so do them up front, not in every iteration:
1167
1167
if list (FFT_slices .items ())[0 ][1 ].shape [0 ] > 1 :
@@ -1221,7 +1221,7 @@ def cache_to_coherency(cache, ij):
1221
1221
1222
1222
channels_i = max (1 , max (ij_array [:, 0 ]) + 1 )
1223
1223
channels_j = max (1 , max (ij_array [:, 1 ]) + 1 )
1224
- Cxy = np .zeros ((channels_i , channels_j , freqs ), dtype = np . complex )
1224
+ Cxy = np .zeros ((channels_i , channels_j , freqs ), dtype = complex )
1225
1225
1226
1226
#These checks take time, so do them up front, not in every iteration:
1227
1227
if list (FFT_slices .items ())[0 ][1 ].shape [0 ] > 1 :
0 commit comments