eelbrain.pipeline.MneExperiment.get

MneExperiment.get(temp, fmatch=False, vmatch=True, match=True, mkdir=False, make=False, **state)

Retrieve a formatted template

Parameters:
  • temp (str) – Name of the requested template.

  • fmatch (bool) – “File-match”: If the template contains asterisk (*), use glob to expand it. An IOError is raised if the pattern does not match exactly one file.

  • vmatch (bool) – “Value match”: Require existence of the assigned value (only applies for fields with stored values).

  • match (bool) – Do any matching (i.e., match=False sets fmatch as well as vmatch to False).

  • mkdir (bool) – If the directory containing the file does not exist, create it.

  • make (bool) – If a requested file does not exists, make it if possible.