cogpy.spectral.psd_utils

PSD utilities for TensorScope (v2.8.0).

Functions

compute_psd_window(signal, *, t_center, ...)

Compute PSD in a time window around t_center.

psd_to_db(psd, *[, ref])

Convert PSD to dB: 10 * log10(psd / ref).

stack_spatial_dims(data)

Stack (AP, ML) into channel if present.