
Determines if absolute ratio_median difference is less than or equal to the given threshold.
RatioDiffBelowThreshold.RdReturns TRUE if large_segment and small_segment's ratio_median difference is <= threshold. FALSE otherwise.
Arguments
- large_segment
An array: a single segment, doesn't necessarily have to be a 'large' segment. This name was chosen because most of the times we're comparing a large segment in
large_segmentswith a small segment insmall_segments- small_segment
Same as above.
- threshold
A float: the threshold for ratio_median difference previously estimated.