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

        estimation[self.map_offset[1]:self.map_offset[2]] = widths.ravel()