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:
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.
- If corrections are made during the class (an announcement will be made), please re-download or pull the newest version at the links below, or: https://github.com/nneveu/USPAS-fundamentals-labs
Set up Python and Jupyter on your laptop, by following these instructions.
How to open Python notebooks (if you're using a laptop)
- Open a terminal
- 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:
Dipole Magnet
Computer portion is in this pdf as well:
BPM and Toroid
https://drive.google.com/file/d/1ednYJaYiwHNBQUQ5jYshsNHlaAS5cts1/view?usp=sharing
drive.google.com/file/d/1_Ueed6FBqUTIVHwJ66EjzYu23I132Wfh/view?usp=sharing
https://drive.google.com/file/d/1h10Wua8ffbor7ic3cOHUfPyA_zU7xn3s/view?usp=sharing
https://drive.google.com/file/d/1JB-MF04_sO533dxivjG62ikSBaQvw24K/view?usp=sharing
Quadrupole Magnet
[pdf] https://drive.google.com/file/d/1xERd5R_YPEvehjO19zVeQo81zFfVVT3b/view?usp=sharing
Poisson evaluation file (Partial quadrupole)
FEM evaluation (full USPAS quadrupole)