LernerLab / GuPPy

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

DOI Join the chat at https://gitter.im/LernerLab/GuPPy

GuPPy

Guided Photometry Analysis in Python, a free and open-source fiber photometry data analysis tool.

Installation Instructions

GuPPy can be run on Windows, Mac or Linux.

Follow the instructions below to install GuPPy :

  1. Download the Guppy code
    a. Press the green button labeled “Code” on the top right corner and that will initiate a pull down menu.

    b. Click on Download ZIP. (Ensure that you save this ZIP locally, not in any external cloud storage such as iCloud, OneDrive, Box, etc. We suggest saving it in your User folder on the C drive)

    c. Once downloaded, open the ZIP file and you should have a folder named “GuPPy-main”. Place this GuPPy-main folder wherever is most convenient (avoiding cloud storage).

    d. Inside the GuPPy-main folder there is a subfolder named “GuPPy”. Take note of the GuPPy subfolder location or path. It will be important for future steps in the GuPPy workflow

    • Mac: Right click folder → Click Get Info → Text next to “Where:”
      ~ Ex: /Users/LernerLab/Desktop/GuPPy-main
    • Windows/Linux: Right click folder → Properties → Text next to “Location:”
  2. Anaconda is a distribution of the Python and R programming languages for scientific computing. Install Anaconda. Install Anaconda based on your operating system (Mac, Windows or Linux) by following the prompts when you run the downloaded installation file.

  3. Once installed, open an Anaconda Prompt window (for windows) or Terminal window (for Mac or Linux). You can search for "anaconda prompt" or "terminal" on your computer to open this window.

  4. Find the location where GuPPy folder is located (from Step 1d) and execute the following command on the Anaconda Prompt or terminal window:

cd path_to_GuPPy_folder
  1. Next, execute the following commands, in this specific order, on Anaconda Prompt or terminal window:
    • Note : filename in the first command should be replaced by spec_file_windows10.txt or spec_file_mac.txt or spec_file_linux.txt (based on your OS)
    • Some of these commands will initiate various transactions. Wait until they are all done before executing the next line
    • If the Anaconda Prompt or Terminal window asks: Proceed ([y]/n)? Respond with y
      conda create --name guppy --file filename
      conda activate guppy
  2. Lastly, execute the following command to open the GuPPy User Interface:
    panel serve --show GuPPy/savingInputParameters.ipynb

    GuPPy is now officially downloaded and ready to use!

Uninstalling or removing instructions

  1. Open an Anaconda Prompt window (for windows) or Terminal window (for Mac or Linux).

  2. Execute the following command on Anaconda Prompt or terminal window:

    conda remove --name guppy --all
  3. To reinstall, follow steps 1 (Download GuPPy code) and 4 to 6 from the Installation Instructions.

Tutorial Videos

Sample Data

Discussions

Citation

Venus N. Sherathiya, Michael D. Schaid, Jillian L. Seiler, Gabriela C. Lopez, and Talia N. Lerner GuPPy, a Python toolbox for the analysis of fiber photometry data. Sci Rep 11, 24212 (2021). https://doi.org/10.1038/s41598-021-03626-9

Contributors