blob: 13778ea939ffa62b2641dbac608fbb07ad5d3038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/nonparam.R
\name{spa}
\alias{spa}
\title{Estimate frequency response}
\usage{
spa(data, npad = 255)
}
\arguments{
\item{data}{an \code{idframe} object}
\item{npad}{an integer representing the total length of each time series
to analyze after padding with zeros. This argument allows the user to
control the spectral resolution of the SDF estimates: the normalized
frequency interval is deltaf=1/npad. (Default: 255)}
}
\value{
an \code{idfrd} object containing the estimated frequency response
}
\description{
Estimates Frequency Response with fixed frequency resolution using
spectral analysis
}
\details{
The function calls the \code{SDF} function in the \code{sapa} package to
compute the cross-spectral densities. The method used is \strong{Welch's
Overlapped Segment Averaging} with a normalized \strong{Hanning} window.
The overlap used is 50%.
}
\examples{
data(frf)
frf <- spa(data)
}
\references{
Arun K. Tangirala (2015), \emph{Principles of System Identification:
Theory and Practice}, CRC Press, Boca Raton. Sections 16.5 and 20.4
}
\seealso{
\code{\link[sapa]{SDF}}
}
|