class_docstr: Score periodicities by their spectral power.
  
  Interfacing `seasonal.periodogram` to determine candidate seasonality parameters.
  
  Parameters
  ----------
  min_period : int
      Disregard periods shorter than this number of samples.
      Defaults to 4
  max_period : int
      Disregard periods longer than this number of samples.
      Defaults to None
  thresh : float (0..1)
      Retain periods scoring above thresh*maxscore. Defaults to 0.10
  
  Attributes
  ----------
  sp_ : int, seasonality period with highest power, if any sub-threshold, else 1
  sp_significant_ : list of int, array of Fourier periods in descending order
      of their powers.
  
  Examples
  --------
  >>> from sktime.datasets import load_airline
  >>> from sktime.param_est.seasonality import SeasonalityPeriodogram
  >>> X = load_airline().diff()[1:]  # doctest: +SKIP
  >>> sp_est = SeasonalityPeriodogram()  # doctest: +SKIP
  >>> sp_est.fit(X)  # doctest: +SKIP
  SeasonalityPeriodogram(...)
  >>> sp_est.get_fitted_params()["sp"]  # doctest: +SKIP
  6
  >>> sp_est.get_fitted_params()["sp_significant"]  # doctest: +SKIP
  array([6, 12, 14, 4, 10, 5])
class_docstr_tok: ["Score","periodicities","by","their","spectral","power",".","Interfacing","`","seasonal.periodogram","`","to","determine","candidate","seasonality","parameters",".","Parameters","--","--","--","--","--","min_period",":","int","Disregard","periods","shorter","than","this","number","of","samples",".","Defaults","to","4","max_period",":","int","Disregard","periods","longer","than","this","number","of","samples",".","Defaults","to","None","thresh",":","float","(","0","..","1",")","Retain","periods","scoring","above","thresh","*","maxscore",".","Defaults","to","0.10","Attributes","--","--","--","--","--","sp_",":","int",",","seasonality","period","with","highest","power",",","if","any","sub-threshold",",","else","1","sp_significant_",":","list","of","int",",","array","of","Fourier","periods","in","descending","order","of","their","powers",".","Examples","--","--","--","--",">",">",">","from","sktime.datasets","import","load_airline",">",">",">","from","sktime.param_est.seasonality","import","SeasonalityPeriodogram",">",">",">","X","=","load_airline","(",")",".diff","(",")","[","1",":","]","#","doctest",":","+SKIP",">",">",">","sp_est","=","SeasonalityPeriodogram","(",")","#","doctest",":","+SKIP",">",">",">","sp_est.fit","(","X",")","#","doctest",":","+SKIP","SeasonalityPeriodogram","(","...",")",">",">",">","sp_est.get_fitted_params","(",")","[","``","sp","''","]","#","doctest",":","+SKIP","6",">",">",">","sp_est.get_fitted_params","(",")","[","``","sp_significant","''","]","#","doctest",":","+SKIP","array","(","[","6",",","12",",","14",",","4",",","10",",","5","]",")"]
docstr: Return testing parameter settings for the estimator.
  
  Parameters
  ----------
  parameter_set : str, default="default"
      Name of the set of test parameters to return, for use in tests. If no
      special parameters are defined for a value, will return `"default"` set.
      There are currently no reserved values for transformers.
  
  Returns
  -------
  params : dict or list of dict, default = {}
      Parameters to create testing instances of the class
      Each dict are parameters to construct an "interesting" test instance, i.e.,
      `MyClass(**params)` or `MyClass(**params[i])` creates a valid test instance.
      `create_test_instance` uses the first (or only) dictionary in `params`
docstr_tok: ["Return","testing","parameter","settings","for","the","estimator",".","Parameters","--","--","--","--","--","parameter_set",":","str",",","default=","''","default","''","Name","of","the","set","of","test","parameters","to","return",",","for","use","in","tests",".","If","no","special","parameters","are","defined","for","a","value",",","will","return","`","``","default","''","`","set",".","There","are","currently","no","reserved","values","for","transformers",".","Returns","--","--","--","-","params",":","dict","or","list","of","dict",",","default","=","{","}","Parameters","to","create","testing","instances","of","the","class","Each","dict","are","parameters","to","construct","an","``","interesting","''","test","instance",",","i.e.",",","`","MyClass","(","*","*","params",")","`","or","`","MyClass","(","*","*","params","[","i","]",")","`","creates","a","valid","test","instance",".","`","create_test_instance","`","uses","the","first","(","or","only",")","dictionary","in","`","params","`"]
code: def get_test_params(cls, parameter_set="default"):
      """Return testing parameter settings for the estimator.
  
      Parameters
      ----------
      parameter_set : str, default="default"
          Name of the set of test parameters to return, for use in tests. If no
          special parameters are defined for a value, will return `"default"` set.
          There are currently no reserved values for transformers.
  
      Returns
      -------
      params : dict or list of dict, default = {}
          Parameters to create testing instances of the class
          Each dict are parameters to construct an "interesting" test instance, i.e.,
          `MyClass(**params)` or `MyClass(**params[i])` creates a valid test instance.
          `create_test_instance` uses the first (or only) dictionary in `params`
      """
      params1 = {}
      params2 = {"min_period": 5, "max_period": 24, "thresh": 0.1}
      params3 = {"min_period": 5}
  
      return [params1, params2, params3]
  
file_path: sktime/sktime/param_est/seasonality.py
imports: import numpy
  from sktime.param_est.base import BaseParamFitter
label_desc: Use image node_id 3 for calling the SeasonalityPeriodogram obj's underlying member method code with example usage: obj.get_test_params(cls, parameter_set) and returns: list