save#

dpeeg.save(file: str | Path, eegdata: BaseData, compress: bool = False)[source]#

Archive eegdata into a file in ‘.egd’ format.

Parameters:
  • file (str, Path) – Filename where the eegdata will be saved, a ‘.egd’ extension will be appended to the filename if it does not already have one.

  • eegdata (eegdata) – An eegdata to be saved.

  • compress (bool) – If True, use standard ZIP compression.

Returns:

path – File save position.

Return type:

Path