Codes
code repositories and tools
Mie scattering
- Mie scattering of light by perfect spheres: https://github.com/scottprahl/miepython — extinction, scattering, and absorption efficiencies; asymmetry parameter (scattering anisotropy); angle-resolved scattering intensities; Mie expansion coefficients; complex amplitude functions and Mueller matrices; E-field and H-field calculations in the near-field around a sphere
- Calculate scattered and internal fields for a spherical particle using Mie theory: https://github.com/andrea-baldi/Mie_Scattered_and_Internal_Fields_3D_Sphere
- Calculate scattered and internal fields for a spherical particle using Mie theory: https://github.com/andrea-baldi/Mie_Scattering_and_Absorption_Sphere
- Calculate the scattering, extinction, and absorption cross-section spectra of core-shell spherical particles: https://github.com/andrea-baldi/Mie_Core_Shell
- monte-carlo-mie-scattering-polydisperse-particles: https://github.com/refetaliyalcin/monte-carlo-mie-scattering-polydisperse-particles
Transfe-matrix method
- Transfer-matrix method for optics of thin and thick multilayer films: https://github.com/sbyrnes321/tmm
Photonic crytal
- Photonic crystal: https://github.com/fancompute/legume
Optimization
- Design broadband thin-film spectral filters by memetic algorithm: https://github.com/YuJerryShi/thin_film_memetic_optimization
Heat transfer
- Heat Transfer Green’s functions for various sources: https://github.com/scottprahl/grheat
Radiative cooling
- Gradient atmospheric model for radiative cooling: https://zenodo.org/records/15620535
- Data files and Matlab codes for analyzing a multilayer thin-film photonic radiative cooler: https://github.com/zaman13/Photonic-Radiative-Cooler
- Radiative Cooling & Heating Calculator: https://github.com/cuity1/Radiation-cooling-and-heating-calculation
- calculating the cooling power and steady-state of a solid plane emitter: https://github.com/WangZhuning/Cooling-power-of-a-solid-plane-emitter
Plot
- Matplotlib: https://matplotlib.org/stable/
- Seaborn: https://seaborn.pydata.org/index.html
- Pyecharts: https://pyecharts.org/#/en-us/
Else
- MATLAB Source Codes: https://people.sc.fsu.edu/~jburkardt/m_src/m_src.html