Click or drag to resize

GeneratePeriodicMapT Method

Create a periodic wave.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static T[] PeriodicMap<T>(
	int length,
	Func<double, T> map,
	double samplingRate,
	double frequency,
	double amplitude = 1,
	double phase = 0,
	int delay = 0
)

Parameters

length  Int32
The number of samples to generate.
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.PeriodicMap``1(System.Int32,System.Func{System.Double,``0},System.Double,System.Double,System.Double,System.Double,System.Int32)"]

Return Value

T

[Missing <returns> documentation for "M:Altaxo.Calc.Generate.PeriodicMap``1(System.Int32,System.Func{System.Double,``0},System.Double,System.Double,System.Double,System.Double,System.Int32)"]

See Also