2018: Difference between revisions

From Advanced Labs Wiki
Jump to navigation Jump to search
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Welcome to Advanced Physics Lab 2017!=
=Welcome to Advanced Physics Lab 2018!=


==Instructors==
==Instructors==
Line 43: Line 43:
#assess the impact of systematic errors.
#assess the impact of systematic errors.


'''Python.''' The tool we will use for the analysis is the Python programming language and its numerical and scientific computing modules. Specifically you will use Ipython Notebooks. We recommend the [https://www.anaconda.com/distribution/ Anaconda Python distribution] (or equivalent).
'''Python.''' The tool we will use for the analysis is the Python programming language and its numerical and scientific computing modules. Specifically you will use Jupyter Notebooks. We recommend the [https://www.anaconda.com/distribution/ Anaconda Python distribution] (or equivalent).


===Presentation===
===Presentation===
Line 68: Line 68:
|-
|-
!Jan 29  
!Jan 29  
| Welcome. Measurement and Errors;  Distributions and Estimators   || LaTeX Tutorial ([https://youtu.be/nSJY8z7KBsg youtube], [https://www.dropbox.com/s/v6sd1i0u2lieaa2/LaTeX_Tutorial_Video.mp4?dl=0  mp4],[https://www.dropbox.com/s/x09bv86plz5f7q9/Latex_Tutorial.tex?dl=0 tex], [https://www.dropbox.com/s/2rewkmq5iyjqn5z/LaTeX_Tutorial.pdf?dl=0 pdf], [https://www.dropbox.com/s/dkqdy9dso4pswr5/fig.png?dl=0 fig.png]) and Python Tutorial 1 ([https://youtu.be/ltBe5Bfpuk8 youtube], [https://www.dropbox.com/s/2fcbcte5rlkd384/Python_Tutorial_1.mp4?dl=0 mp4], [https://www.dropbox.com/s/g1it2haem4w79uy/Python%20Tutorial%201.ipynb?dl=0 pynb]).  
| Welcome. Measurement and Errors;  Distributions and Estimators;  [https://www.dropbox.com/sh/8acev3w63gtklin/AAALbPzDn8g09nFMlEwApbzSa?dl=0 Lecture Notes] || LaTeX Tutorial ([https://youtu.be/nSJY8z7KBsg youtube], [https://www.dropbox.com/s/v6sd1i0u2lieaa2/LaTeX_Tutorial_Video.mp4?dl=0  mp4],[https://www.dropbox.com/s/x09bv86plz5f7q9/Latex_Tutorial.tex?dl=0 tex], [https://www.dropbox.com/s/2rewkmq5iyjqn5z/LaTeX_Tutorial.pdf?dl=0 pdf], [https://www.dropbox.com/s/dkqdy9dso4pswr5/fig.png?dl=0 fig.png]) and Python Tutorial 1 ([https://youtu.be/ltBe5Bfpuk8 youtube], [https://www.dropbox.com/s/2fcbcte5rlkd384/Python_Tutorial_1.mp4?dl=0 mp4], [https://www.dropbox.com/s/g1it2haem4w79uy/Python%20Tutorial%201.ipynb?dl=0 pynb]).  
|-
|-
!Feb 05
!Feb 05
| [[Brownian Motion |Brownian Motion]] (BM) Introduction. [https://advlabwiki.johnshopkins.edu/images/BM_Overview_2017.pdf BM_Overview_2017.pdf] ||  BM Week 1
| [[Brownian Motion |Brownian Motion]] (BM) Introduction. [[Media:BM_Overview_2018.pdf]] ||  BM Week 1
|-
|-
!Feb 12
!Feb 12
|  Outliers; Monte Carlo;  Error Propagation;  
|  Outliers; Monte Carlo;  Error Propagation; [https://www.dropbox.com/sh/arwtn6uy5vf6dc7/AAA0HtBSY-aYJBuCnNYuWk_Na?dl=0 Lecture Notes]
  || BM Week 2
  || BM Week 2
|-
|-
!Feb 19
!Feb 19
|  Consistency and systematic errors;  Weighted average || BM Week 3
|  Consistency and systematic errors;  Weighted average [https://www.dropbox.com/sh/qyfj341fq96xlwf/AAAxZkUAbR2fGY_m6O20b1Pqa?dl=0 Lecture Notes] || BM Week 3
|-
|-
!Feb 26
!Feb 26
|  Brownian Motion Wrap-up || Upload BM by end of Sunday March 5
|  Brownian Motion Wrap-up [https://www.dropbox.com/sh/ac22m828o7iqn53/AABzp-PYs_h6ll9lAH5DiguOa?dl=0 Lecture Notes]|| Upload BM by end of Sunday March 4
|-
|-
!Mar 05
!Mar 05
|  [[Speed of Light]] (SoL) Introduction ||  SoL Week 1; Python Tutorial 2 ([https://youtu.be/uNMeqC76s60 youtube], [https://www.dropbox.com/s/c5cm8zjjkn4kjq0/Python%20Tutorial%202.mp4?dl=0 mp4], [https://www.dropbox.com/s/jhtj9xlkmsbgfw5/Python%20Tutorial%202.ipynb?dl=0 pynb], [https://www.dropbox.com/s/e6q2z44o5rmxe5d/data.txt?dl=0 data.txt])
|  [[Speed of Light]] (SoL) Introduction [[Media:SpeedOfLightOverview_2018.pdf]]||  SoL Week 1; Python Tutorial 2 ([https://youtu.be/uNMeqC76s60 youtube], [https://www.dropbox.com/s/c5cm8zjjkn4kjq0/Python%20Tutorial%202.mp4?dl=0 mp4], [https://www.dropbox.com/s/jhtj9xlkmsbgfw5/Python%20Tutorial%202.ipynb?dl=0 pynb], [https://www.dropbox.com/s/e6q2z44o5rmxe5d/data.txt?dl=0 data.txt])
|-
|-
!Mar 12
!Mar 12
| Maximum Likelihood; Fitting a line ||  SoL Week 2
| Maximum Likelihood; Fitting a line [https://www.dropbox.com/sh/cvety7gkfnq3c0k/AABUx-JGjh20HD4F6spX5rg9a?dl=0 Lecture Notes]||  SoL Week 2
|-
|-
| colspan="3" align="center"| Spring Break
| colspan="3" align="center"| Spring Break
|-
|-
!Mar 26
!Mar 26
| Chi-squared Goodness of Fit ||  SoL Week 3
| Chi-squared Goodness of Fit [https://www.dropbox.com/sh/3ipk3iegn0h7hxl/AAAXQDQjQQix6VsbUbDHTrvta?dl=0 Lecture Notes] ||  SoL Week 3
|-
|-
!Apr 02
!Apr 02
|  SoL Wrap-up ||  Upload SoL by end of Sunday April 9
|  SoL Wrap-up [https://www.dropbox.com/sh/sbn41beqwcdohvv/AACo9gs_mVGos0MElXE6IIoOa?dl=0 Lecture Notes] ||  Upload SoL and BM Revision by Sunday April 8
|-
|-
!Apr 09
!Apr 09
|  [[Galaxy Rotation]] (GR) Introduction || GR Week 1; Python Tutorial 3 ([https://youtu.be/d9gmAj4j50k youtube], [https://www.dropbox.com/s/un8l9fvvmr6hnjh/Python%20Tutorial%203.mp4?dl=0 mp4], [https://www.dropbox.com/s/mu5d1qldz85v7bz/Python%20Tutorial%203.ipynb?dl=0 pynb], [https://www.dropbox.com/s/jq4c5577steg1kb/data.txt?dl=0 data.txt]);  
|  [[Galaxy Rotation]] (GR) Introduction [https://www.dropbox.com/s/797qlsz6gxlrccl/GalaxyRotationOverview2018.pdf?dl=0 Overview] || GR Week 1; Python Tutorial 3 ([https://youtu.be/d9gmAj4j50k youtube], [https://www.dropbox.com/s/un8l9fvvmr6hnjh/Python%20Tutorial%203.mp4?dl=0 mp4], [https://www.dropbox.com/s/mu5d1qldz85v7bz/Python%20Tutorial%203.ipynb?dl=0 pynb], [https://www.dropbox.com/s/jq4c5577steg1kb/data.txt?dl=0 data.txt]);  
Radio Telescope Read Example ([https://www.dropbox.com/s/g8d41nudf7z082v/Radio%20Telescope%20Data%20Read%20Example.ipynb?dl=0 pynb], [https://www.dropbox.com/s/mwx4j8p705dbja8/g30_example.txt?dl=0 g30_example.txt] )
Radio Telescope Read Example ([https://www.dropbox.com/s/qe1njtua9m5a1gt/Radio%20Telescope%20Data%20Read%20Example%202018.ipynb?dl=0 pynb], [https://www.dropbox.com/s/mwx4j8p705dbja8/g30_example.txt?dl=0 g30_example.txt] );
 
Radio Telescope Operating Instruction Video ([https://youtu.be/Ewd3DNJivh4 youtube])
|-
|-
!Apr 16
!Apr 16
| [https://www.dropbox.com/sh/cab3038j5iiitrx/AADq-WHkJOnRgwpA_yfqAFvTa?dl=0 Generalized linear and non-linear fitting] ||  GR Week 2 [https://www.dropbox.com/s/pspapiw81wpbanz/reference_example.txt?dl=0 reference_example.txt]
| Generalized linear and non-linear fitting [https://www.dropbox.com/sh/vhcn5dcbhkoxrrp/AAAuhaKpBMYDS2cK5aw0v8vda?dl=0 Lecture Notes]||  GR Week 2 reference_example.txt
|-
|-
!Apr 23
!Apr 23
|  GR Wrap-up || GR Week 3  
|  GR Wrap-up [https://www.dropbox.com/sh/bq6czms9jyk46gd/AAAnuiuDs0fVHKopVS75lnKza?dl=0 Lecture Notes] || GR Week 3  
|-
|-
!Apr 30
!Apr 30
|  || Upload GR by end of  '''Friday May 4'''  
|  || Upload GR by end of  '''Friday May 11'''
|}
|}


Line 115: Line 117:
'''Evaluation.''' Grades breakdown as 1/3 experiment execution, 1/3 data analysis, 1/3 scientific writing.
'''Evaluation.''' Grades breakdown as 1/3 experiment execution, 1/3 data analysis, 1/3 scientific writing.


'''Collaboration.''' Students are encouraged to discuss experiments, analysis, and other course related issues with the instructors and their peers. However, each person should obtain their own data, perform their own data analysis (e.g., no code sharing), produce their own plots, and write their own report. For SoL, two students will need to collaborate to make the measurement, but each should obtain their own dataset.
'''Collaboration.''' Students are encouraged to discuss experiments, analysis, and other course related issues with the instructors and their peers. However, each person should obtain their own data, perform their own data analysis (e.g., no code sharing), produce their own plots, and write their own report. For BM and SoL, two students may need to collaborate to make the measurement, but each should obtain their own dataset.


'''Ethics.''' The strength of the university depends on academic and personal integrity. In this
'''Ethics.''' The strength of the university depends on academic and personal integrity. In this

Latest revision as of 22:04, 26 April 2018

Welcome to Advanced Physics Lab 2018!

Instructors

Professor: Tobias Marriage (marriage@jhu.edu)

Teaching Assistant: David Ely (dely4@jhu.edu)

Lab Guru: Steve Wonnell (wonnell@jhu.edu)

Learning Assistants: James Damewood (Section 1) and Chenxiao Zeng (Section 2)

Classes

Classes are Monday 10:00-12:50 and 1:30-4:20 in the Physics Undergraduate Computer (PUC) Lab. You will need access to the PUC Lab outside of class hours (using our JHU ID card) to complete experiments. A login for the PUC Lab computers may also be useful. For access to the PUC Lab follow the instructions on this webpage: http://puclab.johnshopkins.edu/application.html.

The first half of class will be devoted to lecture and discussion. The second half of class will be devoted to work with hands-on help from instructors. For the hands-on part, laptops should be brought to every class. See the instructor if you need to borrow a laptop.

Essential Elements

In this class, you will conduct three experiments:

Brownian Motion (BM): The goal of this experiment is to estimate the Boltzmann constant using a measurement of the Brownian motion of microscopic spheres.

Speed of Light (SoL): In this experiment you use the classic "time of flight" measurement by Foucault to estimate the speed of light.

Galactic Rotation (GR): In this experiment you'll use a radio telescope to measure the rotational velocities of clouds of hydrogen in the Galactic disk. You then use the data to discriminate between models of the Milky Way with and without dark matter.

Each experiment may be divided conceptually into three parts: measurement, analysis, and presentation.

Measurement

The first step in the experiment is to carry out a measurement. This requires a thorough understanding of the experimental apparatus. For each experiment a variety and number of measurements are required to estimate the statistical and systematic error on the results.

Safety. Use your common sense in all situations. In these labs you'll encounter manageable hazards. Follow the instructions carefully. Food and drink are not allowed near the labs. Safety also follows from orderliness: please keep (and leave) the lab in an organized state. When in doubt, ask an instructor.

Analysis

Analysis is the evaluation of data towards an interpretation that accounts for errors in the data. Roughly speaking there will be three analysis steps in this class:

  1. process the measured data into a reduced dataset with errors,
  2. interpret the reduced data in the context of a physical model, finding best estimates and errors on model parameters, and
  3. assess the impact of systematic errors.

Python. The tool we will use for the analysis is the Python programming language and its numerical and scientific computing modules. Specifically you will use Jupyter Notebooks. We recommend the Anaconda Python distribution (or equivalent).

Presentation

For each experiment you will write a report. The reports will be presented in a standard scientific format with use of figures and tables. The format should have 1" margins with no smaller than 11 point font. The report should be as concise as possible, approximately 6 pages or less, including figures and tables. The quality of your scientific writing and other presentation elements is crucial. See the media:Report_Checklist_2018.pdf for guidelines when writing your reports.

LaTeX. The document preparation system for reports is LaTeX. If you are new to LaTeX, an online editor is recommended for this class (e.g., ShareLaTeX or Overleaf). You can also download LaTeX freeware for your personal computers (e.g., TeXworks on all platforms, TeXShop for Mac, TeXnicCenter for Windows). The computers in the PUC lab have various installations of LaTeX editors/compilers.

Schedule

Each experiment is allotted approximately four weeks. You must manage your time during these four weeks effectively to succeed in this class. Here is an example schedule:

  • Week 1: Research the measurement, make the measurement, and the write first sections of report
  • Week 2: Analyze data, continue to write, and retake data if needed
  • Week 3: Continue to refine analysis; finish first draft of report
  • Week 4: Revise analysis and report; submit the report

For all but the final experiment, after submission you will meet one-on-one with the instructor to review your work in preparation for the next experiment. For the first experiment, you will be given an opportunity to resubmit a corrected analysis and rewrite of the report.

Week-by-Week

Date 1st Half of Class 2nd Half of Class and Homework
Jan 29 Welcome. Measurement and Errors; Distributions and Estimators; Lecture Notes LaTeX Tutorial (youtube, mp4,tex, pdf, fig.png) and Python Tutorial 1 (youtube, mp4, pynb).
Feb 05 Brownian Motion (BM) Introduction. Media:BM_Overview_2018.pdf BM Week 1
Feb 12 Outliers; Monte Carlo; Error Propagation; Lecture Notes BM Week 2
Feb 19 Consistency and systematic errors; Weighted average Lecture Notes BM Week 3
Feb 26 Brownian Motion Wrap-up Lecture Notes Upload BM by end of Sunday March 4
Mar 05 Speed of Light (SoL) Introduction Media:SpeedOfLightOverview_2018.pdf SoL Week 1; Python Tutorial 2 (youtube, mp4, pynb, data.txt)
Mar 12 Maximum Likelihood; Fitting a line Lecture Notes SoL Week 2
Spring Break
Mar 26 Chi-squared Goodness of Fit Lecture Notes SoL Week 3
Apr 02 SoL Wrap-up Lecture Notes Upload SoL and BM Revision by Sunday April 8
Apr 09 Galaxy Rotation (GR) Introduction Overview GR Week 1; Python Tutorial 3 (youtube, mp4, pynb, data.txt);

Radio Telescope Read Example (pynb, g30_example.txt );

Radio Telescope Operating Instruction Video (youtube)

Apr 16 Generalized linear and non-linear fitting Lecture Notes GR Week 2 reference_example.txt
Apr 23 GR Wrap-up Lecture Notes GR Week 3
Apr 30 Upload GR by end of Friday May 11

Work Submission and Evaluation

Evaluation. Grades breakdown as 1/3 experiment execution, 1/3 data analysis, 1/3 scientific writing.

Collaboration. Students are encouraged to discuss experiments, analysis, and other course related issues with the instructors and their peers. However, each person should obtain their own data, perform their own data analysis (e.g., no code sharing), produce their own plots, and write their own report. For BM and SoL, two students may need to collaborate to make the measurement, but each should obtain their own dataset.

Ethics. The strength of the university depends on academic and personal integrity. In this course, you must be honest and truthful. Ethical violations include plagiarism, reuse of assignments, improper use of the Internet and electronic devices, unauthorized collaboration, alteration of graded assignments, forgery and falsification, lying, facilitating academic dishonesty, and unfair competition. For more info: http://e-catalog.jhu.edu/undergrad-students/student-life-policies/.

Submitting Reports and Notebooks. Reports will be uploaded (upload request links to be provided) in PDF format with iPython Notebooks containing the analysis and any data needed to run the notebook.

Late Policy. The grade of late work will decay exponentially according to the equation exp(-(days late)/7).

Other Resources

Data Analysis

Lectures on data analysis are loosely based on the text

  • Bevington & Robinson, Data Reduction and Error Analysis for the Physical Sciences, 3rd Edition, McGraw-Hill, ISBN 0-07-247227-8, 2003

We have a couple class copies that you can read in the lab. Please keep these in the PUCLab.

Other Data analysis texts include

  • Press, Teukolsky, Vetterling, Flannery, Numerical Recipes in C (Available online)
  • Lupton, "Statistics in Theory and Practice"

LaTeX

Previous Year's Tutorials (No longer supported -- use at own risk!)

And of course... Wikipedia!