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: Create an STTransform from the given mapping
  
  See `set_mapping` for details.
  
  Parameters
  ----------
  x0 : array-like
      Start.
  x1 : array-like
      End.
  
  Returns
  -------
  t : instance of STTransform
      The transform.
docstr_tok: ["Create","an","STTransform","from","the","given","mapping","See","`","set_mapping","`","for","details",".","Parameters","--","--","--","--","--","x0",":","array-like","Start",".","x1",":","array-like","End",".","Returns","--","--","--","-","t",":","instance","of","STTransform","The","transform","."]
code: def from_mapping(cls, x0, x1):
      """Create an STTransform from the given mapping
  
      See `set_mapping` for details.
  
      Parameters
      ----------
      x0 : array-like
          Start.
      x1 : array-like
          End.
  
      Returns
      -------
      t : instance of STTransform
          The transform.
      """
      t = cls()
      t.set_mapping(x0, x1)
      return t
  
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 15 for calling the STTransform obj's underlying member method code with example usage: obj.from_mapping(cls, x0, x1) and returns: t