Skip to content

Commit

Permalink
speed up the checking of the grad and elec structures (#1649)
Browse files Browse the repository at this point in the history
* ENH - improve and speed up the checking of the input data structure, especially for CTF headers with hdr.orig
* ENH - add chantype and chanunit to the output grad and elec to ensure that in ft_read_header these are passed to the high-level FT function. This speeds up subsequent checks of ft_dataype_sens
* ENH - speed up the detection of eeg/meg/nirs input by simply chjecking on elecpos/coilpos/optopos. The more elaborate check with ft_senstype is still there, but only used when really needed.
* ENH - remove the elec and grad structure to prevent some unnecessary low-level checks. See also #1551
* ENH - removed extra whitespace between lines of code, nothing functional
* FIX - enabled the persistent-variable check on the input again
  • Loading branch information
robertoostenveld committed Jan 21, 2021
1 parent 900cf78 commit 6637749
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 190 deletions.

0 comments on commit 6637749

Please sign in to comment.