eelbrain.pipeline.MneExperiment.format

MneExperiment.format(string, vmatch=True, **kwargs)

Format a string (i.e., replace any ‘{xxx}’ fields with their values)

Parameters:
  • string (str) – Template string.

  • vmatch (bool) – For fields with known names, only allow existing field names.

  • ... – State parameters.

Returns:

The template temp formatted with current state values.

Return type:

str