get.Py function

Method to compute the value of PYP_{Y}