could not find function "across."
error fixed (thanks @prattems)
- Added
chs_mean
method forpsd_list
objects. - Introduced experimental
read_fif()
function to read fif files created by MNE Python. - New
install_py_eeguana()
function to install the necessary Python packages for reading fif files.
- Improved behavior of
channel_dbl
andsample_int
classes. - Enhanced
annotate_events()
function to allow plotting even if there are no events.
- fix installation of the dependency tidytable.
- added
annotate_electrodes()
to add electrode labels to a topographic plot. (Previously this was done withgeom_text()
).
- fix of minor bug affecting eeg_artif_step(), when the number of samples in
window
was odd.
as_eeg_lst()
makeseeg_lst
objects created with previous versions of eeguana compatible with the current version.
- New features:
- The argument
.ref
ofeeg_rereference()
now allows "tidyselect".write_vhdr()
writes BrainVision 2.0 files (experimental).eeg_psd()
computes the power spectral density (PSD) of a en EEG signal (using only the Welch method for now).eeg_band_power()
computes power bands.na_omit()
removes NA values fromeeg_lst
objects.as_tidytable()
added.sampling_rate()
shows the sampling rate of an object.eeg_unsegment()
was added.
- Modifying channels with
channels_tbl()
is much faster now. - Signal filtering is slightly faster and uses the
gsignal
package. - BUGS:
- some brainvision files produced by eeglab couldn't be read now work
- DEPRECATIONS:
- The argument
.all_chs
ofeeg_events_to_NA
was deprecated in favor of the more flexible.n_chs
.
- The argument
- Breaking change:
_at
,_if
,_all
functions don't work anymore. Now one should use the newacross()
(oracross_ch()
) notation. If your code doesn't work anymore and you don't know how to fix it, please post it in https://github.com/bnicenboim/eeguana/discussions - Potential breaking change: when segments with repeated columns are joined, they use data.table notation (
i...
) rather than dplyr notation. This might affect thejoin
family andeeg_segment
. - dplyr-like functions get an
eeg_
prefix (e.g.,eeg_mutate
,eeg_filter
), they still work without the prefix (for now). - NEW FEATURES:
- filters have more options (including IIR, experimental).
- read eeglab set files (still experimental)
- documentation:
- more examples
- internal changes:
- removed dependency with
stringr
- changed internal structure of
eeg_lst
, the segments table is a data.table rather than a tibble and they depend ontidytable
- removed dependency with
- Bugs:
- weird dplyr filter behavior fixed #136
- Changes
plot_components()
behaves more similarly toplot_topo()
- BREAKING CHANGE
...
are always the second argument and most arguments require now a.
at the beginning: This should help to differentiate them from channels.
- Improvements
- New examples for ICA functions.
- Much faster mutate functions
- Better error messages for reading Brain Vision files @jaromilfrossard
scale
works properly for channels now
- Additions
- Gotchas & Pitfall vignette was added
- Bugs: tons of compatibility issues with dplyr 1.0
- Changes
- Signal processing functions added
sig_fft()
,sig_ifft()
. - Better print method for channels.
- More consistent events_tbl with obligatory .type and .description
- Signal processing functions added
- More unit testing.
- Bugs:
read_edf()
wasn't reading events from the status channel- fixed some inconsistencies with
.reference
argument
- Changes:
drop_incomplete_segments()
added.- More unit tests.
- Some minor bugs fixed.
- Changes:
- The introductory vignette (https://bnicenboim.github.io/eeguana/articles/intro.html) was slightly modified.
eeg_segment()
accepts unpaired events whenend
argument is used, and should be able to deal with duplicated triggers.eeg_artif_peak()
detect peaks in the EEG signal.eeg_ica_cor_tbl()
andeeg_ica_var_tbl
show the correlation of components (ICA) with EOG channels and their variance explained.eeg_ica_summary_tbl()
summarizeseeg_ica_cor_tbl()
andeeg_ica_var_tbl()
.
- Bugs:
events_tbl()
keep attributes.
- Changes
- New vignette that introduces the package here.
- FastICA was implemented in
eeg_ica()
. - Artifact detection functions in
eeg_artif_*()
. - Filters were greatly improved and checked, only FIR filters are supported for now, based on MNE.
- Better documentation (mostly Kate Stone).
- Easy access to the information of the different tables with
signal_tbl()
,events_tbl()
, andsegments_tbl()
. - Changes in the creation of
eeg_lst
objects. - Faster
as_tibble()
. as.data.table()
was added.- Renamed functions:
eeg_intervals_to_NA()
was renamed toeeg_events_to_NA()
.events()
was renamed toevents_tbl()
.plot_gg()
should be changed to 'ggplot(aes(x=.time, y=.value))'.summarize_all_ch(...)
should be changed tosummarize_at(channel_names(.),...)
.summarize_at_ch(...)
should be changed tosummarize_at(...)
.ch_filt_*()
functions were renamed toeeg_filt_*()
and they get a...
argument to select the relevant channels.ch_baseline()
was renamed toeeg_baseline()
.
- Bugs
- Events in Brain Vision version 1.0 file are now correctly read.
- Various minor bugs fixed.
- Changes
- There is a logo!
- Doi was added.
segment()
was renamed toeeg_segment()
downsample()
was renamed toeeg_downsample()
interpolate_tbl()
was renamed toeeg_interpolate_tbl()
plot_in_layout()
to place facets in the electrode layout was added.plot_topo()
has improved colors, and does "less",geom_contour
andgeom_text
need to be added.annotate_head()
was added to the plot functions.change_coord()
was added as an auxiliary function to change the coordinate system for topographic or layout plots.
- Bugs
- Various minor bugs fixed.
- Internal changes
- More tests were added.
- Changes
read_edf()
was added.
- Bugs
- Bug in
channel_names()
was fixed. - Bug #34 fixed.
- Bug in
- Internal changes:
- Better test structure.
- Better validation of objects.
- Changes
chs_fun()
to apply arbitrary functions to the channels.- Fieldtrip tutorial added as a vignette.
- Bugs
- Channels appear in the right order in plots.
- Other minor bugs.
- Changes
- ggplot2 theme improved.
- changed the default downsampling in plots.
- better handling of weird channel names.
segment()
accepts initial and final segments.summarize
adds a summarize_n column.events
function to visualize and edit events was added.- various filters were added.
- Bugs
ch_rereference
updates the relevant attributes.- bugs in various reading functions were fixed (int encoding issues).
mutate
recognize better channels.*_join
functions fixed.
- Signals table is now powered by data.table.
- Added a
NEWS.md
file to track changes to the package.