Skip to main content

Module double_slit

Module double_slit 

Source

Structs§

DoubleSlitRenderer
Render double-slit: wall with slits, interference pattern, particles.
DoubleSlitSetup
Configuration for a double-slit experiment.
DoubleSlitSimulation
2D wave simulation of double-slit experiment.

Functions§

intensity_pattern
Analytical Fraunhofer double-slit intensity pattern. I(theta) = I_0 * cos^2(pidsin(theta)/lambda) * sinc^2(piasin(theta)/lambda)
n_slit_pattern
N-slit diffraction pattern.
single_slit_pattern
Single-slit Fraunhofer diffraction pattern.
which_path_measurement
Which-path measurement: detecting which slit kills interference. Returns the pattern when detection probability is applied.