This commit is contained in:
Till Raab 2023-05-26 10:32:06 +02:00
parent b80a2c8de9
commit d6448209e0

View File

@ -93,7 +93,7 @@ def kde(event_dt, max_dt = 60):
plt.plot(conv_t, conv_array)
def permulation_kde(event_dt, repetitions = 2000, max_dt = 60, max_mem_use_GB = 1):
def permulation_kde(event_dt, repetitions = 2000, max_dt = 60, max_mem_use_GB = 4):
def chunk_permutation(select_event_dt, conv_tt, n_chuck, max_jitter, kernal_w, kernal_h):
# array.shape = (120, 100, 15486) = (len(conv_t), repetitions, len(event_dt))
# event_dt_perm = cp.tile(event_dt, (len(conv_t), repetitions, 1))
@ -157,7 +157,8 @@ def permulation_kde(event_dt, repetitions = 2000, max_dt = 60, max_mem_use_GB =
print(f'bootstrap with {repetitions:.0f} repetitions took {time.time() - t0:.2f}s.')
embed()
quit()
def main(base_path):