using the command line interface of mne

External Email - Use Caution

Hi Community,

I am interested in doing some of the continuous-time data (that is, before
epoching) pre-processing using the command line interface. I am hoping this
will be less time consuming as it will use the C libraries (?) compared to
using the python functions with the code.
Can you help me with the functions available? I see the link here
https://mne.tools/stable/generated/commands.html but got some doubts in the
underlying functionality when the options are used.

To start, I will like to do a bandpass filter of EEG data from 0.1 to 40
Hz. I see that there is the -filterorder option but does it use:
mne.filter.filter_data(data, Fs, l_freq, h_freq, picks=None,
                              filter_length='auto',
l_trans_bandwidth='auto',
                              h_trans_bandwidth='auto', n_jobs=1,
method='fir',
                              iir_params=None, copy=True, phase='zero',
                              fir_window='hamming', fir_design='firwin',
pad='reflect_limited', verbose=False)
If yes, then how can we specify the other arguments of the function,
especially, those related to phase delay.

Cheers,
Neeraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191218/3c358b7a/attachment.html

External Email - Use Caution

hi,

there is so far no command line tool for just filtering the data.

you're welcome to open an issue on the repo to ask for a feature request.

Alex

External Email - Use Caution

Hi Neeraj,

Note that the commands listed on the page you linked to do *not* use the C libraries. The C library commands have the form mne_* (e.g., mne_browse_raw). The commands on https://mne.tools/stable/generated/commands.html (of the form mne *, note the lack of underscore after mne) are bash commands that underlyingly call the *Python* libraries. The C libraries are installed separately, see here: https://mne.tools/stable/install/mne_c.html

-- dan
Daniel McCloy
http://dan.mccloy.info
Research Scientist
Institute for Learning and Brain Sciences
University of Washington

??? Original Message ???