class_docstr: Distance transformer from aligner.
  
  Behaviour: uses aligner.get_distance on pairs to obtain distance matrix.
  
  Components
  ----------
  aligner: BaseAligner, must implement get_distance method
      if None, distance is equal zero
code: def __init__(self, aligner=None):
      self.aligner = aligner
  
      super().__init__()
  
imports: import numpy
  from sktime.dists_kernels.base import BasePairwiseTransformerPanel
label_desc: Use image node_id 1 to create a new DistFromAligner object from inherited base classes: BasePairwiseTransformerPanel with example: obj = DistFromAligner(aligner)