Experimental Data Analysis Lab

PHYS 391 - Winter 2015

http://physics-server.uoregon.edu/~dlivelyb/phys391/
Updated Tues, 7-January, 2015

 

Instructor Dean ('Dr. D.) Livelybrooks, with help from Dr. Elsa Johnson and Prof. Greg Bothun Willamette 225, 346-5855
dlivelyb (at) uoregon
Office Hours: W/Th 9:00-10:00
Lab
Assistant
Spencer Alexander WIllamette 215 salexand (at) uoregon Office Hours: M1400, F1600 (latter in 155 Will.)
Lecture Tu 3:30-4:50 Willamette 318
Labs Fridays at 10:00, 12:00 or 14:00
Textbook Introduction to Error Analysis, 2ed, Taylor (required)
Getting Started with MATLAB, Pratap (recommended, not required)

Overview

This course will introduce the basic concepts of data analysis and practical techniques for implementing them incorporating methods of scientific computation. Half of the course will emphasize the theoretical foundation of data analysis with lectures and homework assignments, while the other half will focus on the practical application of analyzing data acquired as part of lab assignments. Development of programming techniques for performing data analysis and data visualization will also be stressed using MATLAB or python (your choice). The following topics will be covered:

Grading

Course grades will be based on five bi-weekly homework assignments, the first involving programming to import and analyze data, then 3 from Taylor (40%), and a final assigment involving programming and using Fourier transforms. Five bi-weekly lab assignments (60%) complete the assigned work. There will be no examinations (midterm or final) for this course, so it is important for students to turn in all assigned work when it is due. Late assignments will either be significantly penalized or not accepted at the instructors discretion. The final lab assignment will be due during finals week in place of a final examination.
In order to pass the course, you must complete all of the labs! It is also noteworthy that not completing all homework assignments will reduce your point total, resulting very likely in a significantly lower grade.

Grades will be awarded based on the departmental grading policy. Modifiers (+/-). I may adjust the grade boundaries depending upon the final distribution so that students with similar scores will receive similar grades.

Syllabus

Week Topic Lab
(due following Tuesday)
Homework
(due following Tuesday)
Reading
Week 1
1/5 - 1/9
Measurement Uncertainties, Intro do Scientific Programming Tasks

Lab 1: Coding to read, plot and analyze data

(data file link here)

HW1 Taylor Ch. 1-3
Week 2
1/12 - 1/16
More on 'Error,' more about Scientific Programming Lab 2: Brownian Motion Taylor Ch. 4
Week 3
1/19 - 1/23
Normal Distribution (here are 3 lab snippets showing... HW2 Taylor Ch. 5
Week 4
1/26 - 1/30
Weighted Average

1: background;

2: histogram;

3: histogram + table with analysis )

Taylor Ch. 6-7
Week 5
2/2 - 2/6
Linear Regression

Lab 3: Astronomical Image Data Processing

HW3 Taylor Ch. 8
Week 6
2/9 - 2/13
Binomial Distribution and Random Walks Taylor Ch. 10
Week 7
2/16 - 2/20
Fourier Transforms Lab 4: Fourier Transforms HW4 FFT Handout
Week 8
2/23 - 2/27
Fourier Transforms II
Taylor Ch. 11
Week 9
3/2 - 3/6
Climate Change Data Lab 5: Forecasting Arctic Sea Ice Coverage HW5
Week 10
3/9 - 3/13
'Features' in Data Sets
Finals Week (but not us!)
3/16 - 3/20
Final Lab Due Weds 3/18 at 5 PM

This syllabus is tentative, and is subject to change as the quarter progresses.

MATLAB or python

One of the goals of this course is for you to develop the skills to properly undertake non-trivial data analysis of large data samples. There are many different tools available to do this, including the programming 'language du jour' python. You can learn scientific programming and complete assignments for this course using either MATLAB or python. MATLAB is relatively easy to learn, very powerful, and widely used in Science and Engineering disciplines, but does cost money to install on your computer (student version is ~$100). Python and MATLAB are somewhat similar, though python's environment takes more effort to set up. Python's main advantage is that it is free to install on your computer. There are also many 'packages' of pre-programmed functions and scripts available for use with python, a few of which are emphasized in this course (for example, in Lab 3). MATLAB and python are also good examples of 'procedural programming', and the general techniques learned in this course can easily be transferred to the language or tool of your choice later. MATLAB is widely (and freely) available at the University of Oregon on UO-owned computers, including those in our lab. We have also loaded python on those computers. Some possibilities are listed on the MATLAB Information page. You will need to use either python or MATLAB extensively in this course, so you should invest some time in the first two weeks to make sure you have a working computing environment which you can use and you are happy with.

Lectures

Lecture 4 - Link to Matlab linear/quadratic fitting demonstrated in class and to zip file with my fitting functions (will be posted)

Homework

Homework will typically be assigned every other week on Tuesday and due on the following Tuesday at the start of class. The homework will mostly be problems from Taylor forcing you to work through a particular concept 'by hand' at least once. Supplimental problems to exercise your MATLAB skills may also be assigned.

ALL HW ASSIGNMENTS DUE BY NOON.

Labs

Lab assignments will be made every two weeks and will be due on Tuesday during weeks when homework is not due. It is expected that you will work on your labs during the two weeks before they are due. Assigned lab times will be available when TAs or I will be in room 17 to provide support and advice, although you are free to work on the labs whenever you have time available. You will be expected to work with a partner, although each member of the lab group is expected to turn in their own material including the data analysis and any associated code.

Formal write-ups will not be required, although I do expect you to keep a lab notebook which clearly shows the work you have done. I really want to see proof that you did the lab and understood the material. Neatly organized notes taken during the lab itself, answers to the questions posed in the lab writeup, plus a short summary giving the main quantitative results in your notebook is perfectly adequate. If you are very sloppy in your notes, you may also turn in a longer printed write up, but please get into the habit of taking neat legible lab notes. Either way, please turn in your lab notebook (legible or not) on Tuesday in class. For labs with significant computer work, your M-files and supplemental material should be emailed to me directly as well.

For an upper-division course, the university expects students to spend one hour in class and two hours out of class for each credit. While each student will vary, you should expect on average to put this much time into this course. In particular, you should not expect to complete all of the lab work during the scheduled lab times each week, although you certainly should be able to collect all of the necessary data during that time. Make sure you do not try to start your lab assignments at the last minute. Most students who struggle in this course simply don't invenst enough time in completing the labs.

ALL LAB ASSIGNMENTS DUE BY NOON.

Academic Honesty

There is arguably a grey area between working together collaboratively on a homework assignment or lab, and just copying somebody else's work. In general, however, it is usually very apparent to the people involved whether a student is really contributing to a result, or just copying from others. Copying answers and passing them off as your own work, either from another student or from any other source is no different from plagiarism and will be dealt with according to the UO rules and procedures for academic misconduct.

You are responsible for all the work you turn in for this course. You are encouraged to work with others to help your understanding, but anything you write down on your homework or you lab assignments needs to be your own work. You can certainly collect data with your lab partner and discuss the methods for analyzing the data and even compare your results, but all written and code work must be your own. Please note that THIS MEANS EACH STUDENT SHOULD TURN IN THEIR OWN CODE ASSIGNMENTS TO THE INSTRUCTOR, I WON'T ACCEPT 'GROUP' CODE ASSIGNMENTS.