<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _rescale_and_convert_field_inplace(self, array, name, scale, zero):
 """ Apply fits scalings. Also, convert bool to proper numpy boolean values """

        self._rescale_array(array[name], scale, zero)
        if array[name].dtype == numpy.bool:
            array[name] = self._convert_bool_array(array[name])
        return array