<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_centers(self, estimation):
 """Get estimation on centers Parameters estimation : 1D arrary Either prior of posterior estimation Returns ------- centers : 2D array, in shape [K, n_dim] Estimation on centers """

        centers = estimation[0:self.map_offset[1]]\
            .reshape(self.K, self.n_dim)
        return centers