eelbrain.pipeline.MneExperiment.expand_template
- MneExperiment.expand_template(temp, keep=())
Expand all constant variables in a template
- Parameters:
temp (str) – Template or name of the template which should be expanded.
keep (container (implements __contains__)) – Names of the variables which should not be expanded.
- Returns:
formatted_temp – Template with all variables replaced by their values, except variables which have entries in field_values or in
keep
.- Return type: