Version 0.20 (2020-03-27)#
Add current source density
mne.preprocessing.compute_current_source_density()to compute the surface Laplacian in order to reduce volume conduction in data by Alex Rockhill
Add support for computing resolution matrix to get point spread functions (PSF) and cross-talk functions (CTF) in
mne.minimum_norm.get_point_spread()by Olaf Hauk
Add keyboard functionality to interactive colorbar plotting TFRs by Stefan Repplinger
Add option to
mne.connectivity.spectral_connectivityto compute corrected imaginary PLV by Adonay Nunes
Add functions to calculate spatial information of NIRS channels
mne.preprocessing.nirs.short_channels()by Robert Luke
Add support for
reduce_rank=Truefor vector beamformers by Eric Larson
Allow returning vector source estimates from sparse inverse solvers through
pick_ori='vector'by Christian Brodbeck
Add the ability to
mne.channels.equalize_channels()to also re-order the channels and also operate on instances of
mne.time_frequency.CrossSpectralDensityby Marijn van Vliet
bordercontrols the value of the edge points to which topomap values are extrapolated.
border='mean'sets these points value to the average of their neighbours. By Mikołaj Magnuski
mne.preprocessing.annotate_movement()to annotate periods with head motion and
mne.preprocessing.compute_average_dev_head_t()to re-estimate the device to head transform with average head position during segments with acceptable head movement. by Adonay Nunes
mne.beamformer.make_dics()to reduce the rank of the leadfield first before then reducing the rank of the denominator of the beamformer formula for the inversion by Britta Westner and Eric Larson.
Fix a bug in
mne.MixedSourceEstimate.plot_surfacethat prevented plotting in latest PySurfer by Christian O’Reilly.
regularization, which was off by roughly a factor of a square root
units, which are now nAm instead of being arbitrary
explained variance and residuals, which were previously unavailable
force_equalin the case of loose orientations, which previously defaulted to
Truenow defaults to
False. Reapplying orientation priors at each iteration of the algorithm sufficiently preserves a smooth transition between loose=0. to loose=1. without compromising localization accuracy in testing.
mne.VectorSourceEstimate.normalto account for cortical patch statistics using
use_cps=Trueby Eric Larson
Unify behavior of
raw.info['meas_date']is None to make onsets absolute relative to
first_sampas they are when
raw.info['meas_date']is not None; i.e., you might need to do
raw.annotations.append(old_time + raw.first_time), by Eric Larson
Fix date reading before Unix time zero (1970 Jan 1) on Windows by Alex Rockhill.
Fix bug in
originwas not used during MEG or EEG data interpolation by Eric Larson. Old behavior can be achieved using
origin=(0., 0., 0.)for EEG and
origin=(0., 0., 0.04)for MEG, and the new default is
origin='auto', which uses a head-digitization-based fit.
Fix bug in
mne.preprocessing.mark_flatwhere acquisition skips were not handled properly, by Eric Larson
Fix TAL channel parsing (annotations) for EDF-D files by Clemens Brunner
Fix many bugs with plotting sensors overlaid on a head outline. All plotting is now done in head coordinates and scaled by
head_radius, which defaults to 0.095, by Eric Larson
Fix reading of cardinals in .htps files (identifier are int not strings) by Alex Gramfort
Fix IO of TFRs when event_id contain a / in one of the keys by Alex Gramfort
Fix bug in EDF(+) loading, filter values ignored by insufficient regex, by Demetres Kostas
Fix handling of missing values (NaNs) in
mne.time_frequency.psd_welchby Clemens Brunner
Fix support for multiple TAL (annotations) channels in BDF reader by Clemens Brunner
Improve error message when trying to load FieldTrip data from a cell array by Thomas Hartmann
mne.io.pick.get_channel_typesis now called
mne.io.pick.get_channel_type_constantsto better reflect its return values, by Daniel McCloy.
Bumped minimum requirements to fall 2017 versions by Eric Larson:
scikit-learn 0.19.1 (optional requirement)
pandas 0.21 (optional requirement)
layoutargument to topomap-related functions such as
mne.viz.plot_tfr_topomap()has been deprecated in favor of channel-position based flattening based on the
sphereargument, by Eric Larson.
mne.viz.plot_projs_topomap()and the related methods
mne.Evoked.plot_projs_topomap()now accept parameter
vlimto control the colormap, with keyword
'joint'computing the colormap jointly across all projectors of a given channel type, by Daniel McCloy.
mne.minimum_norm.cross_talk_functionby Alex Gramfort
mne.time_frequency.CrossSpectralDensity.pick_channels()by Marijn van Vliet
mne.Info.ch_namesby Marijn van Vliet
mne.preprocessing.ICA.detect_artifactsinstead by Richard Höchenberger