Skip to contents

Returns TRUE if large_segment and small_segment's ratio_median difference is <= threshold. FALSE otherwise.

Usage

RatioDiffBelowThreshold(large_segment, small_segment, threshold)

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_segments with a small segment in small_segments

small_segment

Same as above.

threshold

A float: the threshold for ratio_median difference previously estimated.