Python for Experimental Psychologists

Python for Experimental Psychologists
Title Python for Experimental Psychologists PDF eBook
Author Edwin S. Dalmaijer
Publisher Taylor & Francis
Total Pages 216
Release 2016-11-03
Genre Psychology
ISBN 1317206444

Download Python for Experimental Psychologists Book in PDF, Epub and Kindle

Programming is an important part of experimental psychology and cognitive neuroscience, and Python is an ideal language for novices. It sports a very readable syntax, intuitive variable management, and a very large body of functionality that ranges from simple arithmetic to complex computing. Python for Experimental Psychologists provides researchers without prior programming experience with the knowledge they need to independently script experiments and analyses in Python. The skills it offers include: how to display stimuli on a computer screen; how to get input from peripherals (e.g. keyboard, mouse) and specialised equipment (e.g. eye trackers); how to log data; and how to control timing. In addition, it shows readers the basic principles of data analysis applied to behavioural data, and the more advanced techniques required to analyse trace data (e.g. pupil size) and gaze data. Written informally and accessibly, the book deliberately focuses on the parts of Python that are relevant to experimental psychologists and cognitive neuroscientists. It is also supported by a companion website where you will find colour versions of the figures, along with example stimuli, datasets and scripts, and a portable Windows installation of Python.

Impractical Python Projects

Impractical Python Projects
Title Impractical Python Projects PDF eBook
Author Lee Vaughan
Publisher No Starch Press
Total Pages 426
Release 2018-11-27
Genre Computers
ISBN 1593278918

Download Impractical Python Projects Book in PDF, Epub and Kindle

Impractical Python Projects is a collection of fun and educational projects designed to entertain programmers while enhancing their Python skills. It picks up where the complete beginner books leave off, expanding on existing concepts and introducing new tools that you'll use every day. And to keep things interesting, each project includes a zany twist featuring historical incidents, pop culture references, and literary allusions. You'll flex your problem-solving skills and employ Python's many useful libraries to do things like: - Help James Bond crack a high-tech safe with a hill-climbing algorithm - Write haiku poems using Markov Chain Analysis - Use genetic algorithms to breed a race of gigantic rats - Crack the world's most successful military cipher using cryptanalysis - Derive the anagram, "I am Lord Voldemort" using linguistical sieves - Plan your parents' secure retirement with Monte Carlo simulation - Save the sorceress Zatanna from a stabby death using palingrams - Model the Milky Way and calculate our odds of detecting alien civilizations - Help the world's smartest woman win the Monty Hall problem argument - Reveal Jupiter's Great Red Spot using optical stacking - Save the head of Mary, Queen of Scots with steganography - Foil corporate security with invisible electronic ink Simulate volcanoes, map Mars, and more, all while gaining valuable experience using free modules like Tkinter, matplotlib, Cprofile, Pylint, Pygame, Pillow, and Python-Docx. Whether you're looking to pick up some new Python skills or just need a pick-me-up, you'll find endless educational, geeky fun with Impractical Python Projects.

Programming Experiments in Python

Programming Experiments in Python
Title Programming Experiments in Python PDF eBook
Author Jonathan Peirce
Publisher
Total Pages 0
Release 2022-01-14
Genre
ISBN 9781473991408

Download Programming Experiments in Python Book in PDF, Epub and Kindle

Python is a free, open-source, cross-platform programming language that allows a great deal to be accomplished in very few lines of code. As well as having a powerful, flexible syntax, Python can interface easily with other libraries and hardware on any computer system, making it ideal for interacting with additional devices hardware (e.g. for fMRI, EEG, eye tracking etc.). Python has become the go-to language for a wide variety of behavioural science studies and experiments. Aimed at advanced undergraduate students, postgraduate students and professional scientists, this textbook provides a comprehensive guide to enable readers to write experiments in Python, or using Python within PsychoPy. This text offers a more advanced guide to developing psychological experiments in Python and can be used as a guide to using software and hardware together - for example, programming a psychological experiment using eye tracking software or EEG systems. Highly practical in nature, the book shows how to programme one full experiment and how to analyse data and scripting. Read together with Building Experiments in PsychoPy, this text is designed to support students who are familiar with PsychoPy and how want to progress into programming in the original software package Python (on which PsychoPy is built). It will help advanced students to programme directly in Python and support them when they use hardware in their experiments, and it particularly suited to those students programming experiments in cognitive psychology and neuroscience.

The Big Book of Small Python Projects

The Big Book of Small Python Projects
Title The Big Book of Small Python Projects PDF eBook
Author Al Sweigart
Publisher No Starch Press
Total Pages 433
Release 2021-06-25
Genre Computers
ISBN 1718501242

Download The Big Book of Small Python Projects Book in PDF, Epub and Kindle

Best-selling author Al Sweigart shows you how to easily build over 80 fun programs with minimal code and maximum creativity. If you’ve mastered basic Python syntax and you’re ready to start writing programs, you’ll find The Big Book of Small Python Projects both enlightening and fun. This collection of 81 Python projects will have you making digital art, games, animations, counting pro- grams, and more right away. Once you see how the code works, you’ll practice re-creating the programs and experiment by adding your own custom touches. These simple, text-based programs are 256 lines of code or less. And whether it’s a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of DNA, each project is designed to be self-contained so you can easily share it online. You’ll create: • Hangman, Blackjack, and other games to play against your friends or the computer • Simulations of a forest fire, a million dice rolls, and a Japanese abacus • Animations like a virtual fish tank, a rotating cube, and a bouncing DVD logo screensaver • A first-person 3D maze game • Encryption programs that use ciphers like ROT13 and Vigenère to conceal text If you’re tired of standard step-by-step tutorials, you’ll love the learn-by-doing approach of The Big Book of Small Python Projects. It’s proof that good things come in small programs!

Coding for Kids: Python

Coding for Kids: Python
Title Coding for Kids: Python PDF eBook
Author Adrienne B. Tacke
Publisher Rockridge Press
Total Pages 0
Release 2019-03-19
Genre Juvenile Nonfiction
ISBN 9781641521758

Download Coding for Kids: Python Book in PDF, Epub and Kindle

Games and activities that teach kids ages 10+ to code with Python Learning to code isn't as hard as it sounds—you just have to get started! Coding for Kids: Python starts kids off right with 50 fun, interactive activities that teach them the basics of the Python programming language. From learning the essential building blocks of programming to creating their very own games, kids will progress through unique lessons packed with helpful examples—and a little silliness! Kids will follow along by starting to code (and debug their code) step by step, seeing the results of their coding in real time. Activities at the end of each chapter help test their new knowledge by combining multiple concepts. For young programmers who really want to show off their creativity, there are extra tricky challenges to tackle after each chapter. All kids need to get started is a computer and this book. This beginner's guide to Python for kids includes: 50 Innovative exercises—Coding concepts come to life with game-based exercises for creating code blocks, drawing pictures using a prewritten module, and more. Easy-to-follow guidance—New coders will be supported by thorough instructions, sample code, and explanations of new programming terms. Engaging visual lessons—Colorful illustrations and screenshots for reference help capture kids' interest and keep lessons clear and simple. Encourage kids to think independently and have fun learning an amazing new skill with this coding book for kids.

A Primer on Scientific Programming with Python

A Primer on Scientific Programming with Python
Title A Primer on Scientific Programming with Python PDF eBook
Author Hans Petter Langtangen
Publisher Springer
Total Pages 942
Release 2016-07-28
Genre Computers
ISBN 3662498871

Download A Primer on Scientific Programming with Python Book in PDF, Epub and Kindle

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen ... does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. ... Summing Up: Highly recommended. F. H. Wild III, Choice, Vol. 47 (8), April 2010 Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” John D. Cook, The Mathematical Association of America, September 2011 This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science. Alex Small, IEEE, CiSE Vol. 14 (2), March /April 2012 “This fourth edition is a wonderful, inclusive textbook that covers pretty much everything one needs to know to go from zero to fairly sophisticated scientific programming in Python...” Joan Horvath, Computing Reviews, March 2015

Real-World Python

Real-World Python
Title Real-World Python PDF eBook
Author Lee Vaughan
Publisher No Starch Press
Total Pages 361
Release 2020-11-10
Genre Computers
ISBN 1718500637

Download Real-World Python Book in PDF, Epub and Kindle

A project-based approach to learning Python programming for beginners. Intriguing projects teach you how to tackle challenging problems with code. You've mastered the basics. Now you're ready to explore some of Python's more powerful tools. Real-World Python will show you how. Through a series of hands-on projects, you'll investigate and solve real-world problems using sophisticated computer vision, machine learning, data analysis, and language processing tools. You'll be introduced to important modules like OpenCV, NumPy, Pandas, NLTK, Bokeh, Beautiful Soup, Requests, HoloViews, Tkinter, turtle, matplotlib, and more. You'll create complete, working programs and think through intriguing projects that show you how to: Save shipwrecked sailors with an algorithm designed to prove the existence of God Detect asteroids and comets moving against a starfield Program a sentry gun to shoot your enemies and spare your friends Select landing sites for a Mars probe using real NASA maps Send unbreakable messages based on a book code Survive a zombie outbreak using data science Discover exoplanets and alien megastructures orbiting distant stars Test the hypothesis that we're all living in a computer simulation And more! If you're tired of learning the bare essentials of Python Programming with isolated snippets of code, you'll relish the relevant and geeky fun of Real-World Python!