class_docstr: Forms a diagonal window where window_size controls the maximum allowed shift between the two series.
  If both time-series have the same time axis, window_size corresponds to the maximum number of time periods
docstr: Parameters
  ----------
  window_size
      The maximum allowed shift between the two series used in DTW.
docstr_tok: ["Parameters","--","--","--","--","--","window_size","The","maximum","allowed","shift","between","the","two","series","used","in","DTW","."]
code: def __init__(self, window_size: int):
      """
      Parameters
      ----------
      window_size
          The maximum allowed shift between the two series used in DTW.
      """
      self.window_size = window_size
  
imports: import array
  from abc import ABC, abstractmethod
  from math import atan, tan
  from typing import Tuple
  import numpy
  from darts.logging import raise_if, raise_if_not
label_desc: Use image node_id 1 to create a new SakoeChiba object from inherited base classes: CRWindow with example: obj = SakoeChiba(window_size)