diff --git a/s_functions.py b/s_functions.py index 7d4964c..206e69a 100644 --- a/s_functions.py +++ b/s_functions.py @@ -156,17 +156,20 @@ def simulate_fluorescence_signal(tau_d, tau_nm, tau_tissue, nm_conc, K_D = 1000, df = f-f0 df_f_med = df/f0 - # df/f with the subtracted formula - df_f_med2 = (f_alt - f0)/f0 + # subtracted signal + percentile_mark_prime = np.percentile(f_alt,70) + f0_sub = np.median(f_alt[f_alt