class_docstr: Random time warping.
  
  The augmenter random changed the speed of timeline. The time warping is
  controlled by the number of speed changes and the maximal ratio of max/min
  speed.
  
  Parameters
  ----------
  n_speed_change : int, optional
      The number of speed changes in each series. Default: 3.
  
  max_speed_ratio : float, tuple, or list, optional
      The maximal ratio of max/min speed in the warpped time line. The time
      line of a series is more likely to be significantly warpeped if this
      value is greater.
  
      - If float, all series are warpped with the same ratio.
      - If list, each series is warpped with a ratio that is randomly sampled
        from the list.
      - If 2-tuple, each series is warpped with a ratio that is randomly
        sampled from the interval.
  
      Default: 3.0.
  
  repeats : int, optional
      The number of times a series is augmented. If greater than one, a series
      will be augmented so many times independently. This parameter can also
      be set by operator `*`. Default: 1.
  
  prob : float, optional
      The probability of a series is augmented. It must be in (0.0, 1.0]. This
      parameter can also be set by operator `@`. Default: 1.0.
  
  seed : int, optional
      The random seed. Default: None.
class_docstr_tok: ["Random","time","warping",".","The","augmenter","random","changed","the","speed","of","timeline",".","The","time","warping","is","controlled","by","the","number","of","speed","changes","and","the","maximal","ratio","of","max\/min","speed",".","Parameters","--","--","--","--","--","n_speed_change",":","int",",","optional","The","number","of","speed","changes","in","each","series",".","Default",":","3.","max_speed_ratio",":","float",",","tuple",",","or","list",",","optional","The","maximal","ratio","of","max\/min","speed","in","the","warpped","time","line",".","The","time","line","of","a","series","is","more","likely","to","be","significantly","warpeped","if","this","value","is","greater",".","-","If","float",",","all","series","are","warpped","with","the","same","ratio",".","-","If","list",",","each","series","is","warpped","with","a","ratio","that","is","randomly","sampled","from","the","list",".","-","If","2-tuple",",","each","series","is","warpped","with","a","ratio","that","is","randomly","sampled","from","the","interval",".","Default",":","3.0.","repeats",":","int",",","optional","The","number","of","times","a","series","is","augmented",".","If","greater","than","one",",","a","series","will","be","augmented","so","many","times","independently",".","This","parameter","can","also","be","set","by","operator","`","*","`",".","Default",":","1.","prob",":","float",",","optional","The","probability","of","a","series","is","augmented",".","It","must","be","in","(","0.0",",","1.0","]",".","This","parameter","can","also","be","set","by","operator","`","@","`",".","Default",":","1.0.","seed",":","int",",","optional","The","random","seed",".","Default",":","None","."]
code: def n_speed_change(self) -> int:
      return self._n_speed_change
  
file_path: tsaug/src/tsaug/_augmenter/time_warp.py
imports: from typing import List, Optional, Tuple, Union
  import numpy
  from scipy.interpolate import PchipInterpolator, interp1d
  from .base import _Augmenter, _default_seed
label_desc: Use image node_id 3 for calling the TimeWarp obj's underlying member method code with example usage: obj.n_speed_change() and returns: self