edges_analysis.gsdata.gsflag.GSFlag.from_file

classmethod GSFlag.from_file(filename: str | Path, filetype: str | None = None, **kw) Self[source]

Create a GSFlag instance from a file.

This method attempts to auto-detect the file type and read it.