Skip to content

Shlomit-Beker/Entrainment-ASD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASD Entrainment Analysis Code

Overview

This repository contains MATLAB code for preprocessing and analyzing EEG and behavioral data from a study on cortical entrainment in children with Autism Spectrum Disorder (ASD) and typically developing (TD) peers. The codes were used for the study published in: "Not Just Noise: Impaired Oscillatory Entrainment Reflects Reduced Temporal Flexibility in Autism". doi: https://doi.org/10.1101/2025.07.02.662876

Structure

  • preprocessing/: Preprocessing script (Preprocess_EEG_All.m) for EEG data.
  • analysis/: Scripts for ERP, frequency analysis, phase-behavior coupling, TRF models, and EEG-clinical correlations.
  • params/: Parameter definition files for different components.
  • triggers/: Trigger extraction scripts.
  • layout/: EEG layout file (64_lay.mat).
  • docs/: Original Readme and related documentation.

Main Scripts

  1. Preprocess_EEG_All.m — EEG preprocessing using FieldTrip.
  2. Run_Entrainment_Analyses.m — Calls functions for:
    • ERP analysis
    • Time-frequency and phase-locking analyses
    • Inactive mode
    • Behavior–EEG phase coupling
    • Temporal Response Function (TRF) modeling
    • Correlation with clinical measures

Dependencies

About

Codes used to analyze data in the manuscript: "Not just noise: Impaired Oscillatory Entrainment Reflects Reduced Temporal Flexibility in Autism"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors