ailist.IntervalArray.downsample#

IntervalArray.downsample(proportion, return_intervals=True, return_index=True)[source]#

Randomly downsample IntervalArray

Parameters:
proportion : double

Proportion of intervals to keep

Returns:

filtered_ailIntervalArray

Downsampled IntervalArray