Tools
The tools module is a collection of general-purpose signal-processing and
utility functions used internally throughout ecosound. It includes helpers for
reading configuration files (YAML, JSON), listing audio files in a directory,
parsing date-and-time information from audio filenames, peak detection, signal
normalisation, resampling 1-D arrays, computing the Shannon entropy of a
probability distribution, and calculating the first derivative and envelope of
a 1-D signal.