Commit e17c9618 authored by Akdel's avatar Akdel

emptier

parent e1996ee0
......@@ -36,11 +36,6 @@ def section_vs_section(section1, section2, fft_molecules, fft_rev_molecules, max
for i in range(section1[0], section1[1], width):
t = time.time()
print(i)
multiple_corr_maxes[:] = 0
fft_products1[:] = 0
fft_products2[:] = 0
corr_maxes[:] = 0
subject_molecules = fft_molecules[i:i+width]
rev_subject_molecules = fft_rev_molecules[i:i+width]
multiple_top_corrs = get_multiple_products(subject_molecules, rev_subject_molecules, db_molecules, multiple_corr_maxes, fft_products1, fft_products2, corr_maxes)
......@@ -67,6 +62,10 @@ 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, fft_products1, fft_products2, corr_maxes):
multiple_corr_maxes[:] = 0
fft_products1[:] = 0
fft_products2[:] = 0
corr_maxes[:] = 0
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