% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hanr_fft_amoc_cusum.R
\name{hanr_fft_amoc_cusum}
\alias{hanr_fft_amoc_cusum}
\title{Anomaly Detector using FFT with AMOC and CUSUM Cutoff}
\usage{
hanr_fft_amoc_cusum()
}
\value{
\code{hanr_fft_amoc_cusum} object
}
\description{
This detector combines FFT-based spectral filtering with an AMOC change-point
cutoff applied to the cumulative spectrum. The lower-frequency components are
removed, the signal is reconstructed, and the residual is scored for anomalies.

This function extends the HARBINGER framework and returns an object of class \code{hanr_fft_amoc_cusum}.
}
\examples{
library(daltoolbox)

# Load anomaly example data
data(examples_anomalies)

# Use a simple example
dataset <- examples_anomalies$simple
head(dataset)

# Configure FFT+CUSUM+AMOC detector
model <- hanr_fft_amoc_cusum()

# Fit the model
model <- fit(model, dataset$serie)

# Run detection
detection <- detect(model, dataset$serie)

# Inspect detected anomalies
print(detection[detection$event, ])

}
