The period function of generalized Loud's centers