def reshape(self, dims):
adims = numpy.array(dims, ndmin=<NUM_LIT:1>, dtype='<STR_LIT>')<EOL>self._FITS.reshape_image(self._ext+<NUM_LIT:1>, adims)<EOL>
reshape an existing image to the requested dimensions

parameters
----------
dims: sequence
    Any sequence convertible to i8