Open sappelhoff opened 2 years ago
+1 for **kwargs.
ok for me.
Message ID: @.***>
Agreed, let's go with **kwargs
. I think there is no need to deprecate export_evokeds_mff
, we can just make it so that export_evoked
takes over the functionality (and people can transition to it easily/whenever) and we can remove it from the API docs.
I think we have implemented the export interfaces so I'll close, but feel free to reopen if I missed something @sappelhoff
Argh actually I think the inconsistency is still there, reopening. Sorry for the noise!
see https://github.com/mne-tools/mne-python/issues/10678#issuecomment-1139686322 and following 4 comments
In brief:
the problem
this is inconsistent, and we should clean that up / make a consistent choice before the module continues to grow.
IMHO, the current "MFF way" is not a good style and would lead to lots of confusing public functions, instead of the clean "trinity" of raw, epochs, evoked
.export
. Couldn't we solve this by allowing**kwargs
and documenting the kwargs that can be passed? Similar to how we do it in ICA when users pickpicard
orfastica
, etc.What are your opinions?