e_ratio function

Energy:energy ratio