save_derivative

save_derivative(inst: BaseRaw | BaseEpochs | Evoked, layout: BIDSLayout, pipeline: str = None, overwrite: bool = False, format: str = 'EDF', anonymize: bool = True, verbose=None)[source][source]

Save an intermediate data instance from a pipeline to a BIDS folder.

Parameters:
  • inst (Signal) – The data instance to save.

  • layout (BIDSLayout) – The BIDSLayout of the original data.

  • pipeline (str) – The name of the pipeline.

  • overwrite (bool) – If True (default False), overwrite the destination file if it exists.

  • format (str) – The format to save the data in. Defaults to EDF.

  • verbose (bool | str | int | None) – Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

  • anonymize (bool)

Examples using ieeg.io.save_derivative

Line noise filtering script

Line noise filtering script