bnicenboim / eeguana

A package for manipulating EEG data in R.
https://bnicenboim.github.io/eeguana/
Other
21 stars 9 forks source link

error message IIR filter #194

Closed stonekate closed 2 years ago

stonekate commented 2 years ago

In both stable and experimental eeguanas I get the following error with the pipeline below, just for one single subject, all other subjects are fine:

# Load data
dat <- read_vhdr("./2.vhdr")

# Add channel positions
channels_tbl(dat) <- select(channels_tbl(dat), .channel) %>%
    left_join(layout_32_1020)

# IIR filter
datf <- eeg_filt_band_pass(dat, .freq = c(.01, 30), .config = list(method = "iir"))

image

bnicenboim commented 2 years ago

just FYI, I'm working on it. I'm changing all the filtering to a newer package, I think I'll manage to finish it next week

bnicenboim commented 2 years ago

ok, it should fail ALL the time, don't trust the results for the other subjects. I'm improving the implementation of the filter

bnicenboim commented 2 years ago

ok, I think I fixed it. Please check it with the new experimental version.

stonekate commented 2 years ago

it's looking good so far! no warnings, data that looks filtered.