ENH: return last n sampleas as epoch
ENH: add picks param
Automatic box size estimation.

When creating layouts on the fly with `make_eeg_layout` and
`make_grid_layout`, an appropriate box size is now automatically
generated.
Added tests for layout generation
small fixes to comments
Added test for n_col parameter of `make_grid_layout`
doc fixes
!= --> is not
PEP8 fixes
more PEP8 fixes
even more PEP8 fixes. Changes padding parameter of `_box_size`
_box_size now uses scipy.spatial.distance.pdist

SciPy has an optimized function for computing pair-wise distances
between points. Make `_box_size` use it.
pep8 has no more complaints
whitespace around operators
Fix EEG electrode positions in EDF/BDF import.

When importing EDF/BDF files, an optional .htps file can be supplied to
provide electrode coordinates. This commit fixes the way these are
stored in the .info dictionary, so that functions such as
make_eeg_layout can use them.
Removed commented lines
make fit_sphere_to_headshape look for cardinal digitization points.

Currently, fit_sphere_to_headshape only takes digitazation points of
type 'extra' into account. It should first look for cardinal landmark
points and only if these are not found look for points of type 'extra'.
make `fit_sphere_into_headshape` work with both cardinal and extra points
removed unnecessary variable
Fixed input validation of `make_eeg_layout`

I fixed a typo on the input validation and added some unit tests
to check the input validation logic.