logo

Contents:

  • Installation
  • Getting started
  • Examples
    • Tips and tricks
      • Merging, concatenating, and repeating objects
      • Saving and manipulating plots
      • Explanations of warnings and how to get rid of them
    • Snippets
      • Beat-finding using autocorrelations
      • Beat-finding using Fourier transform
      • Creating (random) inter-trial intervals
      • Exporting a DataFrame from a list of sequences
      • Plotting phase differences (circular plots)
      • Plotting a single sequence
      • Plotting multiple sequences
    • Use case scenarios
      • Isochronous sequences with target speech stimulus
      • Rapid tone-pip sequences
      • Roving oddball
      • Uneven rhythms
  • Package contents
    • Core classes
      • Sequence class
      • SoundStimulus class
      • SoundSequence class
      • BaseSequence class
    • Extras
      • Helper functions
      • Utilities
    • Linguistics
    • Music
      • Rhythm class
      • Melody class
    • Stats
    • Visualization
  • References

Package developed by the Comparative Bioacoustics group.

  • .rst

Tips and tricks

Tips and tricks#

These examples describe common situations that you might encounter when working with thebeat, such as how to save plots, how to get rid of warnings, etc.

  • Merging, concatenating, and repeating objects
    • Concatenating objects
    • Merging objects
  • Saving and manipulating plots
    • Saving plots
    • Adding in title, x_axis label etc.
    • Manipulating plots
  • Explanations of warnings and how to get rid of them
    • Frame rounding
    • Normalization
    • Phase difference discarded
    • Getting rid of a specific warning
    • Getting rid of all of thebeat’s warnings
    • Resetting warnings

previous

Examples

next

Merging, concatenating, and repeating objects

By Jelle van der Werff, Andrea Ravignani, & Yannick Jadoul
© Copyright 2023, Jelle van der Werff, Andrea Ravignani, & Yannick Jadoul.