Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e949e1f
fix typos
craddm Nov 1, 2024
3816743
correct manual equation
craddm Nov 1, 2024
1d5f959
update roxygen version in description
craddm Feb 10, 2026
97fc4c4
Update workflows to use newer actions
craddm Feb 10, 2026
39585c5
update manual
craddm Feb 10, 2026
da1d822
update testthat snaps
craddm Feb 10, 2026
399386e
Update description
craddm Feb 10, 2026
43aba01
add extra describeIn
craddm Feb 10, 2026
02c2c08
fix typo in docstring
craddm Feb 10, 2026
ff7c469
regenerate docs
craddm Feb 10, 2026
12a4088
update test snaps
craddm Feb 10, 2026
059ee9e
merge main into develop
craddm Feb 10, 2026
0649e20
update description
craddm Feb 11, 2026
aa80a87
redo snaps
craddm Feb 11, 2026
7d6bf40
fix description and docs
craddm Feb 11, 2026
b9cd9b4
another attempt to fix snaps
craddm Feb 11, 2026
e36dc56
update reference files
craddm Feb 11, 2026
80d188f
update more reference files
craddm Feb 11, 2026
04fb073
Convex hull utility function
craddm Feb 11, 2026
45161e2
Add convex hull option
craddm Feb 11, 2026
702d7f8
add interpolation of convex hull
craddm Feb 11, 2026
7c50c13
update manuals
craddm Feb 11, 2026
46234eb
add tests of convex hull
craddm Feb 11, 2026
167b89f
Add filtering changes
craddm Feb 12, 2026
c190b2c
Merge pull request #152 from craddm/topoplot-convex-hull
craddm Feb 22, 2026
653be5a
Fix filtering and manual
craddm Feb 24, 2026
3fe897e
updated snapshots for tests
craddm Feb 24, 2026
01b28cb
merge develop in
craddm Feb 24, 2026
bcdf6f2
update snapshots
craddm Feb 24, 2026
6a229f6
fix typo
craddm Feb 24, 2026
fe2ff0c
update news.md
craddm Feb 24, 2026
2abf467
Merge pull request #153 from craddm/exploring-speedups
craddm Feb 24, 2026
1fc23eb
udpate snaps
craddm Feb 25, 2026
66ee785
whatever
craddm Feb 25, 2026
8ca7acc
fix manual entry
craddm Feb 25, 2026
b1487db
add filtering tests and fix some issues with window sizing
craddm Feb 25, 2026
e1b0aef
update snap
craddm Feb 26, 2026
e51d20d
add filtering comments
craddm Feb 26, 2026
76225a4
update manual
craddm Feb 26, 2026
50c20a6
Merge pull request #154 from craddm/filtering
craddm Feb 27, 2026
b501aee
add filter_response to pkgdown
craddm Feb 27, 2026
c8b5038
update website docs
craddm Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
118 changes: 59 additions & 59 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main]
pull_request:
branches: [main]

name: R-CMD-check

jobs:
R-CMD-check:
timeout-minutes: 30
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install hdf5 on mac
if: runner.os == 'macOS'
run: brew install hdf5

- name: Install XQuartz on macOS
if: runner.os == 'macOS'
run: brew install --cask xquartz

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main]
pull_request:
branches: [main]
name: R-CMD-check
jobs:
R-CMD-check:
timeout-minutes: 30
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- name: Install hdf5 on mac
if: runner.os == 'macOS'
run: brew install hdf5
- name: Install XQuartz on macOS
if: runner.os == 'macOS'
run: brew install --cask xquartz
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: eegUtils
Type: Package
Title: Utilities for Electroencephalographic (EEG) Analysis
Version: 0.8.0
Date: 2024-10-22
Version: 0.9.0.9000
Date: 2026-02-11
Authors@R: c(
person("Matt", "Craddock", role = c("aut", "cre"), email = "[email protected]"),
person("Matti", "Vuorre", role = "ctb", email = "[email protected]"),
Expand Down Expand Up @@ -39,7 +39,7 @@ Imports:
bslib
Depends:
R (>= 4.0.0)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
Suggests:
testthat,
vdiffr,
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export(erp_scalp)
export(events)
export(export_bva)
export(filter)
export(filter_response)
export(fit_glm)
export(fortify)
export(geom_channels)
Expand Down Expand Up @@ -323,7 +324,6 @@ importFrom(scales,squish)
importFrom(signal,decimate)
importFrom(stats,cor)
importFrom(stats,cov)
importFrom(stats,median)
importFrom(stats,nextn)
importFrom(stats,sd)
importFrom(tibble,as_tibble)
Expand Down
20 changes: 20 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# eegUtils 0.9.0.9000

### Function changes
- `topoplot()` now has a new interpolation option - `convex_hull`
- `eeg_filter()` on epoched data now filters each epoch independently.
- A warning is now issued if the FIR filter order equals or exceeds the epoch
length (in samples), since this would produce unreliable results.
- Improved edge handling for both FIR and IIR filters. Now uses **odd (anti-symmetric) reflected padding**
at signal boundaries instead of zero-padding. This matches the convention used
by SciPy's `filtfilt` and substantially reduces edge transients, particularly
for high-pass filters applied to signals with non-zero means.
- FIR coefficients now generated via `signal::fir1()`

### Internal changes
- New `prepare_filter()` helper consolidates shared validation/coefficient logic.
- New `fir_filter_signals()` and `iir_filter_signals()` replace the old run_fir() / run_iir_n().
- New `reflect_pad()` utility replaces zero-padding.
- Old helpers (`filt_kernel`, `spec_inv`, `select_window`, `fix_grpdelay`, `zero_vec`) removed.
- `future.packages = "eegUtils"` added to parallel worker calls.

# eegUtils 0.8.0

### Function changes
Expand Down
Loading