A bug in 'pick_types' function for CTF dataset

External Email - Use Caution

Dears:

I am wondering whether 'mne.pick_types' has a bug for CTF dataset. When I use ?gradiometer? as parameter there is no gradiometer channels were selected (mne.pick_types(raw_data.info, meg='grad?)), while the 275 gradiometer channels could be selected by using the ?magnetometer? as parameter (mne.pick_types(raw_data.info, meg=?mag?)) as shown by the screenshot. I report this information please let me know if I misunderstood anything.

My system and MNE environment is shown below:

Platform: Darwin-18.7.0-x86_64-i386-64bit
Python: 3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
Executable: /anaconda3/envs/mne/bin/python
CPU: i386: 12 cores
Memory: 32.0 GB
mne: 0.19.dev0
numpy: 1.16.4 {blas=mkl_rt, lapack=mkl_rt}
scipy: 1.2.1
matplotlib: 3.1.0 {backend=MacOSX}
sklearn: 0.21.2
nibabel: 2.4.0
mayavi: 4.6.2 {qt_api=pyqt5, PyQt5=5.12.1}
cupy: Not found
pandas: 0.24.2
dipy: 0.16.0

Best regards
bo
bo.zhang at pku.edu.cn <mailto:bo.zhang at pku.edu.cn>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190906/0f78c26b/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 935676 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190906/0f78c26b/attachment-0001.png