class_docstr: Calculates distance between two volumes.
code: def _list_outputs(self):
      outputs = self._outputs().get()
      outputs["distance"] = self._distance
      if self.inputs.method == "eucl_min":
          outputs["point1"] = self._point1
          outputs["point2"] = self._point2
      elif self.inputs.method in ["eucl_mean", "eucl_wmean"]:
          outputs["histogram"] = os.path.abspath(self._hist_filename)
      return outputs
  
imports: import os
  import os.path
  import nibabel
  import numpy
  from ..None import config, logging
  from ..interfaces.base import SimpleInterface, BaseInterface, traits, TraitedSpec, File, InputMultiPath, BaseInterfaceInputSpec, isdefined
  from ..interfaces.nipy.base import NipyBaseInterface
label_desc: Use image node_id 8 for calling the Distance obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs