def _triage_meg_pick(ch, meg):
    if meg is True:
        return True
    elif ch['unit'] == FIFF.FIFF_UNIT_T_M:
        if meg == 'grad':
            return True
        elif meg == 'planar1' and ch['ch_name'].endswith('2'):
            return True
        elif meg == 'planar2' and ch['ch_name'].endswith('3'):
            return True
    elif (meg == 'mag' and ch['unit'] == FIFF.FIFF_UNIT_T):
        return True
    return False
Creates a new instance of this class.
dataset/ETHPy150Open mne-tools/mne-python/mne/io/pick.py/_triage_meg_pick--crossover with--dataset/ETHPy150Open brunobraga/termsaver/termsaverlib/screen/base/filereader.py/FileReaderBase.__init__