> For the complete documentation index, see [llms.txt](https://docs.sov.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sov.ai/api-reference/extensions/time-decomposition.md).

# Time Decomposition

**Module:** `sovai.extensions.time_decomposition`

## Functions

### `categorize_trend()`

```python
def categorize_trend(
    segment,
    window_size = 12,
    increase_threshold = 0.05,
    decrease_threshold = -0.05,
)
```

***

### `perform_comprehensive_analysis()`

```python
def perform_comprehensive_analysis(df_accounting, ticker, feature)
```

***

### `plot_comprehensive_analysis()`

```python
def plot_comprehensive_analysis(comprehensive_df, ticker, feature)
```

***

### `run_comprehensive_analysis_dashboard()`

```python
def run_comprehensive_analysis_dashboard(df_accounting, ticker = None, feature = None)
```

***
