pyampact.alignmentUtils.maptimes

pyampact.alignmentUtils.maptimes(t, intime, outtime)[source]

Map onset/offset times using a monotone linear interpolation from intime to outtime. Handles duplicate intime entries (DTW path repeats) by averaging their outtime.