Tb polhemus

This is WIP.

Adds function apply_dig_points to apply hpi, cardinal, and dig points to the Info.

Remove unnecessary import functions for np.loadtxt.

Needs test. Not ready for review
i could leave the _decimate_points function in its place and that fits
better. the point of the function was that there were two functions doing
the same thing that could be simplified into one. that same function is now
in a more accessible place.

if we want to drop the decimate arg and just leave the private one, we
could discuss it. I just figured that if anyone else had lots of place, it
would be handy to have the option.
same for the trans.

-teon


Teon Brooks, Pre-hD
NSF Fellow, Chateaubriand Fellow
PhD Candidate
Department of Psychology
New York University

On Fri, Dec 5, 2014 at 1:44 AM, Christian Brodbeck <notifications@github.com
> wrote:

> In mne/io/kit/kit.py:
>
> >          n_pts = len(hsp)
> >          if n_pts > KIT.DIG_POINTS:
> > -            hsp = _decimate_points(hsp, 5)
> > +            hsp = read_dig_points(hsp, decim=5)
>
> ok you just added that warning back in. However, see how mushing all
> computations into read_dig_points makes this weird? Nothing is read here.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mne-tools/mne-python/pull/1677/files#r21348314>.
>