Calculation of photon dispersion relations | Synapse