docstr: Called by dtw to initialize the window to a certain size.
  
  Parameters
  ----------
  n
      The width of the window, must be equal to the length of `series1` used for DTW
  m
      The height of the window, must be equal to the length of `series2` used for DTW
docstr_tok: ["Called","by","dtw","to","initialize","the","window","to","a","certain","size",".","Parameters","--","--","--","--","--","n","The","width","of","the","window",",","must","be","equal","to","the","length","of","`","series1","`","used","for","DTW","m","The","height","of","the","window",",","must","be","equal","to","the","length","of","`","series2","`","used","for","DTW"]
code: def init_size(self, n: int, m: int):
      """
      Called by dtw to initialize the window to a certain size.
  
      Parameters
      ----------
      n
          The width of the window, must be equal to the length of `series1` used for DTW
      m
          The height of the window, must be equal to the length of `series2` used for DTW
      """
      self.n = n
      self.m = m
  
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 for calling the Window obj's underlying member method code with example usage: obj.init_size(n, m) without return types