ffrprep.reports.build_evoked_section¶
- ffrprep.reports.build_evoked_section(evoked, *, section_id, title, label=None, extra_summary=None, extra_figures=None)[source]¶
Build a section descriptor from an Evoked object.
Summary table includes the standard metadata plus two FFR-specific scalar metrics: RMS SNR over the 100-200 ms response window and average band power across 90-110 Hz over the same window (defaults matching
ffrprep.analysis.rms_snr()andffrprep.analysis.compute_power()).extra_summaryis folded into the summary table last, so caller- supplied keys override any same-named defaults (e.g. for surfacingcorr_stim_to_respscalars computed at the CLI layer where the BIDS events.tsv + stimulus files are accessible).extra_figuresis appended to the figures list after the built-inevoked_qaoutput; entries must already be section- figure dicts ({"title", "caption", "data_uri"}).