Final analysis code update#4
Open
lraiff wants to merge 24 commits into
Open
Conversation
…g separate phase consistency notebook
bad commit, very bad, ignore changes here
adding .ds_store to gitignore and updating the commit filter to work on mac
for all subjects and conditions
also including a control variable to make it easier to choose what type code to use for epoching (ergo1 vs status)
to get the onset rid up against the consonant instead of noise, divide the alignment delay by 2. also fixing error in ffr analysis so that it epocs the filtered data
including details about clusters
deleting old file and making a new one with a new name because there were so many changes
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.
Big update which deletes the old analysis files and uploads new ones with different names. Doing it this way since there were so many changes.
Major update highlights:
bids_conversion.ipynb- event labels for every subject (except for 8 and 10 which had the same labels for both polarities so their Status events were unusable)erp_preprocessing_analysis.ipynb- motor subtraction, peak amplitude stats, re-vamp figure to just show waveform and spectrograms, also removed old analysis/plots about the trigger delays, latency, and powerffr_preprocessing_analysis.ipynb- removing unnecessary intermediate analysis not included in manuscript and erroneous plots, moved phase consistency to its own file since it has its own figureplot_phase_consistency.ipynb- moving ERP and FFR phase consistency calculation and plotting to its own file, including peak clustering and characterizationonset_latency_analysis.pyandonset_latency_ffr.py- the onset latency analysis for the FFR, both the simple GUI for peak selection and the statistics