apodization: Apodization

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

Apodization, tapering or window function is a function used to smoothly bring a sampled signal down to zero at the edges of the sampled region

Usage

1
apodization(frequences, filter)

Arguments

frequences

Armadillo vector with frequences

filter

A string with a specific filter (bartlett, blackman, connes, cosine, gaussian, hamming, hanning, welch or uniform by-default)

Value

The apoditazed frequence vector

Author(s)

Roberto Maestre

Examples

1
2
3
4
5
6
7
## Not run: 
# simple call:
apodization(c(1,2,3,4), "gaussian")
apodization(c(1,2,3,4), "blackman")


## End(Not run)

rmaestre/variableStars documentation built on April 11, 2020, 11:10 p.m.