Report generation¶
smoothing_steps
module-attribute
¶
smoothing_steps: int | None = None
Specifies the number of smoothing steps to use when morphing from individual subject
data to the average subject. See the smooth parameter of mne.compute_source_morph
for details.
Pipeline steps using this setting
The following steps are directly affected by changes to
smoothing_steps:
source/_99_group_average
report_evoked_n_time_points
module-attribute
¶
report_evoked_n_time_points: int | None = None
Specifies the number of time points to display for each evoked
in the report. If None, it defaults to the current default in MNE-Python.
Example
Only display 5 time points per evoked
report_evoked_n_time_points = 5
Pipeline steps using this setting
The following steps are directly affected by changes to
report_evoked_n_time_points:
sensor/_01_make_evokedsensor/_99_group_average
report_stc_n_time_points
module-attribute
¶
report_stc_n_time_points: int | None = None
Specifies the number of time points to display for each source estimates
in the report. If None, it defaults to the current default in MNE-Python.
Example
Only display 5 images per source estimate:
report_stc_n_time_points = 5
Pipeline steps using this setting
The following steps are directly affected by changes to
report_stc_n_time_points:
source/_05_make_inversesource/_99_group_average
report_image_format
module-attribute
¶
report_image_format: dict[
Literal["raster", "vector"], Literal["webp", "webp-lossy", "png", "svg"]
] = dict(raster="webp", vector="svg")
The formats used to store images embedded in the reports. The "raster" entry applies
to inherently pixel-based content (topographic map sliders, ICA properties, epochs
images, and similar) and can be "webp", "webp-lossy", or "png" — WebP produces the
smallest reports, but lossless WebP is considerably slower to encode than PNG, which can
make a difference on report-heavy runs; lossy WebP encodes about as fast as PNG and
still yields much smaller reports. The "vector" entry applies to line-art figures and
can additionally be "svg". Missing keys keep their default values.
Example
Trade larger reports for faster processing:
report_image_format = dict(raster="png")
Pipeline steps using this setting
The following steps are directly affected by changes to
report_image_format:
init/_01_init_derivatives_dirinit/_02_find_empty_roompreprocessing/_01_data_qualitypreprocessing/_02_head_pospreprocessing/_03_maxfilterpreprocessing/_04_frequency_filterpreprocessing/_05_regress_artifactpreprocessing/_06a1_fit_icapreprocessing/_06a2_find_ica_artifactspreprocessing/_06b_run_ssppreprocessing/_07_make_epochspreprocessing/_08a_apply_icapreprocessing/_08b_apply_ssppreprocessing/_09_ptp_rejectsensor/_01_make_evokedsensor/_02_decoding_full_epochssensor/_03_decoding_time_by_timesensor/_04_time_frequencysensor/_05_decoding_cspsensor/_06_make_covsensor/_99_group_averagesource/_01_make_bem_surfacessource/_04_make_forwardsource/_05_make_inversesource/_99_group_average
report_add_epochs_image_kwargs
module-attribute
¶
report_add_epochs_image_kwargs: dict[str, Any] | None = None
Specifies the limits for the color scales of the epochs_image in the report.
If None, it defaults to the current default in MNE-Python.
Example
Set vmin and vmax to the epochs rejection thresholds (with unit conversion):
report_add_epochs_image_kwargs = {
"grad": {"vmin": 0, "vmax": 1e13 * reject["grad"]}, # fT/cm
"mag": {"vmin": 0, "vmax": 1e15 * reject["mag"]}, # fT
}
Pipeline steps using this setting
The following steps are directly affected by changes to
report_add_epochs_image_kwargs:
preprocessing/_07_make_epochspreprocessing/_09_ptp_reject