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 (Optional[str]) – Run the test separately in each label of parc. Warning: for spatio-temporal tests, this does not properly correct for multiple comparisons.

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

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

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

  • tstop (Optional[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 (Union[bool, Tuple[Optional[float], Optional[float]]]) – Apply baseline correction using this period in sensor space. True to use the epoch’s baseline specification (default).

  • src_baseline (Union[bool, Tuple[Optional[float], Optional[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