ezmsg.nwb.util.MEDIAN_SUBSAMPLE_MAX#
- MEDIAN_SUBSAMPLE_MAX = 100000#
Above this many values,
interval_median()uses a strided subsample.np.medianpartitions the whole array – 45 ms on a recording-hour of 30 kHz inter-sample intervals – and the open path does it several times per stream: once to infer a nominal rate, once per stream to derive a real-gap threshold.