class_docstr: Aligner interface for dtw-python using pairwise transformer.
  
  Uses transformer for computation of distance matrix passed to alignment.
  
  Parameters
  ----------
  dist_trafo: estimator following the pairwise transformer template
      i.e., instance of concrete class implementing template BasePairwiseTransformer
  step_pattern : str, optional, default = "symmetric2",
      or dtw_python stepPattern object, optional
      step pattern to use in time warping
      one of: 'symmetric1', 'symmetric2' (default), 'asymmetric',
      and dozens of other more non-standard step patterns;
      list can be displayed by calling help(stepPattern) in dtw
  window_type: str  optional, default = "none"
      the chosen windowing function
      "none", "itakura", "sakoechiba", or "slantedband"
      "none" (default) - no windowing
      "sakoechiba" - a band around main diagonal
      "slantedband" - a band around slanted diagonal
      "itakura" - Itakura parallelogram
  open_begin : boolean, optional, default=False
  open_end: boolean, optional, default=False
      whether to perform open-ended alignments
      open_begin = whether alignment open ended at start (low index)
      open_end = whether alignment open ended at end (high index)
class_docstr_tok: ["Aligner","interface","for","dtw-python","using","pairwise","transformer",".","Uses","transformer","for","computation","of","distance","matrix","passed","to","alignment",".","Parameters","--","--","--","--","--","dist_trafo",":","estimator","following","the","pairwise","transformer","template","i.e.",",","instance","of","concrete","class","implementing","template","BasePairwiseTransformer","step_pattern",":","str",",","optional",",","default","=","``","symmetric2","''",",","or","dtw_python","stepPattern","object",",","optional","step","pattern","to","use","in","time","warping","one","of",":","'symmetric1","'",",","'symmetric2","'","(","default",")",",","'asymmetric","'",",","and","dozens","of","other","more","non-standard","step","patterns",";","list","can","be","displayed","by","calling","help","(","stepPattern",")","in","dtw","window_type",":","str","optional",",","default","=","``","none","''","the","chosen","windowing","function","``","none","''",",","``","itakura","''",",","``","sakoechiba","''",",","or","``","slantedband","''","``","none","''","(","default",")","-","no","windowing","``","sakoechiba","''","-","a","band","around","main","diagonal","``","slantedband","''","-","a","band","around","slanted","diagonal","``","itakura","''","-","Itakura","parallelogram","open_begin",":","boolean",",","optional",",","default=False","open_end",":","boolean",",","optional",",","default=False","whether","to","perform","open-ended","alignments","open_begin","=","whether","alignment","open","ended","at","start","(","low","index",")","open_end","=","whether","alignment","open","ended","at","end","(","high","index",")"]
docstr: Return alignment for sequences/series passed in fit (iloc indices).
  
  Behaviour: returns an alignment for sequences in X passed to fit
      model should be in fitted state, fitted model parameters read from self
  
  Returns
  -------
  pd.DataFrame in alignment format, with columns 'ind'+str(i) for integer i
      cols contain iloc index of X[i] mapped to alignment coordinate for alignment
docstr_tok: ["Return","alignment","for","sequences\/series","passed","in","fit","(","iloc","indices",")",".","Behaviour",":","returns","an","alignment","for","sequences","in","X","passed","to","fit","model","should","be","in","fitted","state",",","fitted","model","parameters","read","from","self","Returns","--","--","--","-","pd.DataFrame","in","alignment","format",",","with","columns","'ind'+str","(","i",")","for","integer","i","cols","contain","iloc","index","of","X","[","i","]","mapped","to","alignment","coordinate","for","alignment"]
code: def _get_alignment(self):
      """Return alignment for sequences/series passed in fit (iloc indices).
  
      Behaviour: returns an alignment for sequences in X passed to fit
          model should be in fitted state, fitted model parameters read from self
  
      Returns
      -------
      pd.DataFrame in alignment format, with columns 'ind'+str(i) for integer i
          cols contain iloc index of X[i] mapped to alignment coordinate for alignment
      """
      # retrieve alignment
      alignment = self.alignment_
  
      # convert to required data frame format and return
      aligndf = pd.DataFrame(
          {"ind0": alignment.index1, "ind1": alignment.index2}
      )
  
      return aligndf
  
file_path: sktime/sktime/alignment/dtw_python.py
imports: import numpy
  import pandas
  from sktime.alignment.base import BaseAligner
label_desc: Use image node_id 3 for calling the AlignerDTWfromDist obj's underlying member method code with example usage: obj._get_alignment() and returns: aligndf