energy_ratio function

Energy:energy ratio