class_docstr: Base class for all unsupervised sequence aligners.
class_docstr_tok: ["Base","class","for","all","unsupervised","sequence","aligners","."]
docstr: Return aligned version of sequences passed to fit.
  
      core logic
  
  Behaviour: returns aligned version of unaligned sequences in X passed to fit
      model should be in fitted state, fitted model parameters read from self
  
  Accesses in self:
      Fitted model attributes ending in "_".
  
  Returns
  -------
  X_aligned_list: list of pd.DataFrame in sequence format
      of length n, indices corresponding to indices of X passed to fit
      i-th element is re-indexed, aligned version of X[i]
docstr_tok: ["Return","aligned","version","of","sequences","passed","to","fit",".","core","logic","Behaviour",":","returns","aligned","version","of","unaligned","sequences","in","X","passed","to","fit","model","should","be","in","fitted","state",",","fitted","model","parameters","read","from","self","Accesses","in","self",":","Fitted","model","attributes","ending","in","``","_","''",".","Returns","--","--","--","-","X_aligned_list",":","list","of","pd.DataFrame","in","sequence","format","of","length","n",",","indices","corresponding","to","indices","of","X","passed","to","fit","i-th","element","is","re-indexed",",","aligned","version","of","X","[","i","]"]
code: def _get_aligned(self):
      """Return aligned version of sequences passed to fit.
  
          core logic
  
      Behaviour: returns aligned version of unaligned sequences in X passed to fit
          model should be in fitted state, fitted model parameters read from self
  
      Accesses in self:
          Fitted model attributes ending in "_".
  
      Returns
      -------
      X_aligned_list: list of pd.DataFrame in sequence format
          of length n, indices corresponding to indices of X passed to fit
          i-th element is re-indexed, aligned version of X[i]
      """
      if not hasattr(self, "_X"):
          # defensive error - fit should store X to self._X
          raise RuntimeError(
              "fit needs to store X to self._X when using default get_aligned"
          )
  
      X = self._X
      align = self.get_alignment()
  
      X_aligned_list = []
  
      for i, Xi in enumerate(X):
          indi = "ind" + str(i)
          X_aligned_list += [reindex_iloc(Xi, align[indi], copy=True)]
  
      return X_aligned_list
  
file_path: sktime/sktime/alignment/base.py
imports: from sktime.alignment.utils.utils_align import convert_align_to_align_loc, reindex_iloc
  from sktime.base import BaseEstimator
  from sktime.datatypes import check_is_scitype, convert
label_desc: Use image node_id 9 for calling the BaseAligner obj's underlying member method code with example usage: obj._get_aligned() and returns: X_aligned_list