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

FileNotFoundError: REWARD_VS_z_score_VS.h5 does not exist #41

Closed Jiachen24 closed 1 year ago

Jiachen24 commented 1 year ago

Hi! I got the error 'REWARD_VS_z_score_VS.h5 does not exist' when I push open visualization gui. I couldn't find this in the output filepath. I only got 'REWARD_VS.hdf5'. Please let me know if you need more information. Thanks! Screenshot 2023-05-24 153554

Jiachen24 commented 1 year ago

Sorry, I think the error starts from the 'extract timestamps'

image

venus-sherathiya commented 1 year ago

what you see in the screenshot above is not related so ignore that. It won't affect your output results. you are getting an error in PSTH Computation step. Please send me the screenshot of it.

Jiachen24 commented 1 year ago

Thanks for your reply! You are right, the error is from PSTH computation. Do the timestamps in control channel and signal channel should be same? My recording system doesn't illuminate the control channel and signal channel together, it is delivered in time division method. I guess that's why I have error in PSTH computaiton. I fixed it by making the timestamps in control and signal channel identical.

venus-sherathiya commented 1 year ago

yes, it should be same !! your data is collected from which system TDT or Doric or NPM ? or you are using csv files ?

Jiachen24 commented 1 year ago

I am using csv files. I think you could close this issue. Thanks for making this tool!

venus-sherathiya commented 1 year ago

okay !! Please let me know if you have any questions in the future !!

isabella-ca commented 1 year ago

Hello, I am having the same problem, and I have tried fixing it by setting the timestamps the same in signal and control, but the problem persists... was there anything else you did to fix the problem?