def METHOD_NAME(self):
    scale = self.scale
    if not util.allclose(
            scale[0], scale[1:],
            np.max(np.abs(scale)) * 1e-6 + 1e-8):
        raise RuntimeError('transform features non-uniform scaling')
    return scale