fdtd_python

A Python package for Finite-Difference Time-Domain (FDTD) simulations.

source

fdtd_settings

 fdtd_settings (simulation_size, simulation_time, thicknesses,
                refractive_indices)

Initialize self. See help(type(self)) for accurate signature.

Details
simulation_size distance in microns (float)
simulation_time time in ps (#float)
thicknesses array
refractive_indices array

source

easeInOutQuad

 easeInOutQuad (t_in)

source

fdtd_run

 fdtd_run (wavelength, N_w, settings)

wavelength is in microns Let’s have a go at making this work with units!!! N_w: points per wavelength