### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Image Array Manipulation and Convolution (`scipy.stsci`) »

# scipy.stsci.image.translate

`scipy.stsci.image.``translate`(a, sdx, sdy, output=None, mode='nearest', cval=0.0)

  translate performs a translation of ‘a’ by (sdx, sdy) storing the result in ‘output’.

  sdx, sdy are float values.

  supported ‘mode’s include:
    ‘nearest’ elements beyond boundary come from nearest edge pixel. ‘wrap’ elements beyond boundary come from the opposite array edge. ‘reflect’ elements beyond boundary come from reflection on same array edge. ‘constant’ elements beyond boundary are set to ‘cval’

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Image Array Manipulation and Convolution (`scipy.stsci`) »