Skip to content

Repository for code, example data and documentation for the Python for Experimental Research and Analysis workshop

License

Notifications You must be signed in to change notification settings

zeyus-research/PyResearchWorkshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python for Experimental Research and Analysis Workshop

00539-147397801-experimental research and analysis, empty room, cyberpunk, dark psychedelic colors, futuristic, cognition, science

Table of Contents

Preparation

Most of what we will work with will be provided in this GitHub repository, but there are a few things you can get set up so we don't have to spend time on it during the workshop.

Tools

Please have the following tools installed on your computer:

  • Git
  • Miniforge Note: please remember the location where miniforge is installed, e.g. C:\Users\myusername\miniforge3 or /home/myusername/miniforge3.
  • VScode

Environment Setup

Now that you have the tools installed, you can try setting up an environment that we will work with. Give it a go, if you get stuck, no problems, we can finish setting up at the start of the workshop. Please follow the appropriate instructions for your computer and operating system.

Windows PC

  1. Open a terminal with ⊞ + R (Windows key + R) and type cmd.exe and press enter
  2. You should see a window like the following:
    image
  3. Now we can make miniforge/conda commands available by running the command C:\Users\myusername\miniforge3\condabin\mamba.bat init --all remember to replace "myusername" with your username, the path should match the miniforge install location. You will see a list of different shells which miniforge will try to set up, you will probably only see a couple that say modified, this is normal
  4. Close the terminal
  5. Open a terminal again (the same way as step 1)
  6. Paste the following command in the terminal mamba create -y -c conda-forge -c cogsci -npyworkshop python=3.10 psychopy pygame ipykernel matplotlib scipy scikit-learn numpy seaborn pandas and press enter.
  7. You'll see an install progress and then text that looks something like:
    image

Congrats, it's all ready to go!

Mac OSX / Linux

  1. Open a terminal with CMD + space and search for "Terminal", or open a terminal from Applications
  2. You should see a terminal window open
  3. Now we can make miniforge/conda commands available by running the command /home/myusername/miniforge3/condabin/mamba init --all remember to replace "myusername" with your username, the path should match the miniforge install location. You will see a list of different shells which miniforge will try to set up, you will probably only see a couple that say modified, this is normal
  4. Close the terminal
  5. Open a terminal again (the same way as step 1)
  6. Paste the following command in the terminal mamba create -y -c conda-forge -c cogsci -npyworkshop python=3.10 psychopy pygame ipykernel matplotlib scipy scikit-learn numpy seaborn pandas and press enter.
  7. You'll see an install progress and then text that looks something like:
    image

Congrats, it's all ready to go!

Workshop

We will work through some examples and exercises, it's informal and you can ask questions at any time.

All of the resources we need are in this repository and we will go through them together on the day, starting with 01_setup.

Workshop Contents

Resources

You can find a handy list of resources here.

About

Repository for code, example data and documentation for the Python for Experimental Research and Analysis workshop

Resources

License

Stars

Watchers

Forks

Languages