def __init__(self, array, pixel_scales, origin=(0.0, 0.0)):
        """
        Parameters
        ----------
        array: ndarray
            An array representing image (e.g. an image, noise-map, etc.)
        pixel_scales : (float, float)
            The arc-second to pixel conversion factor of each pixel.
        origin : (float, float)
            The arc-second origin of the scaled array's coordinate system.
        """

        pixel_scale_sanity_checks(pixel_scales=pixel_scales)

        self.pixel_scales = pixel_scales
        self.origin = origin
        # noinspection PyArgumentList
        super(ScaledRectangularPixelArray, self).__init__(array=array)
def __init__ ( self , array , pixel_scales , origin = ( 0.0 , 0.0 ) ) : pixel_scale_sanity_checks ( pixel_scales = pixel_scales ) self . pixel_scales = pixel_scales self . origin = origin super ( ScaledRectangularPixelArray , self ) . __init__ ( array = array )
Parameters
        ----------
        array: ndarray
            An array representing image (e.g. an image, noise-map, etc.)
        pixel_scales : (float, float)
            The arc-second to pixel conversion factor of each pixel.
        origin : (float, float)
            The arc-second origin of the scaled array's coordinate system.