GeneratePeriodicMapSequenceT Method |
Create an infinite periodic wave sequence.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<T> PeriodicMapSequence<T>(
Func<double, T> map,
double samplingRate,
double frequency,
double amplitude = 1,
double phase = 0,
int delay = 0
)
Parameters
- map FuncDouble, T
- The function to apply to each of the values and evaluate the resulting sample.
- samplingRate Double
- Samples per time unit (Hz). Must be larger than twice the frequency to satisfy the Nyquist criterion.
- frequency Double
- Frequency in periods per time unit (Hz).
- amplitude Double (Optional)
- The length of the period when sampled at one sample per time unit. This is the interval of the periodic domain, a typical value is 1.0, or 2*Pi for angular functions.
- phase Double (Optional)
- Optional phase offset.
- delay Int32 (Optional)
- Optional delay, relative to the phase.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.Generate.PeriodicMapSequence``1(System.Func{System.Double,``0},System.Double,System.Double,System.Double,System.Double,System.Int32)"]
Return Value
IEnumerableT[Missing <returns> documentation for "M:Altaxo.Calc.Generate.PeriodicMapSequence``1(System.Func{System.Double,``0},System.Double,System.Double,System.Double,System.Double,System.Int32)"]
See Also