PHYS 310 - Experimental Physics

Course Information

Announcements:

  • Welcome to Phys 310. We start Tuesday Jan. 16, 1 pm, Olin 264. Please bring your laptop (if you do not have a laptop, let us know -- we have department laptops)
  • Physics seminars will be posted here - please attend 4 STEM seminars this semester! (Not posted here is still okay.)
  • Thurs Apr 11, 12 pm, Olin 268: Physics seminar - Elisabetta A. Matsumoto (Georgia Tech)
  • Thurs afternoon Apr 11, 4 pm, Dana 134: ``Knots \& knits'' - Sabetta Matsumoto (informal talk about knitting and math)
  • Thurs Apr 25, 12 pm, Olin 268: Physics seminar - Fatima Abdurrahman
  • Thurs Jan 25, 12-1 pm, Olin 268: Rhiannon Hutton, Institute for Defense Analyses
  • Thurs evening Mar 21, 7:30 pm, Traditional Reading Room (Bertrand Library): Physics Alumni Panel
  • Thurs Mar 21, 12 pm, Olin 268: Math seminar - Using citizen science data for statistics
  • Thurs Mar 28, 12 pm, Olin 268: Physics seminar - Marty Ligare (Bucknell)

Homework: Assignments & Solutions

Lecture Materials

  • Class #1 (1/17) Intro to Course and Jupyter
    • Python, Numpy, Matplotlib, & Jupyter notebooks: ipynb, data set sample.dat
  • Class #2 (1/24) - Data Analysis I. Distributions & Simulated experiments:
  • Class #3 (1/31) - Data Analysis II.
    • Coin Flips and the Central Limit Theorem: html,
    • Error propagation: ipynb,
  • Class #4 (2/6) - Data Analysis III. Curve Fitting I
  • Class #5 (2/13) - Scientific Papers in Latex :
  • Class #6 (2/20) - Figures & Paper Structure
  • Class #7 (3/19) - Data Analysis IV. Fitting Models to Data
    • Fitting and \(\chi^2\) error surfaces; Class worksheet with fit to a Gaussian: ipynb,
    • Example code for surface and contour plots: html, ipynb.
  • Class #8 (3/28) - Data Analysis V. Hypothesis Testing, & Scientific Literature Search
    Hypothesis testing:
  • Class #10 (4/16) Scientific Talks:

    Experiments

    Resources

    Python Jupyter Notebooks

    • File I/0: html, ipynb, test1.dat, test2.csv
    • Tools for Statistics: html, ipynb; Random Numbers, Tools for Distributions, Histograms
    • Curve Fitting:
      • Example of nonlinear least squares fitting using curve_fit() from the optimize sub-module of scipy (works for fitting of linear models too) html, ipynb, sample2.dat;
      • Example of linear least squares fitting using curve_fit() from the optimize sub-module of scipy html, ipynb
    • Other examples (not necessarily for PHYS 310)
      • Overview of python use for experimental physics applications: external website
      • Linear Curve Fitting using np.linalg.lstsq (based on Jack Gallimore's mlr.py): html, ipynb, sample.dat
      • Vpython: html, ipynb
      • Simple numerical integration (Euler, as in PHYS 211, 212, 221): html, ipynb
      • Numerical evaluation of integrals using quad() from the integrate submodule of scipy: html, ipynb
      • Numerical solution of ODEs using odeint() from the integrate sub-module of scipy: html, ipynb
      • Root finding: html, ipynb
      • Chaos: Driven damped pendulum (PHYS 331): html, ipynb
      • FFTs: html, ipynb
      • Numerical differentiation (including divergence, gradient, curl, etc.): html, ipynb
      • Intro to Sympy (symbolic computation) --- variables, integration, differentiation: html, ipynb
      • Symbolic solution of differential equations using sympy: html, ipynb
      • More symbolic computation examples: nbviewer,
      • Line integrals using sympy (PHYS 333): html, ipynb
      • Astronomy Examples:
        • Downloading image, separating RGB, writing FITS files: html, ipynb
        • Downloading a FITS file: html, ipynb

    Writing of Scientific Papers

    Literature Search Tools

    LaTeX