eelbrain.pipeline.MneExperiment.make_report

MneExperiment.make_report(test, parc=None, mask=None, pmin=None, tstart=None, tstop=None, samples=10000, baseline=True, src_baseline=None, include=0.2, redo=False, **state)

Create an HTML report on spatio-temporal clusters

Parameters:
  • test (str) – Test for which to create a report (entry in MneExperiment.tests).

  • parc (str) –

    Run the test separately in each label of parc.

    Warning

    Results from spatio-temporal tests using parc are not corrected for multiple comparisons. You must manually correct for multiple comparisons based on the number of labels in parc before interpreting p-values.

  • mask (str) – Parcellation to use as anatomical mask in which to perform the test.

  • pmin (str) – Equivalent p-value for cluster threshold, or ‘tfce’ for threshold-free cluster enhancement.

  • tstart (float) – Beginning of the time window for the test in seconds (default is the beginning of the epoch).

  • tstop (float) – End of the time window for the test in seconds (default is the end of the epoch).

  • samples (int) – Number of samples used to determine cluster p values for spatio- temporal clusters (default 10,000).

  • baseline (bool | Tuple[float | None, float | None]) – Apply baseline correction using this period in sensor space. True to use the epoch’s baseline specification (default).

  • src_baseline (bool | Tuple[float | None, float | None]) – Apply baseline correction using this period in source space. True to use the epoch’s baseline specification. The default is to not apply baseline correction.

  • include (0 < scalar <= 1) – Create plots for all clusters with p-values smaller or equal this value.

  • redo (bool) – If the target file already exists, delete and recreate it. This only applies to the HTML result file, not to the test.

  • ... – State parameters.

See also

load_test

load corresponding data and tests