genfit problem
- May 13, 2018
- 1 reply
- 4441 views
Hello,
Could anyone help me with fitting a Gaussian curve to the signals, please?
In the attached worksheet, the function "plane1(k,x1,y1,d,taw)" detects the ultrasonic pressure filed amplitude on two microphones placed on the right and left side of the emitter. The peak of each signal is used to estimate the time of flight (TOF). For more accurate estimation of TOF, I use genfit to fit a Gaussian curve to the signals.
However, the output of the fitting process (result(Data,taw)) does not look right and it sensitively depends on the scanned time range. In the current example, the signals time range do not exceed more than 0.01 s but the Gaussian fit works only when the time range is scanned up to 0.2 s. Is there something wrong?
Any suggestion would be highly appreciated,
Payman



