gen_times_uniform
- mutis.lib.gen_times_uniform(t1, t2, dtm=None, tmin=None, tmax=None, nbinsmin=121, n=200)[source]
Returns an uniform t, dt time binning for use with adaptative binning methods.
The time interval on which the correlation is defined is split in n bins. Bins with a number of point less than nbinsmin are discarded.
- Parameters
- t1
np.ndarray Times of the first signal.
- t2
np.ndarray Times of the second signal.
- tmin
float Start of the time intervals (if not specified, start of the interval on which the correlation is define).
- tmax
float End of the time intervals (if not specified, end of the interval on which the correlation is define).
- nbinsmin
float Minimum of points falling on each bin.
- n
float Number of bins in which to split (needs not to be the number of bins returned).
- t1
- Returns