class_docstr: The base volumetric structure.
  
  This object represents numerical values embedded in a
  3-dimensional world space (called a field in physics and
  engineering)
  
  This is an abstract base class: it defines the interface, but not
  the logics.
  
  Attributes
  ----------
  
  world_space: string
      World space the data is embedded in. For instance `mni152`.
  metadata: dictionary
      Optional, user-defined, dictionary used to carry around
      extra information about the data as it goes through
      transformations. The consistency of this information is not
      maintained as the data is modified.
docstr: Return the values of the data at the world-space positions given by
  x, y, z
  
  Parameters
  ----------
  x : number or ndarray
      x positions in world space, in other words millimeters
  y : number or ndarray
      y positions in world space, in other words millimeters.
      The shape of y should match the shape of x
  z : number or ndarray
      z positions in world space, in other words millimeters.
      The shape of z should match the shape of x
  interpolation : None, 'continuous' or 'nearest', optional
      Interpolation type used when calculating values in
      different word spaces. If None, the image's interpolation
      logic is used.
  
  Returns
  -------
  values : number or ndarray
      Data values interpolated at the given world position.
      This is a number or an ndarray, depending on the shape of
      the input coordinate.
docstr_tok: ["Return","the","values","of","the","data","at","the","world-space","positions","given","by","x",",","y",",","z","Parameters","--","--","--","--","--","x",":","number","or","ndarray","x","positions","in","world","space",",","in","other","words","millimeters","y",":","number","or","ndarray","y","positions","in","world","space",",","in","other","words","millimeters",".","The","shape","of","y","should","match","the","shape","of","x","z",":","number","or","ndarray","z","positions","in","world","space",",","in","other","words","millimeters",".","The","shape","of","z","should","match","the","shape","of","x","interpolation",":","None",",","'continuous","'","or","'nearest","'",",","optional","Interpolation","type","used","when","calculating","values","in","different","word","spaces",".","If","None",",","the","image","'s","interpolation","logic","is","used",".","Returns","--","--","--","-","values",":","number","or","ndarray","Data","values","interpolated","at","the","given","world","position",".","This","is","a","number","or","an","ndarray",",","depending","on","the","shape","of","the","input","coordinate","."]
code: def values_in_world(self, x, y, z, interpolation=None):
      """Return the values of the data at the world-space positions given by
      x, y, z
  
      Parameters
      ----------
      x : number or ndarray
          x positions in world space, in other words millimeters
      y : number or ndarray
          y positions in world space, in other words millimeters.
          The shape of y should match the shape of x
      z : number or ndarray
          z positions in world space, in other words millimeters.
          The shape of z should match the shape of x
      interpolation : None, 'continuous' or 'nearest', optional
          Interpolation type used when calculating values in
          different word spaces. If None, the image's interpolation
          logic is used.
  
      Returns
      -------
      values : number or ndarray
          Data values interpolated at the given world position.
          This is a number or an ndarray, depending on the shape of
          the input coordinate.
      """
      raise NotImplementedError
  
file_path: nipy/nipy/labs/datasets/volumes/volume_field.py
imports: from ..transforms.transform import CompositionError
label_desc: Use image node_id 4 for calling the VolumeField obj's underlying member method code with example usage: obj.values_in_world(x, y, z, interpolation) without return types