tests/testthat/test-signal_decomposition.R

test_that("ssd runs", {
  skip_on_ci()
  ssd_demo <-
    eeg_decompose(demo_epochs,
                  sig_range = c(8, 12),
                  noise_range = c(7, 13))
  vdiffr::expect_doppelganger("topographical plot for ssd",
                              topoplot(ssd_demo,
                                       component = "Comp001",
                                       limits = c(-4, 3)))
})
neuroconductor/eegUtils documentation built on Feb. 3, 2023, 5:33 p.m.