LernerLab / GuPPy

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

Baseline z-score #79

Closed Helisane closed 1 week ago

Helisane commented 5 months ago

Hi, I would like to try the baseline z-score but I don't understand how to manage the window baseline parameters and I have an issue in the extract timestamps step Exception: Baseline Window Parameters for baseline z-score computation zscore_method are not correct. Can you explain how to do that ? thank you,

venus-sherathiya commented 5 months ago

what parameters are you using in the screenshot I attached here ?

Screenshot 2024-03-18 at 9 51 21 AM
Helisane commented 5 months ago

At now nothing, that's why I ask for more detail. I don't know what parameters I have to use. I use a TTL for an injection point. So I set the point of injection as time 0. So, for the parameters, do I have to use negative time (before the event point) or a positive time if it's independent of the event ? do I have to take consideration of the 1s deleted at the beginning of the record ? Thank you !

venus-sherathiya commented 5 months ago

for baseline z-score computation, what is your window ? Let's say you have a baseline recording for first 5 seconds and you want to use it for baseline z-score computation. If the first seconds is deleted from the recording, you put that window from 1 to 4. I hope I answered your question.

Helisane commented 5 months ago

I record for 5min in baselin before my injection. Ok I will try. Thank you

venus-sherathiya commented 5 months ago

If this answered your question and your analysis worked well, can I please close this issue ?

venus-sherathiya commented 1 week ago

issue resolved because no further activity