Skip to content

Julia scripts I used to process my data in the PHYS3153 course in 2024Fall

License

Notifications You must be signed in to change notification settings

R3G3N3R4T0R/2024Fall-PHYS3153-Analysis-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HKUST 2024Fall PHYS3153 Methods of Experimental Physics II

To preface this. This repository contains code I used to hack up data in this course. This is not anything provided nor endorsed by the faculty, any error in the code is my own, but utilization of the code is on the user yourself, the code should not do anything weird but as they say UB can time travel and kill your dog, nothing is absolute.

These are codes I have used to analyze data obtained in the experiments, after the course ended I have only added documentations and have not changed any code logic.

Installation

First you will need julia v1.10, this is the version I used and should work without issue. I recommend getting it from juliaup using juliaup add 1.10.

Afterwards you can git clone this repository and navigate to a directory with Manifest.toml and Project.toml, then you can start julia using julia --project=., and instantiate the project by typing ]instantiate. Details see Pkg.jl docs on instantiate.

If there is a README file there it should prime you with things you should know using that project.

Knowledge Requisite

I made prolific use of DataFrames.jl and GLMakie.jl so it is a good idea to familiarize yourself with them, Beautiful Makie contains examples you can draw inspirations from.

To navigate the plot in GLMakie you can check out Axis Interaction. You can also enable pop-up data points using DataInspector.

Revise.jl is also a convenient tool for reloading functions from source files so you write more functions and less REPL.

Samples

I have included my own experimental data and exported graphs in appropriate directories. O4 contains multiple scans and I used the newer, higher numbered ones. My generator functions have defaults for my own data only, they are supposed to be changed to your defaults so that you can keep testing in the REPL.

About

Julia scripts I used to process my data in the PHYS3153 course in 2024Fall

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages