photon_ratio function

Photo:photon ratio