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.

  • others – State parameters.

Returns

formatted_string – The template temp formatted with current state values.

Return type

str