hist_gap_buffer — identifies and fills gaps in data that are too large for interpolation.
hist_gap_buffer (buffer, gap_threshold)
A binary buffer of X-Y pairs of doubles, as created by a call to hist_buffer_id_read.
The threshold difference between adjacent X values that determines the existence of a gap.
This function inserts duplicate Y-value points into the buffer when the X-axis gap between a pair of values exceeds the specified gap threshold. This will cause the graph of the data to show a constant value spanning the gap, rather than a misleading ramp between the points.
This function is also available in two parts as the Cogent C API functions HI_GapCountBuffer and HI_GapFillBuffer.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.