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

Visualization issue #72

Closed Helisane closed 6 months ago

Helisane commented 6 months ago

Hi, I'm a very beginner with fiber photometry and python. Thank you very much for this tool which will make my life easier with starting fiber photometry. I've record GrabDA2m in mice in freely mooving in an openfield without watching any specific behavior. I just wanted to see if I can record a decrease of DA after injection of C21 in my mice which are injected with both GrabDA and DREADDs inhibitor.

I've succeed all the steps of the guppy analysis but i can't open the visualization tool. I obtain this error message in my prompt :

"There are no behavior event TTLS present to visualization"

Is it not possible to just analyse dopaminergic signal ? I've just my injection as "behavior". Thank you.

venus-sherathiya commented 6 months ago

Are you getting any error in Step 5 ? Please look for it in the terminal window Also, can you please send me your storeslist.csv file ?

Helisane commented 6 months ago

No, there is no error in step 5 in the terminal window. storesList.csv

venus-sherathiya commented 6 months ago

As per your storeslist file, I cannot see any behavior TTLs. The Visualization GUI revolves around TTL timestamps. If you do not have TTLs, you still get many information in GuPPy. You can find whatever you get in the output folder.

Helisane commented 6 months ago

I don't have any behavior. I just have one event, the injection of C21 to inhibit DA release with DREADDs. How can I add this information ?

venus-sherathiya commented 6 months ago

If you have the correct timings of the injection, you can create a csv file with the timestamps. The file format should look like Sample_TTL.csv file

Helisane commented 6 months ago

Thank you very much for your answer.

Helisane commented 6 months ago

I have added a TTL file but the step 5 doesn't work anymore now. I don't understand. Here the sreenshot of the prompt window, the added file and the storeslist file. image storesList.csv sample_TTL.csv

venus-sherathiya commented 6 months ago

In the PSTH parameters, there are two options 1) Seconds before 0 and 2) Seconds after 0 Their default values are -10 and 20 respectively. Close guppy and relaunch it. After relaunching, set those parameters to -5 and 10 respectively and rerun Step 5. Please let me know if still get the same error

Helisane commented 6 months ago

It's working thank you very much.

venus-sherathiya commented 6 months ago

issue resolved !!