ENH/BUG: update default threshold for _compute_rank

@agramfort @Eric89GXL @mluessi FYI
I'm lost, that these values are correct is a precondition for reading the
values. The validity of what has been read follows from the tests that I
wrote. (e.g. would fail if you mistook one field for the other, etc)

2014-12-25 11:39 GMT+01:00 Alexandre Gramfort <notifications@github.com>:

> In mne/io/tests/test_maxfilter.py
> <https://github.com/mne-tools/mne-python/pull/1712#discussion-diff-22271478>
> :
>
> > +from mne import io
> > +from mne.io.constants import FIFF
> > +from nose.tools import assert_true, assert_equal
> > +
> > +base_dir = op.join(op.dirname(__file__), 'data')
> > +raw_fname = op.join(base_dir, 'test_chpi_raw_sss.fif')
> > +
> > +
> > +def test_maxfilter_io():
> > +    """test maxfilter io"""
> > +    raw = io.Raw(raw_fname)
> > +    sss_info, sss_ctc, sss_cal = read_maxfilter_info(raw_fname)
> > +
> > +    assert_true(sss_info['frame'], FIFF.FIFFV_COORD_HEAD)
> > +    assert_true(sss_info['in_order'] >= 5 and sss_info['in_order'] <= 11)
> > +    assert_true(sss_info['out_order'] <= 5)
>
> can't you just test that you have the good numerical values? 264 = SSS
> task 5 263 = SSS coord frame 4 265 = SSS origin 3 floats 266 = SSS in order
> 10 267 = SSS out order 2 268 = SSS nchan 306 269 = SSS components 128 ints
> 278 = Not explained 112 243 = HPI g limit 0.98 244 = HPI dist limit 0.005
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mne-tools/mne-python/pull/1712/files#r22271478>.
>