psy_python_course

所属分类:Python编程
开发工具:Jupyter Notebook
文件大小:1404KB
下载次数:0
上传日期:2019-12-19 21:00:00
上 传 者sh-1993
说明:  Python和Pygame心理学实验编程课程
(Python and Pygame course for programming Psychology Experiments)

文件列表:
labs (0, 2019-12-20)
labs\Lab1 (0, 2019-12-20)
labs\Lab1\.ipynb_checkpoints (0, 2019-12-20)
labs\Lab1\.ipynb_checkpoints\Lab1-checkpoint.ipynb (3590, 2019-12-20)
labs\Lab1\Lab1.ipynb (3590, 2019-12-20)
labs\Lab10 (0, 2019-12-20)
labs\Lab10\.ipynb_checkpoints (0, 2019-12-20)
labs\Lab10\.ipynb_checkpoints\Lab10-checkpoint.ipynb (3011, 2019-12-20)
labs\Lab10\Lab10.ipynb (3011, 2019-12-20)
labs\Lab10\TextPresenter.py (2229, 2019-12-20)
labs\Lab10\config.py (2380, 2019-12-20)
labs\Lab10\experiment.py (14618, 2019-12-20)
labs\Lab10\instructions (0, 2019-12-20)
labs\Lab10\instructions\endtask.txt (14, 2019-12-20)
labs\Lab10\instructions\goodbye.txt (236, 2019-12-20)
labs\Lab10\instructions\intro1.txt (325, 2019-12-20)
labs\Lab10\instructions\intro2.txt (414, 2019-12-20)
labs\Lab10\instructions\starttask.txt (32, 2019-12-20)
labs\Lab10\instructions\welcome.txt (198, 2019-12-20)
labs\Lab10\main_gonogo.py (119, 2019-12-20)
labs\Lab10\stimuli (0, 2019-12-20)
labs\Lab10\stimuli\stimuli.csv (60, 2019-12-20)
labs\Lab2 (0, 2019-12-20)
labs\Lab2\.ipynb_checkpoints (0, 2019-12-20)
labs\Lab2\.ipynb_checkpoints\Lab2-checkpoint.ipynb (14716, 2019-12-20)
labs\Lab2\Lab2.ipynb (14716, 2019-12-20)
labs\Lab2\__pycache__ (0, 2019-12-20)
labs\Lab2\__pycache__\cocktails.cpython-35.pyc (21472, 2019-12-20)
labs\Lab2\cocktails.py (43022, 2019-12-20)
labs\Lab2\instructions.txt (199, 2019-12-20)
labs\Lab2\sometext.txt (105, 2019-12-20)
labs\Lab3 (0, 2019-12-20)
labs\Lab3\.ipynb_checkpoints (0, 2019-12-20)
labs\Lab3\.ipynb_checkpoints\Lab3-checkpoint.ipynb (9482, 2019-12-20)
labs\Lab3\.ipynb_checkpoints\Lab3Solution-checkpoint.ipynb (7365, 2019-12-20)
labs\Lab3\Lab3.ipynb (9482, 2019-12-20)
labs\Lab4 (0, 2019-12-20)
labs\Lab4\.ipynb_checkpoints (0, 2019-12-20)
... ...

# Programming Psychology Experiments in Python Welcome to the course "Programming Psychology Experiments in Python". This course gives an integrative overview of programming psychology experiments using the programming language Python and the graphics library PyGame. The course is structured as follows: The first part introduces basic programming concepts of Python in the context of computerized psychology experiments. The second part introduces the basics of PyGame and its use for programming experiments. The last part introduces object oriented programming techniques. Each chapter is accompanied by lab exercises (table at the bottom of this page). These exercises allow students to practice the concepts described in each chapter in more depth. Feedback and recommendations for improvement are always welcome. --- ## Course Outline ### 1. Introduction: Python and Pygame - [Installation of Python and Pygame](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter1/Installation.ipynb) - [Running Python Programs](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter1/RunningPython.ipynb) ### 2. Python Basics - [Variables, Operators, and Comments](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter2/VarOperatorsComments.ipynb) - [Standard Data Types](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter2/StandardDataTypes.ipynb) - [User Input](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter2/UserInput.ipynb) - [Reading and Writing a File](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter2/ReadingWritingFiles.ipynb) ### 3. Python Dynamics - [If-Then Branching](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter3/IfThenBranching.ipynb) - [For- and While-Loops](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter3/Loops.ipynb) ### 4. Python Functions - [Functions Basics](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter4/FunctionsBasics.ipynb) - [Structuring a Program with Functions](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter4/FunctionStructure.ipynb) ### 5. A Mini Experiment - [Console Experiment](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter5/MiniExperiment.ipynb) ### 6. Graphics Basics with PyGame - [Introducing PyGame](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter6/IntroPygame.ipynb) - [Presenting Text](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter6/PresentingText.ipynb) - [Drawing Shapes](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter6/DrawingShapes.ipynb) ### 7. Collecting Responses - [Recording Responses](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter7/RecResp.ipynb) - [Saving Responses to a Data File](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter7/SaveResp.ipynb) ### 8. Presenting Instructions - [Loading Instructions](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter8/LoadingInstructions.ipynb) - [Instruction Presentation](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter8/InstructionPresentation.ipynb) ### 9. Putting it Together: An Experiment - [Planning and Structuring the Experiment](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter9/PlanExp.ipynb) - [Programming the Experiment](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter9/ProgramExp.ipynb) ### 10. Object Oriented Programming (OOP) - [OOP Principles and Classes](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter10/OOPPrinciples.ipynb) - [The Experiment Settings Class](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter10/ExpSettingsClass.ipynb) - [The Experiment Main Class](https://github.com/imarevic/psy_python_course/blob/master/notebooks/Chapter10/ExpMainClass.ipynb) --- ## Lab Exercises The links to the lab exercises and solutions are in the following table. Each lab exercise corresponds to the contents of one chapter. | Lab Exercise | Solution | |:------------:|:--------------:| | [Lab 1](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab1/Lab1.ipynb) | [Lab 1 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab1Solution.ipynb) | | [Lab 2](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab2/Lab2.ipynb) | [Lab 2 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab2Solution.ipynb) | | [Lab 3](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab3/Lab3.ipynb) | [Lab 3 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab3Solution.ipynb) | | [Lab 4](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab4/Lab4.ipynb) | [Lab 4 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab4Solution.ipynb) | | [Lab 5](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab5/Lab5.ipynb) | [Lab 5 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab5Solution.ipynb) | | [Lab 6](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab6/Lab6.ipynb) | [Lab 6 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab6Solution.ipynb) | | [Lab 7](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab7/Lab7.ipynb) | [Lab 7 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab7Solution.ipynb) | | [Lab 8](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab8/Lab8.ipynb) | [Lab 8 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab8Solution.ipynb) | | [Lab 9](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab9/Lab9.ipynb) | [Lab 9 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab9Solution.ipynb) | | [Lab 10](https://github.com/imarevic/psy_python_course/blob/master/labs/Lab10/Lab10.ipynb) | [Lab 10 Solution](https://github.com/imarevic/psy_python_course/blob/master/labsolutions/Lab10Solution.ipynb)| ---

近期下载者

相关文件


收藏者