This should be `astropy.wcs.WCS.fix` (it's a method on the WCS object).