update

update(filename: str | PathLike, channels: list[str], description: list[str] | str = None, status: str = 'good', verbose=None)[source][source]
update(inst: BaseRaw, layout: BIDSLayout, description: list[str] | str = None, verbose=None)
update(inst: BaseTFR, layout: BIDSLayout, description: list[str] | str = None, verbose=None)

Updates the files of a data instance with current metadata

Parameters:
  • filename (PathLike) – The path to the file to update.

  • channels (list[str]) – The channels to update.

  • description (list[str] | str, optional) – The description of the channels, by default None

  • status (str, optional) – The status of the channels, by default ‘good’