def reopen(self):
self._FITS.close()<EOL>del self._FITS<EOL>self._FITS = _fitsio_wrap.FITS(self._filename, self.intmode, <NUM_LIT:0>)<EOL>self.update_hdu_list()<EOL>
close and reopen the fits file with the same mode