signalgen {RobPer} | R Documentation |
Generator for periodic signal in a light curve
Description
Calculates periodically varying values for given observation times.
Usage
signalgen(tt, ytype, pf = 1)
Arguments
tt |
numeric vector: Observation times |
ytype |
character string: Specifying the shape of the periodic fluctuation (see Details). Possible choices are |
pf |
positive numeric value: Fluctuation period |
Details
The values with fluctuation period
and related to observation times
are generated using
Depending on ytype
(see above), is defined as:
with =
(t%%1)/pf
. means that there is no (periodic) fluctuation,
defines a sine function,
defines a triangular shaped periodic function and
a periodically repeating peak.
Value
numeric vector: Values .
Note
This function is used in Thieler et al. (2013). See also Thieler, Fried and Rathjens (2016).
Author(s)
Anita M. Thieler and Jonathan Rathjens
References
Thieler, A. M., Backes, M., Fried, R. and Rhode, W. (2013): Periodicity Detection in Irregularly Sampled Light Curves by Robust Regression and Outlier Detection. Statistical Analysis and Data Mining, 6 (1), 73-89
Thieler, A. M., Fried, R. and Rathjens, J. (2016): RobPer: An R Package to Calculate Periodograms for Light Curves Based on Robust Regression. Journal of Statistical Software, 69 (9), 1-36, <doi:10.18637/jss.v069.i09>
See Also
Applied in tsgen
(see there for an example).