public Integrate ( Vector |
||
signal_rr | Vector |
|
return | Vector |
public static void Main(string[] args) { //NEEDED: MAIN: integrate, lengthN_min, lengthN_max, localTrend, fluctFn, alpha, get_n, get_Fn, get_alphas //read data from file TempInput.setInputFilePath(@"C:\Users\Paulina\Desktop\DADM\R_100.txt"); uint fs = TempInput.getFrequency(); Vector<double> sig = TempInput.getSignal(); HRV_DFA dfa = new HRV_DFA(); // Samples to time convertion [ms] Vector<double> tacho_rr = dfa.TimeConvert(fs, sig.ToArray()); // samplesOrder obtaining Vector<double> samplesOrder = dfa.Ordering(tacho_rr); // Signal integration Vector<double> sig_integrated = dfa.Integrate(tacho_rr); Console.WriteLine(fs); Console.WriteLine(sig_integrated); Console.ReadKey(); }