export.save_raw_to_set#

autoclean.io.export.save_raw_to_set(raw, autoclean_dict, stage='post_import', output_path=None, flagged=False)[source]#

Save continuous EEG data to file.

This function saves raw EEG data at various processing stages.

Parameters:
rawmne.io.Raw

Raw EEG data to save

autoclean_dictdict

Configuration dictionary

stagestr

Processing stage identifier (e.g., “post_import”)

output_pathOptional[Path]

Optional custom output path. If None, uses config

flaggedbool

Whether to save to flagged directory

Returns:
Path: Path

Path to the saved file (stage path)