@classmethod<EOL><INDENT>def padded_grid_stack_from_mask_sub_grid_size_and_psf_shape(cls, mask, sub_grid_size, psf_shape):<DEDENT>
regular_padded_grid = PaddedRegularGrid.padded_grid_from_shape_psf_shape_and_pixel_scale(<EOL>shape=mask.shape,<EOL>psf_shape=psf_shape,<EOL>pixel_scale=mask.pixel_scale)<EOL>sub_padded_grid = PaddedSubGrid.padded_grid_from_mask_sub_grid_size_and_psf_shape(mask=mask,<EOL>sub_grid_size=sub_grid_size,<EOL>psf_shape=psf_shape)<EOL>return GridStack(regular=regular_padded_grid, sub=sub_padded_grid, blurring=np.array([[<NUM_LIT:0.0>, <NUM_LIT:0.0>]]))<EOL>
Setup a grid-stack of masked grid_stack from a mask,  sub-grid size and psf-shape.

        Parameters
        -----------
        mask : Mask
            The mask whose masked pixels the grid-stack are setup using.
        sub_grid_size : int
            The size of a sub-pixels sub-grid (sub_grid_size x sub_grid_size).
        psf_shape : (int, int)
            The shape of the PSF used in the analysis, which defines the mask's blurring-region.