Changing lattice_type swaps in a different Brillouin zone and a new high-symmetry path. The classic TE photonic bandgap in a dielectric slab with air holes lives in this geometry, between the first two bands around the K point. The lattice vectors are normalised so the lattice constant a is still 1, but the reciprocal lattice (and therefore the k-coordinates) are different from the square case.
1import blaze
2
3# "hex" and "triangular" are accepted aliases for "hexagonal".
4result = blaze.solve(
5 lattice_type="hexagonal",
6 epsilon_background=13.0,
7 epsilon_atoms=1.0, # air holes in a dielectric slab
8 radius_atom=0.3,
9 polarization="TE",
10 n_bands=8,
11)
12
13print(result.k_labels) # ['Γ', 'M', 'K', 'Γ']