Laboratory Sessions

General Lab Info:

Questions, comments? Ask/contact E. Harms (harms@fnal.gov) or N. Neveu (nneveu@slac.stanford.edu)

  • Please turn in labs 3 days after you performed the lab. The first lab is due Wednesday of the first week, 19 June.
  • Only one lab report per group needs to be turned in - it is your option to submit as a group or individually.
  • Please give some thought (on Monday afternoon), to how you can evenly distribute the work load among group members.
  • Lab intro slides
  • Some documentation on Python notebooks:

Schedule:

2019s Lab teams schedule.xlsx

Computer Labs:

  • You can use your laptop or the computers in class.
  • If you choose to use your laptop, make sure you have a working Python 3.x and Jupyter Lab.
    • If you do not have these installed, follow the setup instruction below.
  • If you choose to use the lab computers, you do not need to setup python or Jupyter.
    • Note, these are the computers IN OUR CLASSROOM, NOT the general USPAS computer lab.
    • Python and jupyter lab will be installed on these computers already
  • The notebooks are on Github.

Set up Python and Jupyter on your laptop, by following these instructions.

How to open Python notebooks (if you're using a laptop)

  1. Open a terminal
  2. Use 'cd' to 'change directories' to the location of your notebooks.
    • i.e. on my computer -> cd Documents/USPAS-fundamentals-labs/
    • start Jupyter lab -> jupyter lab

If working on your own computer, download the latest sheets from https://github.com/nneveu/USPAS-fundamentals-labs.

Make sure to open the sheet inside of Jupyter Lab, see instructions above.

If you want to view the sheet (not execute it), you can view it here with code, OR here without code .

If working on the lab computer, please make a copy of the sheet in your own folder.

Emittance Dilution and Dispersion

If working on your own computer, download the latest sheets from https://github.com/nneveu/USPAS-fundamentals-labs.

If you want to view the sheet (not execute it), you can view it here with code OR here without code.

If working on the lab computer, please make a copy of the sheet in your own folder.

This lab uses Sirepo, and Python.

If working on your own computer, view the sheet here.

If working on your own computer, download the latest sheets from https://github.com/nneveu/USPAS-fundamentals-labs.

Make sure to open the sheet inside of Jupyter Lab, see instructions above.

If you want to view the sheet (not execute it), you can view it here with code OR here without code.

If working on the lab computer, please make a copy of the sheet in your own folder.

This lab uses Sirepo, you will not need Python.

If working on your own computer, view the sheet here or download from github.

If working on the lab computer, please make a copy of the sheet in your own folder.

Hands-On Labs:

Quadrupole Magnet

[pdf] https://drive.google.com/file/d/1xERd5R_YPEvehjO19zVeQo81zFfVVT3b/view?usp=sharing


Poisson evaluation file (Partial quadrupole)

FEM evaluation (full USPAS quadrupole)