eelbrain.pipeline.MneExperiment.make_copy

MneExperiment.make_copy(self, temp, field, src, dst, redo=False)

Make a copy of a file to a new path by substituting one field value

Parameters:
temp : str

Template of the file which to copy.

field : str

Field in which the source and target of the link are distinguished.

src : str

Value for field on the source file.

dst : str

Value for field on the destination filename.

redo : bool

If the target file already exists, overwrite it.

See also

copy
Copy muliple files to a different root directory