Skip to content

Final analysis code update#4

Open
lraiff wants to merge 24 commits into
mainfrom
cleaning-up-notebooks
Open

Final analysis code update#4
lraiff wants to merge 24 commits into
mainfrom
cleaning-up-notebooks

Conversation

@lraiff

@lraiff lraiff commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

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 power

ffr_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 figure

plot_phase_consistency.ipynb - moving ERP and FFR phase consistency calculation and plotting to its own file, including peak clustering and characterization

onset_latency_analysis.py and onset_latency_ffr.py - the onset latency analysis for the FFR, both the simple GUI for peak selection and the statistics

lraiff added 24 commits May 12, 2026 12:22
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant