Among other functions, BlochCode lets you efficiently calculate reflections off many PC stacks. It does this by calculating a PC's Bloch factors (complex band structure) and impedance from electric and magnetic field data.
This field data can be produced by COMSOL another EM solver, or potentially by experimental near-field data. COMSOL templates for square/rectangular and triangular lattice PCs are provided. Also included are functions to calculate reflection and transmission matrices from impedances, for arbitrary stacks of PCs.
BlochCode is written in Python; it requires SciPy and NumPy to be installed, preferably as part of Sage.
Documentation is available at http://
The method is described in J. Appl. Phys. 111, 013105 (2012) http://
View full history Series and milestones
trunk series is the current focus of development.
All code Code
- Version control system:
- Bazaar
- Programming languages:
- Python