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

Storenames not populating #42

Closed tarynb109 closed 1 year ago

tarynb109 commented 1 year ago

Hi! I'm a grad student new to fiber photometry and I'm interested in using GuPPy to analyze my csv files. I have some fake sample data that I'm testing out from a pyPhotometry, but I'm having some issues with the storenames GUI. It seems that nothing is coming up and there is an alert saying no tdt or csv files are found. This is my first time using GuPPy so is there a certain step that I'm missing? In the input parameters I have moved over my sample data csv file and followed the guidelines for reading generic csv files but I'm a little confused on the storenames. Thanks so much for your help!

venus-sherathiya commented 1 year ago

Hello, Are you moving files or a folder containing your files ? Another question, can I please see the screenshot of your csv file ? I want to make sure that your csv file structure is right.

tarynb109 commented 1 year ago

Just moving one sample file over for testing. I've attached the screenshot - this data is random sample data since we are just setting up our system. Thanks for your response and help!

Screen Shot 2023-06-09 at 9 11 53 AM
venus-sherathiya commented 1 year ago

you should keep your raw data in a folder and move over the folder, instead of files. Also, technically the data in your file does not make sense even if it is a random data. If you keep sampling rate as 1000, one second should have 1000 datapoints. So, your timestamps should look like 0.001, 0.002, 0.003,..., n

Gafonso7 commented 1 year ago

Hello, I am having an issue with finding storenames. Based on the previous comment my timestamps are correct.

Screenshot 2023-06-30 132838

venus-sherathiya commented 1 year ago

There is no sampling_rate in the file. For control or signal channel files. the file should have three columns : timestamps, data, sampling_rate

venus-sherathiya commented 1 year ago

Were you able to solve the issue ? if yes, please close this issue. If not, I am happy to help !!

Gafonso7 commented 1 year ago

I was, thank you for your feedback.

On Tue, Jul 18, 2023 at 4:38 PM Venus Sherathiya @.***> wrote:

Were you able to solve the issue ? if yes, please close this issue. If not, I am happy to help !!

— Reply to this email directly, view it on GitHub https://github.com/LernerLab/GuPPy/issues/42#issuecomment-1640356802, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAPWW6TUGGGNTZPZ77JYSILXQ2NX3ANCNFSM6AAAAAAY54T2WM . You are receiving this because you commented.Message ID: @.***>

venus-sherathiya commented 1 year ago

Addressed this issue.