Repository navigation
Tb kit - #475
Closed
teonbrooks wants to merge 33 commits into
Closed
Tb kit#475teonbrooks wants to merge 33 commits into
teonbrooks wants to merge 33 commits into
Conversation
Member
Author
|
Fix to #366 . |
Member
|
... does not look like it can be automatically merged. there seems to be a merhe conflict. |
Here is the beginning of a python implementation of mne_kit2fiff. It is very much a WIP. Major points to be worked on are: -channel coil transformation -channel unit vectors of coord_frame. -fix dev_head_t -creating a synthetic trigger channel FIX: dev_head_t, RM: excess classes, unneccesary methods Fixed the error in dev_head_t to give proper transformation matrix. Reduced the number of classes to three main ones: -sqd_params, RawKIT, coreg. Added stringdocs to all methods and classes ENH: layout Enhances some of the layout. Update to be done for docstrings to match style. PEP8 in progress. :) ADD: test files for troubleshooting and validation These are all the required files for creating a raw object. -sns.txt is the sensor locations for KIT-NYU system. -test.elp is the digitizer laser points from Polhemus. -test.hsp is the digitizer head shape from Polhemus. -test.sqd is the datafile acquired from the KIT-NYU system. -test_Ykgw.mat is a mat file containing the data extracted using the Yokogawa matlab toolkit. This is to check that the proper data is being extracted. -test_marker.txt is the marker coil position within the MEG. ENH: pep8 correction STY: update script
Update mne/bin/mne_kit2fiff.py Fix error.
ADD: synthetic channel, UPDATE: constants,
UPDATE: ch dict
RF: invert_transform DOC
ENH: apply transform function ENH: add transforms/coreg module with fit_matched_pts function
ENH: cleanup, docstrings FIX: kit2fiff dev-head coregistration ENH: cosmetics, RM: print
ENH: pep8 FIX: channel info, FIX: mne_kit2fiff command line tool
FIX: sensitivities, and loc ENH: file info ADD: test data
Coreg class now reads Polhemus data directly. Includes all digitization points. Fix info.dig dict.
Here is the beginning of a python implementation of mne_kit2fiff. It is very much a WIP. Major points to be worked on are: -channel coil transformation -channel unit vectors of coord_frame. -fix dev_head_t -creating a synthetic trigger channel FIX: dev_head_t, RM: excess classes, unneccesary methods Fixed the error in dev_head_t to give proper transformation matrix. Reduced the number of classes to three main ones: -sqd_params, RawKIT, coreg. Added stringdocs to all methods and classes ENH: layout Enhances some of the layout. Update to be done for docstrings to match style. PEP8 in progress. :) ADD: test files for troubleshooting and validation These are all the required files for creating a raw object. -sns.txt is the sensor locations for KIT-NYU system. -test.elp is the digitizer laser points from Polhemus. -test.hsp is the digitizer head shape from Polhemus. -test.sqd is the datafile acquired from the KIT-NYU system. -test_Ykgw.mat is a mat file containing the data extracted using the Yokogawa matlab toolkit. This is to check that the proper data is being extracted. -test_marker.txt is the marker coil position within the MEG. ENH: pep8 correction STY: update script Update mne/bin/mne_kit2fiff.py Fix error.
ADD: synthetic channel, UPDATE: constants,
UPDATE: ch dict ENH: add default to stim and stimthresh
FIX: kit2fiff dev-head coregistration ENH: cosmetics, RM: print
ENH: file info
Coreg class now reads Polhemus data directly. Includes all digitization points. Fix info.dig dict. FIX/ADD: reset_origin Adds reset_origin function to reorient points centered at mid-distance of peri-auricular points according to the mne manual, pg. 97. ENH: downsample based on KIT.DIG_POINTS FIX: ident, kind in dict
ENH: addresses the comments coreg is now a module of functions. kit has been condensed and stripped of methods; only relevant Raw atrributes are added to keep consistency. Problem to be resolved: there is a problem with deep copy. Currently there is a hack in place to deal with it. ENH: scipy norm instead of numpy FIX: bunch problem
ENH: channel names, command line tool, python ref Standardized channel names. ENH: added comments for consistency ENH: addresses all the comments made RM: sqd_params class ADD: get_sqd_params function, docstrings cosmetic changes
ENH: docstring
ENH: update fif files for test ENH: updated fif files for comparison So, the recently updated test_bin.py had problems loading. It may be a function of there being too few samples. This has one sec of recording. ENH: include the file that got away ENH: modified mrk file Found a way to have a smaller marker sqd file.
PEP8 ENH: cosmetic changes ENH fit_matched_pts: add tolerance parameter
ENH: remove unnecessary reading DOC cosmetics
Member
Author
|
Should be good to go now. |
Member
|
Tests pass here too |
Member
|
merged by rebase after squashing a few commits and updating what's new page. great job ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks @christianmbrodbeck for help with the rebase. This is a clean branch of the kit2fiff module.