Compute the abundance in each occurrence frame by looking at
the probability of Normal(mean, sigma) within [time - rt_cycle_length, time]
.
Calculate the bounding interval [lower, upper] around mean
that captures target
total probability
using a binary search across a discretized search space. This mirrors calculate_bounds_emg
.
Parallel version for multiple (mean, sigma) pairs to get abundance
Returns all scan indices (0-based) that fall into the range where Normal(mean, sigma)
has at least target_p
coverage.
Returns the CDF in the range [sample_start, sample_end] for a Normal(mean, std_dev).