bluerobotics / ping-firmware

Repository for binary files associated with ping devices
5 stars 8 forks source link

Don't report 100% confidence with a saturated signal #23

Open ES-Alexander opened 2 years ago

ES-Alexander commented 2 years ago

Discussion in this forum thread

I’m unsure what the algorithm does when faced with a saturated signal (a peak with multiple full intensity values in a row, giving a flat top) - it may choose the first top value, or the middle one, or may use the derivatives to try to estimate where the actual top is most likely to be, or something else. Saturated signals are very difficult to calculate meaningful results from, because there’s a lot of missing data (it’s like looking at a photo of a mountain, but the top is cropped off - how can you tell where the peak is?).

... 100% confidence doesn’t seem very logical when a peak is effectively impossible to find in a region of saturated data ...