Skip to content

python class to analyze diffraction slit experimental data

Notifications You must be signed in to change notification settings

JacobHA/InterferenceFitting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Interference Pattern Fitting for Slit Diffraction

Python class to analyze diffraction slit experimental data.

TODO:

  • add peak/min detection for calculating observed wavelengths automatically
  • add possible cutoff parameter: this is the far field diffraction limit after all
  • add more customizable plotting options, title, colors etc

Output

After applying to the example file in this repository, we have the following outputs. Output plot: slitgraph Output data:

=========
Observed peak intensity: 0.169
Fitted peak intensity: 0.1759691987726578 +/- 6.584519466019747e-05
=========
True slit spacing: 0.00025
Fitted slit spacing: 0.00024726060262317 +/- 4.746176627367676e-08
=========
True slit width: 4e-05
Fitted slit width: 3.43003371250152e-05 +/- 5.96292694103109e-08
=========

About

python class to analyze diffraction slit experimental data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages