-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Running an analysis like this:
analysis = Analysis(
analysis_type=AnalysisType.SPECTROGRAM,
begin=Timestamp("2023-04-05 16:45:00"),
end=Timestamp("2023-04-05 17:00:00"),
data_duration=Timedelta(seconds=10),
sample_rate=32_000,
fft=ShortTimeFFT(hamming(1024), 128, fs=48_000),
)where the sample_rate and the ShortTimeFFT.fs differ should raise a warning, or even an exception.
Moreover, if the analysis have both AUDIO and SPECTROGRAM (or any spectral) export, the linking will raise an exception anyhow, so we'd rather raise an exception at the very beginning.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working