code: def _get_xy_scaling_parameters(self):
          
          gd = self.area_definition
          bx = self.x.min()
          mx = gd.pixel_size_x
          by = self.y.min()
          my = -abs(gd.pixel_size_y)
          return mx, bx, my, by
docs: Get the X/Y coordinate limits for the full resulting image