lgca.plots.clip_frequencies¶
- lgca.plots.clip_frequencies(y)¶
Clip a frequency trace to the non-zero span used by Muller plots.
Adapted from https://phylo-baltic.github.io/baltic-gallery/advanced-muller-plots-raw/.
- Parameters:
y (numpy.ndarray) – Frequency values over time.
- Returns:
(x_clipped, x)wherex_clippedindexes the clipped trace andxindexes the full trace.