LernerLab / GuPPy

Guided Photometry Analysis in Python, a free and open-source FP analysis tool.
GNU General Public License v3.0
64 stars 11 forks source link

Detect downward peaks #92

Closed MannyEsguerra closed 2 months ago

MannyEsguerra commented 2 months ago

Is there a built in way to detect negative-going peaks in GuPPy, either by inverting the signal or with thresholding?

venus-sherathiya commented 2 months ago

you mean negative peaks in z-score trace ?

MannyEsguerra commented 2 months ago

Does GuPPy only detect positive-going peaks In the signal_xxx ?

venus-sherathiya commented 2 months ago

yes, it only detects positive-going peaks in signal_xxx. You can try inverting the signal and see what it works. But I am not sure how good will it work

MannyEsguerra commented 2 months ago

Is there a way to invert a signal inside Guppy?

venus-sherathiya commented 2 months ago

Unfortunately, there is not. You can write your own small piece of code to do that