Closed alexpiet closed 2 years ago
question: do we want full trace metrics split by engaged vs. disengaged?
Those would probably be nice to have in addition to the full trace not split by engagement. I dont have any immediate use for them.
This was solved by https://github.com/AllenInstitute/visual_behavior_analysis/pull/797
noise_level
metricnoise_level = np.median(np.abs(np.diff(dff_trace)))/np.sqrt(ophys_frame_rate)
mean_response
metricnp.mean(dff_trace)
SNR
metric, just the ratio of the mean_response and noise level