Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Spike Detection Formula #16

Open
2 tasks
KayaHub opened this issue Apr 13, 2021 · 0 comments
Open
2 tasks

Update Spike Detection Formula #16

KayaHub opened this issue Apr 13, 2021 · 0 comments

Comments

@KayaHub
Copy link
Collaborator

KayaHub commented Apr 13, 2021

So far spikes are detected based on a user determined threshold ranging from 0-1. Normalized intensity levels equal or above that threshold are considered a peak/spike. However, it has been noticed that some data may require a threshold value greater than 1. Additionally, the detection is much better if the chosen threshold is compared to the average of the normalized intensity data. Based on these insights I propose to update the spike detection formula as follows:

  • 1. allow the user to set a threshold (aka FACTOR) ranging from 0-2 (I do not think that higher values will be necessary)

  • 2. To determine whether an intensity value corresponds to a peak/spike use the following formula: normalized intensity value >= FACTOR*(AVG of all normalized intensity values for that cell). If true write 1 if false write 0 in the respective time frame.

IMG_2257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant