def blot_image(self, blotwcs, interp='poly5', sinscl=1.0): """ Resample the output image using an input world coordinate system. Parameters ---------- blotwcs : wcs The world coordinate system to resample on. interp : str, optional The type of interpolation used in the resampling. The possible values are "nearest" (nearest neighbor interpolation), "linear" (bilinear interpolation), "poly3" (cubic polynomial interpolation), "poly5" (quintic polynomial interpolation), "sinc" (sinc interpolation), "lan3" (3rd order Lanczos interpolation), and "lan5" (5th order Lanczos interpolation). sincscl : float, optional The scaling factor for sinc interpolation. """ util.set_pscale(blotwcs) self.outsci = doblot.doblot(self.outsci, self.outwcs, blotwcs, 1.0, interp=interp, sinscl=sinscl) self.outwcs = blotwcs
def blot_image(self, blotwcs, interp='poly5', sinscl=1.0): """ Resample the output image using an input world coordinate system. Parameters ---------- blotwcs : wcs The world coordinate system to resample on. interp : str, optional The type of interpolation used in the resampling. The possible values are "nearest" (nearest neighbor interpolation), "linear" (bilinear interpolation), "poly3" (cubic polynomial interpolation), "poly5" (quintic polynomial interpolation), "sinc" (sinc interpolation), "lan3" (3rd order Lanczos interpolation), and "lan5" (5th order Lanczos interpolation). sincscl : float, optional The scaling factor for sinc interpolation. """ util.set_pscale(blotwcs) self.outsci = doblot.doblot(self.outsci, self.outwcs, blotwcs, 1.0, interp=interp, sinscl=sinscl) self.outwcs = blotwcs