pitchscapes.scapes

Functions

normalize_non_zero(a[, axis, replace_zeros, ...])

For the given ND array, normalise each 1D array obtained by indexing the 'axis' dimension if the sum along the other dimensions (for that entry) is non-zero.

Classes

ContinuousScape([values, scape])

Continuous-time scape that takes a discrete-time scape and interpolates linearly for points that lie in between the discrete time points.

DiscretePitchScape_(values[, times, ...])

Discrete-time scape that is only well-defined at specific points in time.

DiscreteScape(values[, times, weights, strategy])

Discrete-time scape that is only well-defined at specific points in time.

PitchScape([values, scape, prior_counts, ...])

PitchScape_([values, scape])

Continuous-time scape that takes a discrete-time scape and interpolates linearly for points that lie in between the discrete time points.

Scape(min_time, max_time)

Abstract base class for scapes objects.