cse110-lab1

Raiden's Profile Picture

Raiden Louie

Table of contents

My Motto

“One who thinks, thinks too much.” (Raiden Louie, 2026)

Technical skills

Projects

Code Snippet from our Power Spectral Density analysis tests

# Calculate PSD with 0.5s windows and 50% overlap
psds = epochs.compute_psd(
    method='welch', 
    n_fft=256,        # Keep n_fft at 256 for better frequency resolution
    n_per_seg=125,    # 0.5 seconds
    n_overlap=62,     # 0.25 seconds
    fmin=8, 
    fmax=30
)
psd_data = psds.get_data() # (Trials, Channels, Freqs)

Connect with me