bug fixes in spectrogram and database_interface modules
-
Fixed minor bug in
spectrogram.get_label_vector
method, occuring when annotation box goes beyond spectrogram time range. -
When annotations are added to a spectrogram with the
spectrogram.annotate
mehod, any annotation that is fully outside the spectrogram time range is ignored. -
When spectrograms are saved to a HDF5 database file using the
database_interface.write_spec
method, the time offsettmin
is subtracted from all annotations, since this offset is lost when the spectrogram is saved. -
from_wav methods in spectrogram module do not merge stereo recordings into mono