photonic derivations