read_pattern_to_tau

romanisim.ramp.read_pattern_to_tau(read_pattern)

Construct the tau for each resultant from a read_pattern.

\[\tau = \overline{t} - (n - 1)(n + 1)\delta t / 6n\]

following Casertano (2022).

Parameters:
read_patternlist[list]

List of lists specifying the indices of the reads entering each resultant.

Returns:
\(\tau\)

A time scale appropriate for computing variances.