pyampact.speechDescriptorsUtils.compute_recurrence_period_and_rpde

pyampact.speechDescriptorsUtils.compute_recurrence_period_and_rpde(pp, onset, offset, n_bins=50)[source]

Compute recurrence period (RP) and recurrence period density entropy (RPDE)

RP is the mean inter-pulse interval within a segment. RPDE is the normalized entropy of the distribution of recurrence periods.

Low = highly periodic/stable signal High = irregular, noisy, chaotic signal

Parameters:
  • pp (Praat Pitch Object) – Periodic (cc) of the segment

  • onset (float)

  • offset (float) – segment boundaries in seconds

  • n_bins (int) – bin count for histogram calculation; default = 50

Returns:

  • rp_ms (float) – recurrence period in ms

  • rpde (float) – normalized entropy of recurrence-period distribution