incline.Seasonality

class incline.Seasonality(seasonal, period, strength, method)[source]

What was found when looking for a cycle.

Variables:
  • seasonal (bool) – Whether a cycle was detected.

  • period (int | None) – Its length in observations, or None.

  • strength (float) – How pronounced it is, roughly on 0-1.

  • method (str) – Which detector fired: 'autocorrelation', 'spectral', 'variance' or 'none'.

Parameters:
__init__(seasonal, period, strength, method)
Parameters:
Return type:

None

Methods

__init__(seasonal, period, strength, method)

Attributes

seasonal: bool
period: int | None
strength: float
method: str