Useful Programs: http://mybinder.org:/repo/meisep/ferroelectronicsprograms
The Stoner-Wohlfarth Model describes the hysteresis of single domain ferromagnets when an electric field is applied at some angle θ from the easy axis. An interactive python code to quantitatively simulate this hysteresis is available from the depository above.
The reciprocal lattice of a crystal represents the Fourier transform of real space lattice and is used to calculate the expected diffraction pattern from X-ray or neutron diffraction. Operations in real space and reciprocal space have an inverse relationship (increasing length in real space decreases it in reciprocal space) which can oftentimes be difficult to visualize. An interactive python code comparing real space and reciprocal space for arbitrary angles and lengths is available at the depository above.