Skip to content

Ba_cleaning_optional

Douwe Horsthuis edited this page Feb 14, 2024 · 1 revision

This script is explained in depth here. When using the pop_clean_rawdata different filters and settings for the function it self impact the data heavily, specially since this function deletes both channels and continues data. This optional script will plot for you how much data and channels get rejected based on the settings you choose. As an example, while the default settings are 0.8 for channel correlation, and 20 for burst rejection. Using a 0.1hz and 45hz filter made us decide to set them to 0.75 and 45. The 0.05 difference cause us to loose 7 less participant and the as you can see in the plot below, the difference between 20 and 45 for the burst rejection "saves" us 36 participants. While this obviously comes at a cost related to cleanliness of the data, visualizing this might make the decision worth it.
cleaning data
Cleaning channels

**For more information on the pop_clean_rawdata function see their github or read more in this document

Back to the home page
Back to the A_merge_sets page
To the Bb_downs_filter_chaninfo_exclchan page

Clone this wiki locally