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

PSTH Error #63

Closed likpole closed 7 months ago

likpole commented 8 months ago

Hello! I am currently attempting to analyze some data, but am receiving an error when running the PSTH computation. I am unsure of what the error means or how to solve it. Could you please help! I have attached the error image and my PSTH parameters that I have set. Thank you for this amazing program!

image image

venus-sherathiya commented 7 months ago

I think there should be problem with your sampling rate. Your data file may not represent the correct sampling rate. What system are you using for data recording (TDT, NPM, Doric or something else) ?

likpole commented 7 months ago

I am using RWD. The sampling rate is set as 30 fps. I have also attached a screenshot of my data if needed. image

venus-sherathiya commented 7 months ago

if you look at your timestamps, the sampling rate turns out to be 15. please double check on it.

likpole commented 7 months ago

Thank you so much! I was able to get it to work. I was wondering if you had any suggestions to make the data filter better. I am currently getting z-score data that does not look very linear and I was told that the z-score should be straight.

image

venus-sherathiya commented 7 months ago

How does the plots in Extract timestamps and it's correction look like ?

likpole commented 7 months ago

Here is the extract timestamps and correction graph! image

venus-sherathiya commented 7 months ago

please do artifact removal for this data and I think it will look good

likpole commented 7 months ago

Thank you so much for all your help! I really appreciate everything and answering all my questions! This is a great program, so thank you very much!

venus-sherathiya commented 7 months ago

Addressed the issue !!