<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getGyroData(self):
 """! Gets and returns the X, Y and Z values from the gyroscope @return a dictionary with the measurement results or Boolean. @retval False means 'Unkown gyroscope range', that you need to check the "gyroscope range" configuration @note Result data format: {"x":0.45634,"y":0.2124,"z":1.334} """

        x = self._readWord(self.REG_GYRO_XOUT_H)
        y = self._readWord(self.REG_GYRO_YOUT_H)
        z = self._readWord(self.REG_GYRO_ZOUT_H)

        gyro_scale_modifier = None
        gyro_range = self.readGyroRange()

        if gyro_range == self.GYRO_RANGE_250DEG:
            gyro_scale_modifier = self.GYRO_SCALE_MODIFIER_250DEG
        elif gyro_range == self.GYRO_RANGE_500DEG:
            gyro_scale_modifier = self.GYRO_SCALE_MODIFIER_500DEG
        elif gyro_range == self.GYRO_RANGE_1KDEG:
            gyro_scale_modifier = self.GYRO_SCALE_MODIFIER_1KDEG
        elif gyro_range == self.GYRO_RANGE_2KDEG:
            gyro_scale_modifier = self.GYRO_SCALE_MODIFIER_2KDEG
        else:
            print("ERROR: Unkown gyroscope range!")
            return False
            #gyro_scale_modifier = self.GYRO_SCALE_MODIFIER_250DEG

        x = x / gyro_scale_modifier
        y = y / gyro_scale_modifier
        z = z / gyro_scale_modifier
        return {'x': x, 'y': y, 'z': z}