# doblot

drizzle.doblot.doblot(source, source_wcs, blot_wcs, exptime, coeffs=True, interp='poly5', sinscl=1.0, stepsize=10, wcsmap=None)

  Low level routine for performing the ‘blot’ operation.

  Create a single blotted image from a single source image. The interface is compatible with STScI code. All distortion information is assumed to be included in the WCS specification of the ‘output’ blotted image given in ‘blot_wcs’.

  source2d array

    Input numpy array of the source image in units of ‘cps’.

  source_wcswcs

    The source image WCS.

  blot_wcswcs

    The blotted image WCS. The WCS that the source image will be resampled to.

  exptimefloat

    The exposure time of the input image.

  interpstr, optional

    The type of interpolation used in the blotting. 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).

  sincsclfloat, optional

    The scaling factor for sinc interpolation.

  A 2d numpy array with the blotted image

  coeffsbool, optional

    Not used. Only kept for backwards compatibility.

  stepsizefloat, optional

    Was used when input to output mapping was computed internally. Is no longer used and only here for backwards compatibility.

  wcsmapfunction, optional

    Was used when input to output mapping was computed internally. Is no longer used and only here for backwards compatibility.