Commit cd1fbdc5 authored by Akdel's avatar Akdel

complex128 to complex64

parent 77915c81
......@@ -57,9 +57,9 @@ def create_and_link_paired_matrices(period, fft_molecules, fft_rev_molecules, ma
# @nb.jit
def get_multiple_products(fft_subject_molecules, fft_subject_rev_molecules, fft_molecules):
multiple_corr_maxes = np.zeros((fft_subject_molecules.shape[0], fft_molecules.shape[0]), dtype=float)
fft_products1 = np.zeros((fft_molecules.shape[0],fft_molecules.shape[1]), dtype=complex)
fft_products2 = np.zeros((fft_molecules.shape[0],fft_molecules.shape[1]), dtype=complex)
corr_maxes = np.zeros(fft_molecules.shape[0])
fft_products1 = np.zeros((fft_molecules.shape[0],fft_molecules.shape[1]), dtype=np.complex64)
fft_products2 = np.zeros((fft_molecules.shape[0],fft_molecules.shape[1]), dtype=np.complex64)
corr_maxes = np.zeros(fft_molecules.shape[0], dtype=float)
for i in range(fft_subject_molecules.shape[0]):
# print("running numba_get_products")
numba_get_products(fft_subject_molecules[i], fft_subject_rev_molecules[i], fft_molecules, fft_products1, fft_products2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment