MEMS Studio Zero Crossing
Hello everybody,
We are currently evaluating the MLC of the LSM6DSOX and have a couple of general questions regarding feature calculation in MEMS Studio.
I've included excerpts from the application note for quick reference.
Zero-Crossing:
"The feature “Zero-crossing” computes the number of times the selected input crosses a certain threshold. This internal threshold is defined as the sum between the average value computed in the previous window (feature “Mean”) and hysteresis defined by the user."
Could you please explain how MEMS Studio calculates this feature for the first window, which doesn't have a preceding window for reference?
Peak Detector:
"The feature “Peak detector” counts the number of peaks (positive and negative) of the selected input in the defined time window.
A threshold has to be defined by the user for this feature, and a buffer of three values is considered for the evaluation.
If the second value of the three values buffer is higher (or lower) than the other two values of a selected threshold, the number of peaks is increased.
The buffer of three values considered for the computation of this feature is a moving buffer inside the time window."
Are these three values directly neighboring?
Lastly, when selecting a filter, it appears that MEMS Studio cuts a certain number of values at the beginning of a class dataset.
Is this to account for the filter settling time?
It would be very helpful if you could explain how to derive the number of data points cut at the beginning based on the filter coefficients and ODRs.
Thank you very much for your assistance,
Luis
