q_fraction function

Photon:photon fraction