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","]",")"]
code: def __init__(self, min_period=4, max_period=None, thresh=0.10):
      self.min_period = min_period
      self.max_period = max_period
      self.thresh = thresh
      super().__init__()
  
file_path: sktime/sktime/param_est/seasonality.py
imports: import numpy
  from sktime.param_est.base import BaseParamFitter
label_desc: Use image node_id 1 to create a new SeasonalityPeriodogram object from inherited base classes: BaseParamFitter with example: obj = SeasonalityPeriodogram(min_period, max_period, thresh)