The Sun center is by definition at 0,0 in HPC coordinates. self.center is a very confusingly named variable. It gives the data coordinate of the center pixel of the image. This is used to line up the image so that the Sun center is 0,0 but it is not needed to draw the limb in HPC coordinates...it's confusing!