edges_analysis.gsdata.gsdata.GSData.add_flags

GSData.add_flags(filt: str, flags: ndarray | GSFlag | Path, append_to_file: bool | None = None)[source]

Append a set of flags to the object and optionally append them to file.

You can always write out a new file, but appending flags is non-destructive, and so we allow it to be appended, in order to save disk space and I/O.