class_docstr: Transform performing only scale and translate, in that order.
  
  Parameters
  ----------
  scale : array-like
      Scale factors for X, Y, Z axes.
  translate : array-like
      Scale factors for X, Y, Z axes.
docstr: Map coordinates
  
  Parameters
  ----------
  coords : array-like
      Coordinates to map.
  
  Returns
  -------
  coords : ndarray
      Coordinates.
docstr_tok: ["Map","coordinates","Parameters","--","--","--","--","--","coords",":","array-like","Coordinates","to","map",".","Returns","--","--","--","-","coords",":","ndarray","Coordinates","."]
code: def map(self, coords):
      """Map coordinates
  
      Parameters
      ----------
      coords : array-like
          Coordinates to map.
  
      Returns
      -------
      coords : ndarray
          Coordinates.
      """
      m = np.empty(coords.shape)
      m[:, :3] = (
          coords[:, :3] * self.scale[np.newaxis, :3]
          + coords[:, 3:] * self.translate[np.newaxis, :3]
      )
      m[:, 3] = coords[:, 3]
      return m
  
imports: from __future__ import division
  import numpy
  from ...util import transforms
  from ...geometry import Rect
  from ._util import arg_to_vec4, as_vec4
  from .base_transform import BaseTransform
label_desc: Use image node_id 2 for calling the STTransform obj's underlying member method code with example usage: obj.map(coords) and returns: m