First Year Data Analysis
Welcome to my First Year Data Analysis Code Repository!
There's lots to see and do in this merry land. Special thanks to the Python uncertainties
package for eliminating the need for me to ever calculate uncertainties by hand, like some sort of Neanderthal. If you don't already have this package installed, or for some reason use Sypder, go to your Terminal on your respective operating system (on Windows, this is Win+R, then type cmd
; on Mac, this is Cmd+Space, then type terminal
), and type the following command:
pip install uncertainties
Capacitance Data Analysis
You can find this under the aptly-named capacitance-data-analysis.py
. You should be able to obtain plots that look something along these lines.
Diffraction Data Analysis
My magnum opus. Using diffraction-data-analysis-b-altered.py
contains ways you can correct the curve_fit obtained from Scipy to make it better fit the curve through applying phase shifts, vertical and horizontal scalings.
Lenses Data Analysis
Some output along these lines is expected from the file lenses-data-analysis.py
: