#' An S4 class to represent a spectrogram from scikit-maad.
#'
#' @slot Sxx The spectrogram matrix
#' @slot tn The time vector
#' @slot fn The frequency vector
#' @slot extents The extents of the spectrogram. A list of tmin, tmax, fmin, fmax.
setClass(
"spectrogram_maad",
slots=list(
Sxx="matrix",
tn="numeric",
fn="numeric",
extents="list",
mode="character"
),
prototype = list(
Sxx = matrix(0, nrow=0, ncol=0),
tn = numeric(0),
fn = numeric(0),
extents = list(),
mode = "power"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.