vak.prep.unit_dataset.unit_dataset.SpectToSave#

class vak.prep.unit_dataset.unit_dataset.SpectToSave(spect: ndarray[Any, dtype[_ScalarType_co]], ind: int, audio_path: str)[source]#

Bases: object

A spectrogram to be saved.

Used by save_spect().

__init__(spect: ndarray[Any, dtype[_ScalarType_co]], ind: int, audio_path: str) None#

Method generated by attrs for class SpectToSave.

Methods

__init__(spect, ind, audio_path)

Method generated by attrs for class SpectToSave.

Attributes

spect

ind

audio_path