ffrprep.reports.build_raw_section

ffrprep.reports.build_raw_section(raw, *, section_id, title, label=None, events_fpath=None)[source]

Build a section descriptor from a Raw object.

Wraps raw_qa() to produce waveform + PSD figures, encodes them as inline data URIs, and pairs them with a small summary table (sampling rate, duration, channel count). The returned dict is consumable by build_subject_report().